Policy-driven Knowledge Selection and Response Generation for Document-grounded Dialogue

Longxuan Ma, Jiapeng Li, Mingda Li, Weinan Zhang, Ting Liu

TL;DR

This paper introduces PD-DGD, a framework that uses explicit dialogue policies—specifically "utterance functions" and "topic transfer intents"—to bridge the gap between finding the right information in a document and using it to write a natural response. By giving the model a strategic "roadmap" for how a conversation should flow, the authors achieved state-of-the-art performance across three major document-grounded dialogue benchmarks.

What Problem Does This Paper Address?

In Document-Grounded Dialogue (DGD), an AI agent must chat with a user by pulling relevant facts from a provided document (like a Wikipedia article). This involves two core challenges: Knowledge Selection (KS)—picking the right sentence from the text—and Response Generation (RG)—weaving that fact into a coherent reply.

Most current models treat these as "black box" processes. They use complex neural interactions to guess what’s relevant, but they lack an interpretable "why." For example, a model might pick a fact but fail to realize the user asked a question, resulting in an informative but socially awkward response. There is often a disconnect between the intent of the conversation and the selection of the knowledge.

Methods

The authors propose a Policy-driven Document-grounded Dialogue (PD-DGD) framework. The "policy" consists of two explicit signals:

  1. Utterance Function: The purpose of the turn (e.g., Question, Inform, Directive, Commissive).
  2. Topic Transfer Intent: How the topic moves (e.g., Mining the initial topic, Starting a new topic, Following a new topic).

The Architecture:

  • Policy Planner (BERT-based): This module takes the dialogue history and the document to perform two tasks simultaneously: selecting the relevant knowledge span and predicting the "policy" (intent and topic flow) for the next response.
  • Span Revision: Instead of just predicting start/end tokens, the model uses a "Span Revision" method that forces the selection to align with whole sentences, making the knowledge extraction more robust.
  • Generator (GPT-2 based): The generator receives the selected knowledge and the predicted policy. Crucially, it uses Policy-aware Bias Weighting—it adjusts its attention mechanism to lean more heavily on the document when the policy is "Inform" and more on the conversation history when the policy is "Question."
  • Joint Training: The system is fine-tuned using Reinforcement Learning (Policy Gradient) to ensure that the policy predictions actually lead to better, more human-like responses.

Datasets

The model was evaluated on three prominent DGD benchmarks:

  • Wizard-of-Wikipedia (WoW): Open-domain chats where one person has access to Wikipedia.
  • Holl-E: Dialogues centered around movie information.
  • Doc2Dial: A goal-oriented dataset based on technical manuals and government documents.

Because WoW and Holl-E lacked intent labels, the authors built and validated an automated DA Tagger (Dialogue Act) and Topic Intent Classifier to annotate these datasets for training.

Key Insights and Ideas

  • The "Aha" Moment for Knowledge Selection: The authors found that Topic Transfer Intent is a much stronger signal for selecting knowledge than Dialogue Acts. Knowing whether the speaker is sticking to the current topic or switching to a new one provides a clear filter for which part of a document to look at.
  • Interpretability: By predicting an explicit policy, the model provides a "receipt" for its behavior. If it picks a specific sentence, we can see if it did so because it intended to "start a new topic" or "provide information."
  • Knowledge vs. Context Balance: Not all responses need the same amount of "fact-dropping." The model learns that an "Inform" act requires heavy lifting from the external document, while a "Question" act should focus more on the existing dialogue context to remain coherent.
  • Span Revision Matters: Forcing the model to select full sentences (rather than arbitrary snippets of text) significantly improved the accuracy of knowledge selection, especially in complex documents.

Key Results

PD-DGD achieved State-of-the-Art (SOTA) results across the board:

  • Knowledge Selection: On the WoW "unseen" test set (topics the model never saw during training), PD-DGD improved selection accuracy (Hits@1) from the previous best of 25.4% to 29.7%.
  • Response Generation: The model outperformed competitive baselines like KnowledGPT and DukeNet in terms of BLEU-4, ROUGE-L, and F1 scores.
  • Human Evaluation: In blind tests, human judges rated PD-DGD higher in Fluency, Context Coherence, and Knowledge Relevance compared to other top-tier models.

Limitations and Future Work

  • Manual Bias Weights: While the model uses a policy to weight its attention, the specific weight values (e.g., giving "Inform" a weight of 2) were determined empirically. The authors tried to let the model learn these weights automatically, but the results weren't as stable.
  • Language Constraints: The study focused exclusively on English datasets. The authors note that the effectiveness of these policies in other languages (with different morphology) remains to be tested.
  • Document Structure: The current model treats documents as collections of sentences. Future work could explore more complex structures, like representing documents as knowledge graphs to better handle multi-hop reasoning.

Summary updated

BibTeX
@article{ma2024policy,
  author = {Longxuan Ma and Jiapeng Li and Mingda Li and Weinan Zhang and Ting Liu},
  title = {{Policy-driven Knowledge Selection and Response Generation for Document-grounded Dialogue}},
  journal = {ACM Trans. Information Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=dqIO5kQQq-},
}
Figure