Abstract
Knowledge-grounded dialogue (KGD) systems aim to generate informative responses by retrieving relevant external information. However, training these systems often relies on expensive human-annotated "gold" knowledge labels. This paper presents ELVM (Efficient Latent Variable Modeling), a framework that treats search queries as latent variables. By utilizing a modified Evidence Lower Bound (ELBO) objective and posterior distillation, ELVM learns to retrieve and utilize information through joint training without explicit knowledge supervision. Experimental results demonstrate that ELVM achieves new state-of-the-art performance on major benchmarks like Wizard of Wikipedia and QReCC while maintaining high computational efficiency.
Introduction
The primary challenge in Knowledge-Grounded Dialogue (KGD) is bridging the gap between conversational context and a vast external knowledge base. Traditional approaches typically employ a two-stage pipeline: a retriever to fetch relevant documents and a generator to produce the final response. Training such systems usually requires "gold knowledge" labels—annotations that link specific dialogue turns to the exact documents used. These labels are not only costly to produce but also often subjective and unavailable for many open-domain scenarios.
While latent variable modeling offers a potential solution by allowing the model to "guess" useful knowledge, previous implementations have been hindered by high computational costs, requirements for specialized differentiable retrievers, or significant training-inference gaps. ELVM addresses these issues by focusing on the natural language search query as the latent bridge, enabling the use of off-the-shelf retrievers and improving scalability.
Methodology
ELVM simplifies the KGD process by treating the search query as the latent variable. The architecture consists of a shared transformer model that functions as both a Query Generator and a Response Generator.
Latent Query Modeling and Posterior Distillation
Instead of marginalizing over all possible queries, ELVM employs subset sampling. During training, the model generates a set of unique queries, retrieves corresponding documents, and evaluates their utility in generating the target response.
The core innovation is a modified ELBO objective. The authors introduce an "approximated posterior"—a teacher distribution that identifies which sampled queries led to the most accurate responses. Through distillation, the query generator is trained to mimic this distribution, effectively learning "response-guided retrieval." This mechanism allows the response generator to provide feedback to the query generator, refining the search process over time.
Efficiency and Scalability
By utilizing a frozen, off-the-shelf retriever (such as BM25) and focusing on text-based queries, ELVM avoids the complexity of gradient propagation through massive document indices. This design choice makes the framework highly scalable and compatible with existing search infrastructure.
Experimental Setup
The framework was evaluated on two primary benchmarks:
- Wizard of Wikipedia (WoW): A dataset focused on topical discussions based on Wikipedia passages, featuring both "Seen" and "Unseen" test sets.
- QReCC: A large-scale dataset for open-domain conversational question answering.
The models were pre-trained (R2C2-PT) on a diverse collection of auxiliary datasets, including WizInt, MS MARCO, and PersonaChat, to establish a robust baseline for both retrieval and conversational capabilities.
Results and Discussion
ELVM established new state-of-the-art (SOTA) results across multiple metrics. On the Wizard of Wikipedia "Unseen" task, ELVM achieved a Perplexity (PPL) of 18.0 and a BLEU-4 score of 11.8, significantly surpassing previous benchmarks.
On the QReCC benchmark, ELVM outperformed previous leaders like QKConv, achieving an F1 score of 36.5. Human evaluations further corroborated these findings, with judges rating ELVM's responses as more relevant and fluent than those of competing models like KnowledGPT, particularly on topics not encountered during training.
Key Insights
- Query-Centric Latent Variables: Treating natural language queries as latent variables allows for "pluggable" compatibility with any search engine.
- Closing the Training-Inference Gap: By sampling queries from its own distribution during training, the model becomes robust to its own potential errors during real-world inference.
- Effective Scaling: Performance gains were consistent as the model size increased from 400M to 2.7B parameters.
Conclusion and Future Work
ELVM demonstrates that efficient, unsupervised learning of knowledge retrieval is possible through latent query modeling. While highly effective, the current approach has been primarily tested on Wikipedia-scale knowledge bases. Future research could explore its performance on noisier, web-scale datasets. Additionally, investigating more sophisticated sampling strategies or the application of this framework to massive "frontier" LLMs (100B+ parameters) remains an open area for exploration.
Summary updated