Reason first, then respond: Modular Generation for Knowledge-infused Dialogue

Leonard Adolphs, Kurt Shuster, Jack Urbanek, Arthur Szlam, Jason Weston

Introduction

Large Language Models (LLMs) are remarkably fluent but frequently suffer from "hallucinations"—the generation of factually incorrect information that appears plausible. While Retrieval-Augmented Generation (RAG) provides models with external documents to mitigate this, standard architectures often struggle to simultaneously reason over retrieved facts and maintain a natural conversational flow. This "one-shot" approach frequently leads to models ignoring evidence or conflating details from multiple sources. To address this, the Knowledge to Response (K2R) framework proposes a modular decomposition of the dialogue task: first generating a factual knowledge sequence, then crafting a response grounded in that sequence.

The K2R Framework

The K2R architecture breaks the generation process into two distinct, interpretable steps:

  1. The Knowledge Model: This module processes the dialogue context to generate an intermediate "knowledge sequence," such as a factual summary or a set of key terms.
  2. The Response Model: This module takes the original context and the generated knowledge sequence to produce the final conversational output.
The K2R framework decomposes dialogue into knowledge prediction and response generation, allowing for the integration of specialized QA models.

Key Innovations

  • Modular Plug-and-Play: The framework allows researchers to swap the Knowledge Model for specialized, pre-trained Question Answering (QA) systems (like T5-FiD) without retraining the dialogue component. This effectively transforms accurate but "laconic" QA models into engaging conversationalists.
  • Confidence-Score Conditioning: To manage potential errors in the knowledge phase, the authors introduced a control variable (0-10) that allows the system to tune how much the response model should trust the predicted knowledge.
  • Unsupervised Learning: For datasets lacking explicit knowledge labels, K2R can be trained to predict noun phrases extracted from target responses as an intermediate reasoning step.

Experimental Evaluation

The researchers evaluated K2R across several diverse benchmarks, including Wizard of Wikipedia (WoW) for knowledge-grounded discussion, OpenQA-NQ for conversationalizing short-form QA, and LIGHT for common-sense reasoning in fantasy settings.

Results and Impact

K2R demonstrated significant improvements in factual grounding and interpretability. By forcing the model to "think" before it "speaks," the framework reduces the likelihood of the model ignoring retrieved evidence or generating generic "safe" responses.

Human evaluation results comparing BART, RAG DPR, and K2R across consistency, engagement, knowledgeability, and hallucination rates.

As shown in the human evaluation metrics, K2R achieved a dramatic reduction in hallucination rates. On the Wizard of Wikipedia task, K2R's hallucination rate dropped to 7%, a 56% relative reduction compared to the 16% rate of the standard RAG DPR baseline. Furthermore, K2R outperformed baselines on the "Knowledge F1" metric (29.2% vs 26.1%), indicating superior utilization of retrieved facts.

Conclusion and Future Work

The K2R framework provides a path toward more reliable AI dialogue by separating factual reasoning from linguistic expression. This modularity not only reduces errors but also enhances interpretability, as developers can pinpoint whether a failure occurred during knowledge retrieval or response generation. While K2R still inherits some general LLM limitations, such as occasional self-contradiction, its success in zero-shot settings and its ability to reduce hallucinations mark a significant step forward for knowledge-infused AI.

Summary updated

BibTeX
@inproceedings{adolphs2022reason,
  author = {Leonard Adolphs and Kurt Shuster and Jack Urbanek and Arthur Szlam and Jason Weston},
  title = {{Reason first, then respond: Modular Generation for Knowledge-infused Dialogue}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.findings-emnlp.527},
}
Figure