NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Knowledge Selection for Knowledge-Grounded Dialogues

Weiwei Sun, Pengjie Ren, Zhaochun Ren · DOI

TL;DR

This paper introduces GENKS, a novel generative approach for selecting relevant knowledge snippets in dialogue systems. By treating knowledge selection as a sequence generation task and explicitly modeling interactions within and between dialogue and knowledge, GENKS significantly improves both knowledge selection accuracy and response quality, setting new state-of-the-art benchmarks.

What Problem Does This Paper Address?

Open-domain dialogue agents aim to provide informative and engaging conversations. Knowledge-Grounded Dialogues (KGD) enhance this by incorporating external knowledge, but effectively selecting the right piece of knowledge is crucial. Existing methods often treat knowledge selection as a classification problem, independently labeling snippets as relevant or irrelevant. This approach overlooks the inherent relationships between different knowledge snippets (intra-knowledge interaction) and the dynamic interplay between the dialogue history and the knowledge (dialogue-knowledge interaction). These limitations make it difficult to understand the context-dependent meaning of snippets and can lead to suboptimal knowledge selection, ultimately impacting the quality of the generated responses.

Methods

The core innovation of GENKS is its generative approach to knowledge selection. Instead of classifying snippets, GENKS learns to generate unique identifiers for each relevant snippet. This is achieved using a sequence-to-sequence Transformer model (specifically BART).

Key methodological contributions include:

  • Generative Knowledge Selection: GENKS frames knowledge selection as generating identifiers, allowing it to implicitly capture intra-knowledge interactions through the Transformer's self-attention mechanism. This helps resolve ambiguity in snippets by considering their context within the larger knowledge base.
  • Hyperlink Mechanism: To explicitly model dialogue-knowledge interactions, GENKS introduces a "hyperlink" mechanism. This involves annotating dialogue utterances with identifiers and titles of relevant knowledge snippets, creating a direct link that the model can leverage.
  • Joint Optimization: GENKS unifies knowledge selection and response generation into a single generative model. This allows for mutual enhancement between the two tasks, improving overall efficiency and performance.
  • Serialization: Both the dialogue context and knowledge passages are serialized into a sequence format, incorporating task prompts and speaker information, to be fed into the Transformer model.

Datasets

The authors evaluated GENKS on three established KGD datasets:

  • Wizard of Wikipedia (WoW): An open-domain dataset using Wikipedia passages as background knowledge. It includes "seen" and "unseen" test sets to evaluate performance on familiar and new topics.
  • Holl-E: Focuses on the movie domain, using plots, comments, and reviews as knowledge. It has single and multi-reference test sets.
  • CMU_DoG: Also movie-domain focused, with workers discussing movies based on background knowledge.

Key Insights and Ideas

  • Generative approach is key: Shifting from classification to generation for knowledge selection unlocks the ability to model complex interactions that were previously ignored.
  • Interactions matter: Explicitly modeling both intra-knowledge (within snippets) and dialogue-knowledge (between dialogue and knowledge) interactions leads to significant performance gains, especially in challenging scenarios like unseen topics or deeper conversations.
  • Hyperlinks provide explicit connections: The hyperlink mechanism proves effective in guiding the model to understand the relevance of knowledge to the ongoing dialogue.
  • Joint modeling is efficient: Combining knowledge selection and response generation into a single model streamlines the process and allows for better mutual learning.
  • Unseen topics are a strong test: GENKS's ability to outperform classification models on unseen topics highlights its advantage in understanding novel information.

Key Results

  • State-of-the-art performance: GENKS achieves new state-of-the-art results on knowledge selection accuracy and response generation quality across the WoW, Holl-E, and CMU_DoG datasets.
  • Significant improvements on unseen topics: GENKS outperforms a BART classification model by up to 8.1% on unseen topics in WoW.
  • Robustness in multi-turn dialogues: GENKS maintains high accuracy as conversations deepen, showing an average of 10% improvement over BART classification in the last three turns.
  • Reduced hallucinations: GENKS demonstrates better controllability and interpretability, generating fewer hallucinations compared to SOTA end-to-end models.
  • Efficiency: GENKS is more efficient than previous pipeline methods and comparable to end-to-end models like RAG, while benefiting from explicit knowledge selection.

Limitations and Future Work

  • Modular modeling efficiency: The paper acknowledges that the modular modeling of passage reranking might reduce overall efficiency.
  • Limited human evaluation: Human evaluation was conducted on only one dataset (WoW).
  • English-centric: The effectiveness of GENKS has only been verified on English datasets.

Future work directions include:

  • Exploring more efficient passage reranking techniques.
  • Extending human evaluation to more datasets.
  • Investigating generative knowledge selection for conversational recommendation systems.
  • Adapting GENKS to other languages.

Summary updated

BibTeX
@inproceedings{sun2023generative,
  author = {Weiwei Sun and Pengjie Ren and Zhaochun Ren},
  title = {{Generative Knowledge Selection for Knowledge-Grounded Dialogues}},
  booktitle = {EACL (Findings)},
  year = {2023},
  doi = {10.18653/v1/2023.findings-eacl.155},
}
Figure