Introduction
Document-grounded dialogue (DGD) systems aim to generate informative responses by leveraging external knowledge sources, such as Wikipedia. However, a persistent challenge in DGD is maintaining a coherent "dialogue flow." Traditional models often treat each conversational turn as an isolated retrieval task, ignoring the logical progression of human discourse. This leads to "choppy" interactions where the AI jumps erratically between unrelated facts.
CorefDiffs addresses this by modeling knowledge as a dynamic flow. It captures both the internal structure of documents through co-reference and the relationships between multiple documents, ensuring that transitions between topics feel natural and grounded.
Methodology: Modeling the Knowledge Flow
The CorefDiffs framework introduces two primary innovations: the Multi-Document Co-Referential Graph (Coref-MDG) and a Differential Linearization technique.
Coref-MDG (Multi-Document Co-Referential Graph)
To move beyond flat document representations, the authors construct a heterogeneous graph that captures complex relationships:
- Topic Nodes: Represent documents, linked by word overlap or external relations from WikiData.
- Knowledge Nodes: Represent individual sentences within a document.
- Co-reference Edges: These edges link sentences that share co-referential mentions (e.g., "Star Wars" and "the film"). This structure allows the model to track how information threads through a text, mimicking human cognitive tracking of subjects.
Differential Linearization and Architecture
While standard models look at historical knowledge, CorefDiffs introduces Differential Linearization. This technique calculates the "knowledge difference" (the "diff") between consecutive turns. By analyzing how information changes—using element-wise operations between current candidates and historical representations—the model learns to recognize patterns of transition. This helps the system decide whether to "deep dive" into a current topic or "pivot" to a new one.
The overall architecture consists of three stages:
- Local Association: Using Transformers to encode dialogue history and candidate knowledge.
- Structural Propagation: Employing a Residual Graph Attention Layer (RES-RGAT) to spread information across the Coref-MDG without over-smoothing.
- Linearization: Applying the "diff" sequence to predict the next best piece of knowledge.
Experimental Evaluation
The model was rigorously tested on four major benchmarks: Wizard of Wikipedia (WoW), Holl-E, MultiDoc2Dial, and CMU-DoG. These datasets cover a range of scenarios, from open-domain Wikipedia-based chats to goal-oriented multi-document navigation.
Key Results
CorefDiffs achieved a new state-of-the-art (SOTA) in knowledge selection:
- WoW (Test Seen): Reached 42.4% accuracy, a significant improvement over the previous SOTA of 32.9%.
- Generalization: Maintained high performance on unseen topics (41.4% on WoW Test Unseen), demonstrating the robustness of the graph-based approach.
- Response Quality: Improved Unigram-F1 and Bigram-F1 scores in generation tasks, confirming that better knowledge selection directly enhances response accuracy and human-likeness.
Insights and Discussion
The success of CorefDiffs highlights several critical aspects of conversational AI:
- Co-reference is Essential: Linking sentences via co-reference is more effective for dialogue flow than simple entity matching.
- The Power of "Diff": Modeling the direction and velocity of information shifts provides sharper features for selection than static history alone.
- Synergy: Topic selection and knowledge selection are mutually beneficial; understanding document relationships improves sentence-level accuracy.
Limitations and Future Work
Despite its performance, CorefDiffs has limitations. In real-world applications, the model lacks access to "gold" user labels and must rely on its own historical choices. Additionally, the computational complexity of multi-document graph propagation is higher than simpler matching models. Future research will explore more complex reasoning paths and strategies for proactive AI initiative in conversations.
Summary updated