Affiliation:
1. Beijing Institute of Technology, China
2. Huazhong University of Science and Technology, China
3. Beijing University of Technology, China
Abstract
Coarse-grained response selection is a fundamental and essential subsystem for the widely used retrieval-based chatbots, aiming to recall a coarse-grained candidate set from a large-scale dataset. The dense retrieval technique has recently been proven very effective in building such a subsystem. However, dialogue dense retrieval models face two problems in real scenarios: (1) the multi-turn dialogue history is re-computed in each turn, leading to inefficient inference; (2) the index storage of the offline index is enormous, significantly increasing the deployment cost. To address these problems, we propose an efficient coarse-grained response selection subsystem consisting of two novel methods. Specifically, to address the first problem, we propose the
H
ierarchical
D
ense
R
etrieval. It caches rich multi-vector representations of the dialogue history and only encodes the latest user’s utterance, leading to better inference efficiency. Then, to address the second problem, we design the
D
eep
S
emantic
H
ashing to reduce the index storage while effectively saving its recall accuracy notably. Extensive experimental results prove the advantages of the two proposed methods over previous works. Specifically, with the limited performance loss, our proposed coarse-grained response selection model achieves over 5x FLOPs speedup and over 192x storage compression ratio. Moreover, our source codes have been publicly released.
1
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Science Applications,General Business, Management and Accounting,Information Systems
Reference71 articles.
1. Siqi Bao, H. He, Fan Wang, and Hua Wu. 2020. PLATO: Pre-trained dialogue generation model with discrete latent variable. In ACL.
2. Sparks of artificial general intelligence: Early experiments with GPT-4;Bubeck Sébastien;ArXiv,2023
3. Sequential matching model for end-to-end multi-turn response selection;Chen Q.;ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP),2019
4. Contextual fine-to-coarse distillation for coarse-grained response selection in open-domain conversations;Chen Wei;ArXiv,2021
5. David R. Cheriton. 2019. From doc2query to docTTTTTquery. https://api.semanticscholar.org/CorpusID:208612557