Retrieval-free Knowledge Injection through Multi-Document Traversal for Dialogue Models

Rui Wang, Jianzhu Bao, Fei Mi, Yi Chen, Hongru Wang, Yasheng Wang, Yitong Li, Lifeng Shang, Kam-Fai Wong, Ruifeng Xu

Introduction

In the field of conversational AI, equipping dialogue models (DMs) with factual knowledge typically follows two paradigms: Retrieval-Augmented Generation (RAG) or Retrieval-Free knowledge injection. While RAG systems are effective, they suffer from high inference latency and require extensive hand-annotated data. Conversely, retrieval-free models, which store knowledge within their parameters, often struggle with "stiff" conversations and limited topic transitions.

Researchers from the Harbin Institute of Technology and Huawei Noah’s Ark Lab address these challenges with KiDG (Knowledge-intensive Dialogues Generation). This framework automatically transforms static knowledge documents into high-quality, multi-turn simulated dialogues, allowing models to "remember" facts without external lookups during inference.

Methodology: The KiDG Framework

The KiDG framework employs a three-stage process to generate synthetic training data that mimics natural human conversation flow.

  1. Aspect Graph (AG) Construction: For a given document, sentences are treated as nodes. Semantic similarity (calculated via BERTScore) determines the edges, representing how different aspects of a topic relate.
  2. Aspect-based Topic Graph (ATG) Construction: To facilitate topic transitions, KiDG links disparate documents using web hyperlinks, knowledge graph relations, and semantic word vectors.
  3. Multi-Document Traversal (MDT): A weighted random walk algorithm traverses the ATG, simulating a human-like progression from deep-diving into one topic to transitioning to a related one.
  4. Dialogue Inpainting: The resulting knowledge sequence is processed by a BART-based inpainting model to create a natural back-and-forth dialogue.
The KiDG framework: from graph construction to multi-document traversal and dialogue simulation.

The KiDial Dataset

The framework was used to produce KiDial, a large-scale simulated dialogue dataset. It was released in three scales: Small (36K dialogues), Base (751K), and Large (3.75M). The Base and Large versions leverage a massive Chinese encyclopedia, demonstrating the framework's scalability and its ability to handle diverse domains.

Experimental Results

The researchers evaluated models enhanced with KiDial on the KdConv benchmark. The results demonstrate that training on structured, simulated transitions significantly improves model performance.

  • State-of-the-Art Retrieval-Free Performance: Models like BART and CDialGPT trained on KiDial-Small outperformed existing retrieval-free baselines.
  • Competitive with Retrieval-Augmented Models: Remarkably, KiDial-enhanced models achieved performance metrics comparable to complex retrieval-augmented systems (e.g., BART+DPR) while maintaining the low latency of a retrieval-free architecture.
  • Zero-Shot Capabilities: KiDial-trained models showed superior performance in zero-shot settings, indicating a robust internalisation of knowledge rather than simple pattern matching.
Performance comparison of retrieval-free, retrieval-based, and ground-truth knowledge models on the KdConv benchmark.

Conclusion

The KiDG framework represents a significant step toward efficient, knowledge-intensive dialogue models. By focusing on the logical flow of information and topic transitions during the data generation phase, KiDG allows models to achieve high-fidelity factual recall without the overhead of retrieval systems. Future work will focus on narrowing the stylistic gap between synthetic and natural human speech.

Reference: Wang, R., et al. (2023). Retrieval-free Knowledge Injection through Multi-Document Traversal for Dialogue Models. Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (ACL 2023).

Summary updated

BibTeX
@inproceedings{wang2023retrieval,
  author = {Rui Wang and Jianzhu Bao and Fei Mi and Yi Chen and Hongru Wang and Yasheng Wang and Yitong Li and Lifeng Shang and Kam-Fai Wong and Ruifeng Xu},
  title = {{Retrieval-free Knowledge Injection through Multi-Document Traversal for Dialogue Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-long.364},
}
Figure