Abstract
We study knowledge-grounded dialogue generation with pre-trained language models. Instead of pursuing new state-of-the-art on benchmarks, we try to understand if the knowledge stored in parameters of the pre-trained models is already enough to ground open domain dialogues, and thus allows us to get rid of the dependency on external knowledge sources in generation. Through extensive experiments on benchmarks, we find that by fine-tuning with a few dialogues containing knowledge, the pre-trained language models can outperform the state-of-the-art model that requires external knowledge in automatic evaluation and human judgment, suggesting a positive answer to the question we raised.
Introduction
Traditional open-domain dialogue systems often struggle to maintain topical depth or provide factual information. To address this, researchers typically employ knowledge-grounding, where a model retrieves relevant snippets from an external source, such as Wikipedia, to inform its response. However, this approach introduces complexity: it requires sophisticated retrieval architectures, depends on the quality of external sources, and increases computational overhead.
This paper investigates a fundamental alternative: Do we even need external sources? Given that models like GPT-2 are trained on massive, diverse datasets, we hypothesize that significant knowledge is already "packed" into the model's weights. We explore whether fine-tuning can unlock this latent internal knowledge to create simpler, more flexible dialogue agents that do not rely on external retrieval during inference.
Methodology
We utilize GPT-2 (345M parameters) as a backbone and evaluate several variants:
- DialoGPT: A version of GPT-2 pre-trained on Reddit dialogues to capture conversational dynamics.
- GPT-2_finetune: The standard OpenAI GPT-2 model fine-tuned on knowledge-grounded dialogue benchmarks.
- DialoGPT_finetune: DialoGPT fine-tuned on the same benchmarks.
The core experiment involves training these models on dialogue datasets without providing access to external knowledge passages during the generation phase. This forces the models to rely entirely on internalized parameters. We compare these against specialized baselines, such as the Transformer Memory Network (TMN) and the Disentangled Response Decoder (DRD), which utilize explicit external knowledge.
Experimental Setup
The study utilizes three major benchmarks for knowledge-grounded dialogue:
- Wizard of Wikipedia (Wizard): Conversations where one participant has access to Wikipedia articles.
- CMU Document Grounded Conversations (CMU_DoG): Dialogues focused on the movie domain.
- Topical-Chat (TC): Conversations covering diverse topics using Wikipedia and news articles.
Test sets are split into "Seen" (topics appearing in training) and "Unseen" (entirely new topics) to evaluate generalization capabilities.
Evaluation
Automatic Metrics
Experimental results demonstrate that fine-tuned pre-trained language models (PLMs) consistently outperform retrieval-based baselines. On the Wizard of Wikipedia (Test Seen) benchmark, GPT-2_finetune achieved a Perplexity (PPL) of 15.0, significantly outperforming the state-of-the-art DRD model's 19.4.
Human Evaluation
In blind human evaluations, fine-tuned PLMs were rated higher in fluency and coherence than retrieval-based baselines. Notably, on the Wizard "Test Seen" set, judges found that DialoGPT_finetune exhibited relevant knowledge in 74.6% of its responses, nearly matching the performance of models that had direct access to external text.
Discussion and Analysis
- Fine-tuning as a Trigger: While zero-shot models like the base DialoGPT often produce generic responses, fine-tuning on a small set of knowledge-heavy dialogues acts as a trigger. It teaches the model to query its own parameters for factual information rather than just predicting the next likely word in a casual context.
- Soft Associative Memory: Unlike external retrieval which provides "hard" facts, PLMs offer a "soft" associative memory. This integration allows for more fluent and coherent generation because the knowledge is natively embedded in the language generation process.
- Generalization: Due to their massive pre-training, PLMs often generalize better to "Unseen" topics than specialized models trained on narrower datasets.
Limitations and Future Work
Despite their strengths, PLMs face a "glue" problem where they may combine disparate true facts into nonsensical or "hallucinated" sentences. They also struggle with factual precision regarding specific dates or locations (e.g., incorrect birth years). Furthermore, internal knowledge lacks source attribution, which is critical for trust. Future research may explore hybrid systems that use internal knowledge for fluency and external retrieval for high-stakes factual verification.
Summary updated