Multi-Source Multi-Type Knowledge Exploration and Exploitation for Dialogue Generation

Xuanfan Ni, Hongliang Dai, Zhaochun Ren, Piji Li

Abstract

Large Language Models (LLMs) frequently encounter issues with hallucinations and generic responses in open-domain dialogue. This paper presents KnowEE (Knowledge Exploration and Exploitation), a framework designed to enhance LLM performance by explicitly prompting the exploration and exploitation of five knowledge types: emotion, topic, persona, event, and world knowledge. By retrieving relevant exemplars from external datasets, KnowEE guides LLMs to generate responses that are significantly more coherent, informative, and grounded. Evaluations across multiple benchmarks show that KnowEE outperforms standard zero-shot and few-shot approaches.

Introduction

Open-domain dialogue systems must navigate a complex landscape of factual information and social context. While modern LLMs possess extensive internal knowledge, they often fail to retrieve or apply it consistently, leading to "hallucinations" or contradictory statements. For example, a model might fail to recognize that "Lu Xun" and "Zhou Shuren" refer to the same individual if the conversational context is ambiguous, as shown in Figure 1.

Figure 1: Motivational example illustrating how standard LLMs can fail on identity-related queries and how explicit knowledge activation resolves these conflicts.

To address this, the authors propose the KnowEE framework, which mimics human conversational intelligence by integrating multiple context types—such as the speaker's emotional state, the current topic, and relevant world facts—to maintain high-quality dialogue.

Methods

The KnowEE framework consists of two primary phases: Knowledge Exploration and Knowledge Exploitation.

Knowledge Exploration

In the first phase, the system identifies the specific knowledge types required for a given dialogue context. It utilizes five external datasets as knowledge sources: GoEmotions (emotion), DailyDialog (topic), Persona-Chat (persona), ATOMIC (event), and Wizard of Wikipedia (world knowledge). A SentenceTransformer retrieves the most semantically relevant samples from these sources. These samples serve as in-context learning prompts to guide the LLM in generating specific knowledge labels for the current conversation.

Knowledge Exploitation

In the second phase, the generated labels are injected back into the dialogue context using two strategies based on the granularity of the information:

  • Utterance-level Fine-grained Knowledge Injection (FgKI): Emotion, event, and world knowledge are woven into recent utterances to provide immediate context.
  • Dialogue-level Coarse-grained Knowledge Injection (CgKI): Topic and persona information are treated as global background context for the entire conversation.
Figure 2: The KnowEE framework architecture, detailing the flow from multi-turn dialogue history through knowledge exploration to final response generation.

Results and Discussion

KnowEE was evaluated against several strong baselines, including OPT-13B, ChatGLM-6B, and BlenderBot, across four benchmarks: EmpatheticDialogues (ED), DailyDialog (DD), Persona-Chat (PC), and OpenDialKG (ODKG).

Automatic metrics showed that KnowEE consistently achieved the lowest Perplexity (PPL) and highest diversity scores. For instance, on the ED dataset, KnowEE-CgKI achieved a PPL of 19.04, significantly outperforming the Flan-T5-XXL backbone (39.53). Human evaluations further confirmed that KnowEE produces more coherent, informative, and fluent responses.

A key insight from ablation studies was that emotional knowledge is the most critical factor; its removal caused the most significant drop in performance. This suggests that understanding the "vibe" of a conversation is often more critical for human-like dialogue than factual accuracy alone. Furthermore, the framework proved model-agnostic, enhancing the performance of even state-of-the-art models like ChatGPT by reducing hallucinations and improving persona consistency.

Conclusion

The KnowEE framework demonstrates that explicit knowledge prompting can effectively mitigate common LLM failures in dialogue generation. By structuring the exploration and exploitation of multi-type knowledge, KnowEE produces more grounded and engaging conversations. Future work will focus on optimizing the computational efficiency of the retrieval process and exploring parameter-efficient tuning methods to integrate these capabilities more deeply into model architectures.

Summary updated

BibTeX
@inproceedings{ni2023multi,
  author = {Xuanfan Ni and Hongliang Dai and Zhaochun Ren and Piji Li},
  title = {{Multi-Source Multi-Type Knowledge Exploration and Exploitation for Dialogue Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.771},
}
Figure