Difference-aware Knowledge Selection for Knowledge-grounded Conversation Generation

Chujie Zheng, Yunbo Cao, Daxin Jiang, Minlie Huang

Abstract

Knowledge-grounded dialogue systems often struggle with maintaining coherent topic transitions, frequently resulting in repetitive or disjointed responses. We present DiffKS (Difference-aware Knowledge Selection), a novel framework that explicitly models the "difference" between candidate knowledge and previously utilized facts to guide conversation flow. By capturing these transitions, DiffKS improves knowledge selection accuracy and generates more informative, human-like responses, particularly in unseen topic domains.

Introduction

Knowledge-grounded conversation generation requires models to engage in dialogue while referencing external information, such as Wikipedia. A critical challenge in this field is knowledge selection: identifying the most relevant fact from a large pool of candidates at each turn.

Existing approaches typically fall into two categories: non-sequential models that ignore dialogue history, and sequential models that consider history implicitly but fail to capture the explicit transition or "delta" between facts. This often leads to models that either repeat themselves or jump abruptly between unrelated topics. The authors argue that the difference between facts is a crucial signal; DiffKS aims to find the "Goldilocks zone" of knowledge transitions to ensure both relevance and progression.

Methods

The proposed DiffKS framework addresses these issues through three primary components:

  1. Encoders: Standard Bi-directional Gated Recurrent Units (BiGRUs) represent both the dialogue context ($c^\tau$) and candidate knowledge sentences ($k_i^\tau$).
  2. Difference Operator: The core innovation is an explicit difference operator. To compare a candidate fact ($y$) with previously selected facts ($x$), the model computes a difference vector: $$Diff(x, y) = F([x - y; x \odot y])$$ where $F$ is a fully connected layer, and the input is a concatenation of the element-wise subtraction and multiplication of the vectors.

  3. Selection Variants: The model implements two selection strategies:

  4. Fused Selection: Integrates context and difference information into a single scoring function.
  5. Disentangled Selection: Uses independent Contextual and Differential Selectors. The Contextual Selector focuses on relevance to the current turn, while the Differential Selector evaluates the logic of the transition from previous facts. The final score is the sum of both.
Overview of the DiffKS architecture, showing the integration of knowledge and context encoders with the selection and response decoder modules.

The selection process is further detailed in the difference-aware module, which balances relevance to the current turn with the logical progression from previous turns.

Detailed view of the Difference-aware Knowledge Selection module, highlighting the interaction between contextual and differential selectors.

Experimental Setup

The model was evaluated on two major benchmarks:

  • Wizard of Wikipedia (WoW): A dataset where "wizards" chat using Wikipedia snippets. It includes Test Seen (topics appearing in training) and Test Unseen (entirely new topics) to test generalization.
  • Holl-E: A dataset based on movie reviews where responses are often modified or copied from background documents.

Key Results

DiffKS significantly outperformed state-of-the-art baselines like SLKS and PostKS across multiple metrics:

  • Knowledge Selection Accuracy (ACC): On WoW Unseen, DiffKS achieved 19.7% accuracy, a significant jump over SLKS's 14.7%.
  • Generation Quality: The model showed consistent improvements in BLEU-4 and ROUGE-2 scores, indicating more fluent and factually grounded responses.
  • Human Evaluation: In head-to-head comparisons, human judges preferred DiffKS over baselines for both Naturalness and Appropriateness, particularly noting its ability to avoid repetitive loops.

Discussion and Future Work

A key insight from this work is that the "delta" between facts is a signal of how a conversation evolves. Interestingly, DiffKS performed exceptionally well on the WoW Unseen dataset, suggesting that while topics change, the patterns of how humans transition between facts are somewhat universal and can be learned.

Future work includes:

  • Structured Knowledge: Applying this "difference-aware" logic to structured knowledge graphs.
  • History Window Optimization: Moving beyond simple arithmetic averages for multiple previous turns toward learned weighted attention mechanisms.
  • Computational Efficiency: Optimizing the explicit comparison process for real-time, large-scale deployments.

Summary updated

BibTeX
@inproceedings{zheng2020difference,
  author = {Chujie Zheng and Yunbo Cao and Daxin Jiang and Minlie Huang},
  title = {{Difference-aware Knowledge Selection for Knowledge-grounded Conversation Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.findings-emnlp.11},
}
Figure