Abstract
Document-grounded dialogue (DGD) systems aim to generate informative responses by leveraging external knowledge sources. A critical challenge in these systems is knowledge selection—identifying the most relevant information from a document given the current conversational context. While previous research has explored multi-granularity representations of dialogue history, the potential of the response-in-progress as a query signal has been largely overlooked. This paper introduces a Multi-granularity Document Information Selection (MDIS) module that analyzes the generated response at both word and phrase levels. By utilizing "semantic units," the model more effectively bridges the gap between the evolving response and the source document. Experimental results on the CMU-DoG and Wizard of Wikipedia datasets demonstrate that this approach significantly improves response informativeness and knowledge selection accuracy.
Introduction
In the field of Document-Grounded Dialogue (DGD), models are tasked with synthesizing responses that are both contextually relevant to a conversation history and factually grounded in an external document, such as a Wikipedia article. The primary "bottleneck" in this process is knowledge selection: determining which specific snippet of a potentially long document is relevant at any given moment in the conversation.
Traditional approaches have focused on refining the representation of the dialogue history to improve selection. However, the authors of this study argue that the response currently being generated provides a powerful, yet underutilized, signal. As a model decodes a response, the words already produced offer a direct indication of what information should follow. However, relying solely on individual words can be limiting. A word-level focus often misses the broader intent captured in phrases, leading to suboptimal knowledge retrieval.
Methodology: Multi-Granularity Document Information Selection (MDIS)
The proposed MDIS module, built upon a BART architecture, addresses this limitation by treating the response-in-progress as a hierarchical query. The core innovation is the division of the generated response into "semantic units" (SUs), which represent phrases or concepts rather than isolated tokens.
Semantic Unit Division
The model employs two distinct strategies for identifying these units:
- Static Semantic Units (SSU): This method uses fixed-size sliding windows (n-grams of size 2, 3, or 4) to aggregate word meanings. It is particularly effective in scenarios where document knowledge is sparse.
- Dynamic Semantic Units (DSU): This method utilizes a self-attention mechanism to calculate internal correlation scores between words. It dynamically identifies the n-gram with the highest correlation starting from a specific word, effectively "discovering" natural phrases within the text.
As illustrated in the figure above, capturing the "essence" of a phrase like "didn't want to" allows the model to find matching concepts in a document, such as "refuses to," much more effectively than looking at the word "want" in isolation.
Dual-Level Selection and Gated Fusion
The MDIS module performs document selection twice: once using word-level representations and once using semantic unit-level representations. A gated fusion mechanism then learns to weigh these two levels of information. If a phrase provides a clearer semantic signal than a single word, the gate assigns more weight to the semantic unit-level selection. The resulting fused representation is then fed into the decoder to predict the subsequent word.
Experimental Results
The MDIS model was evaluated on two benchmark datasets: CMU-DoG (movie descriptions) and Wizard of Wikipedia (WoW).
Performance Metrics
The proposed models (Ours-SSU and Ours-DSU) consistently outperformed strong baselines such as DoHA and HHKS across several metrics:
- Automated Metrics: On the CMU-DoG dataset, the DSU-based model achieved a BLEU-4 score of 21.79, surpassing DoHA's 20.26. On the WoW-seen dataset, the SSU-based model reached a BLEU-4 of 8.67 compared to DoHA's 8.17.
- Knowledge Selection: Improvements in Net Word overlap (NW) and Doc-BLEU indicated that the model was more accurately selecting words from the source document that matched the ground truth.
- Human Evaluation: Judges rated the multi-granularity models higher in terms of fluency and relevance to both the conversation and the source document.
A key finding was that the density of knowledge in the dataset influenced the optimal SU strategy. Static units performed better on the sparse CMU-DoG dataset, while Dynamic units excelled on the knowledge-dense WoW dataset, suggesting that dense knowledge requires more flexible phrase detection.
Conclusion and Future Work
This research highlights the importance of the response-in-progress as a structured source of context in DGD. By leveraging multi-granularity representations, the MDIS module effectively bridges the semantic gap between generated text and external knowledge.
However, the approach introduces computational overhead. The model must re-evaluate semantic units at each decoding step, resulting in a time complexity of O(t²) relative to the response length. Future work will focus on optimizing the integration of semantic units to reduce training and inference time, and exploring the application of this multi-granularity approach to other knowledge-intensive sequence generation tasks.
Summary updated