Skip to main content
QUICK REVIEW

[Paper Review] Knowledge-Grounded Dialogue Generation with Pre-trained Language Models

Xueliang Zhao, Wei Wu|arXiv (Cornell University)|Oct 17, 2020
Topic ModelingComputer Science58 references5 citations
TL;DR

This paper proposes KnowledGPT, a knowledge-grounded dialogue generation model that integrates a BERT-based knowledge selection module with a pre-trained language model (GPT-2) to handle long, redundant knowledge inputs under token constraints. By jointly optimizing knowledge selection and response generation in an unsupervised manner using unlabeled dialogues, the model achieves state-of-the-art performance on two benchmarks, outperforming prior methods in both automatic metrics and human evaluation.

ABSTRACT

We study knowledge-grounded dialogue generation with pre-trained language models. To leverage the redundant external knowledge under capacity constraint, we propose equipping response generation defined by a pre-trained language model with a knowledge selection module, and an unsupervised approach to jointly optimizing knowledge selection and response generation with unlabeled dialogues. Empirical results on two benchmarks indicate that our model can significantly outperform state-of-the-art methods in both automatic evaluation and human judgment.

Motivation & Objective

  • To address the challenge of integrating long, redundant external knowledge into pre-trained language models constrained by maximum sequence length.
  • To overcome the limitations of existing knowledge-grounded dialogue models that rely on expensive human-annotated knowledge selection or are incompatible with pre-trained models.
  • To develop an unsupervised, end-to-end framework that jointly optimizes knowledge selection and response generation using only unlabeled dialogues.
  • To improve response quality by selecting relevant knowledge snippets before generation, reducing noise and enhancing coherence and factual relevance.

Proposed method

  • Introduces a knowledge selection module based on BERT that selects relevant knowledge spans from long, redundant knowledge inputs based on dialogue context.
  • Treats knowledge selection as a sequence prediction task, enabling the use of pre-training techniques and dynamic selection during inference.
  • Employs a two-stage training strategy: first, pseudo ground-truth knowledge is generated via heuristic rules; second, knowledge selection and response generation are jointly fine-tuned using reinforcement learning and curriculum learning.
  • Uses a joint optimization objective that alternates between maximizing likelihood on generated responses and improving knowledge selection via feedback from the response model.
  • Implements a termination criterion using T_max, which limits the number of selected knowledge tokens to balance recall and noise.
  • Leverages the pre-trained GPT-2 for response generation while using the knowledge selection module to filter and compress knowledge inputs to fit within model context length.

Experimental results

Research questions

  • RQ1Can an unsupervised, end-to-end framework jointly optimize knowledge selection and response generation without requiring human-annotated knowledge selection data?
  • RQ2How does joint optimization of knowledge selection and response generation improve dialogue quality compared to separate training or strong baselines?
  • RQ3What is the impact of the knowledge selection module in reducing noise from redundant knowledge inputs in long-form dialogues?
  • RQ4How does the choice of T_max (maximum number of selected knowledge tokens) affect the trade-off between response quality and knowledge recall?
  • RQ5To what extent can pseudo ground-truth knowledge from heuristics enable effective joint training when real annotations are unavailable?

Key findings

  • KnowledGPT significantly outperforms state-of-the-art methods on both automatic and human evaluation metrics across two benchmarks: Wizard of Wikipedia and CMU_DoG.
  • On the Wizard of Wikipedia test seen set, KnowledGPT achieves a response F1 score of 28.0, surpassing SKT (26.8) and DRD (25.4), with lower perplexity (17.2) than GPT-2 trunc (19.2).
  • Human evaluation shows KnowledGPT is superior to baselines in both context coherence and knowledge relevance, with substantial inter-annotator agreement (kappa ≥ 0.6).
  • The ablation study confirms that the pseudo ground-truth stage is crucial for performance on Wizard, where context and knowledge are strongly correlated.
  • Increasing T_max improves performance up to a point, but beyond optimal values, F1 scores drop due to increased noise, indicating a trade-off between recall and quality.
  • Joint optimization and curriculum learning are effective: removing either stage leads to performance degradation, confirming the value of end-to-end training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.