Uni-Encoder: A Fast and Accurate Response Selection Paradigm for Generation-Based Dialogue Systems
Chiyu Song, Hongliang He, Haofei Yu, Pengfei Fang, Leyang Cui and, Zhenzhong Lan

TL;DR
Uni-Encoder introduces a novel response ranking paradigm for dialogue systems that combines the accuracy of Cross-Encoder with the efficiency of Poly-Encoder, achieving state-of-the-art results with faster inference.
Contribution
The paper proposes the Uni-Encoder paradigm, which encodes context once and all candidates simultaneously, improving efficiency while maintaining high ranking accuracy.
Findings
Achieves new state-of-the-art results on four benchmark datasets.
Improves R10@1 by 2.9% on Ubuntu V2 dataset.
Provides approximately 4X faster inference speed.
Abstract
Sample-and-rank is a key decoding strategy for modern generation-based dialogue systems. It helps achieve diverse and high-quality responses by selecting an answer from a small pool of generated candidates. The current state-of-the-art ranking methods mainly use an encoding paradigm called Cross-Encoder, which separately encodes each context-candidate pair and ranks the candidates according to their fitness scores. However, Cross-Encoder repeatedly encodes the same lengthy context for each candidate, resulting in high computational costs. Poly-Encoder addresses the above problems by reducing the interaction between context and candidates, but with a price of performance drop. In this work, we develop a new paradigm called Uni-Encoder, that keeps the full attention over each pair as in Cross-Encoder while only encoding the context once, as in Poly-Encoder. Uni-Encoder encodes all the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSpeech and dialogue systems · Topic Modeling · Context-Aware Activity Recognition Systems
