Knowledge-Grounded Dialogue with Reward-Driven Knowledge Selection

Shilei Liu, Xiaofeng Zhao, Bochao Li, Feiliang Ren

TL;DR

Knoformer is a reinforcement learning-based dialogue model that improves response informativeness by intelligently selecting multiple pieces of external knowledge without requiring manual "ground-truth" labels. By using the quality of the generated response as a reward signal, it achieves state-of-the-art performance on major knowledge-grounded conversation benchmarks.

What Problem Does This Paper Address?

Open-domain chatbots often suffer from "safe response" syndrome—producing generic, uninformative replies like "I don't know" or "That's interesting." Knowledge-grounded dialogue aims to fix this by providing models with external textual information (e.g., Wikipedia snippets).

However, two major hurdles remain:

  1. Selection Strategy: Most existing models either pick only the single "best" piece of knowledge (potentially missing relevant context) or try to use all available knowledge (which introduces significant noise and computational overhead).
  2. Label Scarcity: Training a knowledge selector usually requires human-annotated labels indicating exactly which piece of knowledge was used for a specific response. These labels are expensive and difficult to obtain at scale.

Methods

The authors introduce Knoformer, which treats knowledge selection as a sequential decision-making problem solved via Reinforcement Learning (RL).

  • Recurrent Selection: Instead of a one-shot choice, Knoformer selects knowledge pieces one by one. The first choice is based on the dialogue history; subsequent choices are based on the history plus previously selected knowledge.
  • Reward-Driven Learning: To bypass the need for manual labels, the model uses the perplexity (PPL) of the generated response as a reward signal. If a selected piece of knowledge helps the model generate a response that closely matches the ground-truth target, the selector receives a positive reward.
  • Weak Supervision: To stabilize early training, the authors add a "weak" supervision loss using TF-IDF similarity between the candidate knowledge and the target response for the first selection step.
  • Joint Optimization: The dialogue generation module (based on BART) and the knowledge selector are optimized jointly, allowing the selector to adapt to the generator's specific needs.
The architecture of Knoformer showing the iterative selection and reward process.

Datasets

The model was evaluated on two primary benchmarks:

  • Wizard-of-Wikipedia (WoW): A dataset where one speaker has access to Wikipedia to inform their side of the conversation. It includes "Seen" topics (topics present in training) and "Unseen" topics (to test generalization).
  • Holl-E: A dataset focused on document-grounded dialogue, specifically movie reviews and plots.

Key Insights and Ideas

  • More is (Sometimes) Better: The paper demonstrates that selecting multiple pieces of knowledge significantly outperforms single-knowledge selection. However, there is a "sweet spot." As shown in the hyperparameters table, the optimal number of selections varies by dataset (e.g., 6 for WoW Seen vs. 2 for Holl-E).
  • The Noise Threshold: Figure 3 illustrates a critical finding: performance improves as more knowledge is selected until it hits a plateau. Beyond a certain point, adding more knowledge actually hurts performance because the "noise" from irrelevant snippets begins to interfere with the generation process.
  • RL as a Label Substitute: The success of the PPL-based reward proves that the internal "fluency" and "predictability" of a model can serve as a proxy for relevance, effectively automating the training of selectors in low-resource settings.
Hyperparameters used across different datasets, showing varying selection limits.

Key Results

Knoformer achieved new state-of-the-art (SOTA) results across both datasets:

  • Wizard-of-Wikipedia: On the "Seen" test set, Knoformer reached an F1 score of 27.4, outperforming the previous best model, KnowledGPT (26.2).
  • Holl-E: It showed a massive jump in performance, achieving an F1 of 39.5, compared to 36.3 for the PIPM baseline.
  • Human Evaluation: In qualitative tests, human annotators rated Knoformer's responses as more contextually coherent and fluent than those from baseline models.

Limitations and Future Work

  • Computational Cost: The recurrent selection mechanism requires multiple passes through the encoder, which is more computationally intensive than single-step selection.
  • Dependence on Ground-Truth for Training: While it doesn't need knowledge labels, the RL reward still depends on having a ground-truth response during training. Applying this to purely unsupervised or "in-the-wild" settings remains a challenge.
  • Fixed Selection Bound: The current model uses a pre-defined upper bound ($o$) for knowledge selection. A more flexible "early stop" mechanism that allows the model to decide exactly when it has enough information could be a promising future direction.

Summary updated

BibTeX
@inproceedings{liu2021knowledge,
  author = {Shilei Liu and Xiaofeng Zhao and Bochao Li and Feiliang Ren},
  title = {{Knowledge-Grounded Dialogue with Reward-Driven Knowledge Selection}},
  booktitle = {NLPCC},
  year = {2021},
  url = {https://openreview.net/forum?id=W_V6R8aRyYp},
}
Figure