Two are Better than One: An Ensemble of Retrieval- and Generation-Based Dialog Systems
Yiping Song, Rui Yan, Xiang Li, Dongyan Zhao, Ming Zhang
TL;DR
This work tackles open-domain dialog by integrating retrieval and generation into a single ensemble. A retrieval system first extracts a best-matching reply $r^*$ for a query $q$, and a biseq2seq generator uses both $q$ and $r^*$ to produce a new candidate $r^+$, which is then post-reranked against $r^*$ to deliver the final response. The key contributions are the introduction of the biseq2seq model, the post-reranking mechanism, and the demonstration that the ensemble consistently surpasses its individual components in both human judgments and BLEU-based metrics, with substantial gains in user-sensible, substance-rich replies. This approach advances practical open-domain chat by leveraging complementary strengths of retrieval and neural generation, offering a robust path to higher-quality, more engaging conversational systems.
Abstract
Open-domain human-computer conversation has attracted much attention in the field of NLP. Contrary to rule- or template-based domain-specific dialog systems, open-domain conversation usually requires data-driven approaches, which can be roughly divided into two categories: retrieval-based and generation-based systems. Retrieval systems search a user-issued utterance (called a query) in a large database, and return a reply that best matches the query. Generative approaches, typically based on recurrent neural networks (RNNs), can synthesize new replies, but they suffer from the problem of generating short, meaningless utterances. In this paper, we propose a novel ensemble of retrieval-based and generation-based dialog systems in the open domain. In our approach, the retrieved candidate, in addition to the original query, is fed to an RNN-based reply generator, so that the neural model is aware of more information. The generated reply is then fed back as a new candidate for post-reranking. Experimental results show that such ensemble outperforms each single part of it by a large margin.
