Introduction
Open-domain dialogue systems often struggle with two primary issues: blandness and a lack of factual depth. While large-scale pre-trained language models (LLMs) like DialoGPT have significantly improved conversational fluency, they frequently fail when discussions require specific external facts, often reverting to generic responses like "I don't know."
This paper addresses the "conflict of capacity" inherent in these systems. While external knowledge sources like Wikipedia are vast, LLMs have strict input length constraints (typically around 1024 tokens). Simply concatenating all available external text is infeasible. The authors propose KnowledGPT, a framework designed to intelligently select the most relevant external information to ground responses, even when training on datasets that lack explicit labels indicating which facts were used by human speakers.
The KnowledGPT Framework
KnowledGPT integrates external knowledge into the generation process through two primary components:
- Context-Aware Knowledge Encoder: Utilizing a BERT backbone, this module encodes the interaction between the conversation history and individual sentences within an external knowledge document.
- Sequential Knowledge Selector: This module, based on an LSTM, treats knowledge selection as a sequence prediction task. It dynamically decides which sentences to retain based on the evolving context, allowing the model to pick non-contiguous but relevant facts from across a long document.
Unsupervised Joint Optimization
A significant challenge in knowledge-grounded dialogue is the lack of "knowledge labels" in standard datasets. To overcome this, the authors developed a three-stage unsupervised training strategy:
- Pseudo Ground-Truth Construction: Initial "correct" knowledge sentences are identified based on their semantic similarity to the actual human response in the training data.
- Reinforcement Learning (RL): The selector is refined using a policy-gradient method. The reward signal is derived from how effectively the GPT-2 generator can produce the target response using the selected knowledge.
- Curriculum Learning: To stabilize training, the model follows a curriculum. It begins by learning from "easy" pseudo-labels and gradually transitions to the more complex task of optimizing based on its own internal selections.
Experimental Results
KnowledGPT was evaluated on two major benchmarks: Wizard of Wikipedia (WoW) and CMU Document Grounded Conversations (CMU DoG). The model achieved new state-of-the-art (SOTA) performance across both.
On the CMU DoG dataset, KnowledGPT reached an F1 score of 13.5, a substantial improvement over previous models like DRD (10.8) and vanilla GPT-2 (10.8). Similar gains were observed on the Wizard of Wikipedia "Test Unseen" split, where it achieved an F1 of 20.5.
Human evaluations further corroborated these automatic metrics. Judges rated KnowledGPT higher in both Knowledge Relevance and Context Coherence, indicating that the model successfully utilizes external facts to produce more sensible and engaging dialogue.
Conclusion
KnowledGPT demonstrates that even powerful pre-trained models benefit significantly from explicit knowledge grounding. By employing a joint optimization strategy of reinforcement and curriculum learning, the framework effectively bridges the gap between massive external knowledge bases and the limited input capacity of LLMs. Future work may focus on integrating the retrieval process directly into the pipeline and exploring dynamic stopping criteria for knowledge selection.
Summary updated