BERT-BC: A Unified Alignment and Interaction Model over Hierarchical BERT for Response Selection

Zhenfei Yang,Byron M. Yu,Yuan Cao,Daling Wang,Ge Yu,Shi Feng
DOI: https://doi.org/10.21203/rs.3.rs-3156776/v1
2023-01-01
Abstract:Abstract Recently, we have witnessed a significant performance boosting for dialogue response selection task achieved by Cross-Encoder based models. However, such models directly feed the concatenation of context and response into the pre-trained model for interactive inference, ignoring the comprehensively independent representation modeling of context and response. Moreover, randomly sampling negative responses from other dialogue contexts is simplistic, and the learned models have poor generalization capability in realistic scenarios. In this paper, we propose a response selection model called BERT-BC that combines the representation-based Bi-Encoder and interaction-based Cross-Encoder. Three contrastive learning methods are designed for the Bi-Encoder to align context and response to obtain the better semantic representation.Meanwhile, according to the alignment difficulty of context and response semantics, the harder samples are dynamically selected from the same batch with minimal cost and sent to Cross-Encoder to enhance the model's interactive reasoning ability.Experimental results show that BERT-BC can achieve state-of-the-art performance on three benchmark datasets for multi-turn response selection.
What problem does this paper attempt to address?