Enhanced Knowledge Selection for Grounded Dialogues via Document Semantic Graphs

Sha Li, Mahdi Namazifar, Di Jin, Mohit Bansal, Heng Ji, Yang Liu, Dilek Hakkani-TurarXiv 2022 · DOI

TL;DR

Researchers from UIUC and Amazon Alexa AI have moved beyond treating background documents as simple "bags of sentences" for AI chatbots. By transforming documents into Document Semantic Graphs—which link concepts across sentences using coreference and semantic roles—their model achieves significantly better knowledge selection and generates more coherent, contextually aware responses, especially on topics the model hasn't seen before.

Abstract

Knowledge-grounded dialogue systems often treat background documents as unstructured "bags of sentences," ignoring the semantic relationships that connect information across sentence boundaries. This paper introduces Document Semantic Graphs (DSG), a representation that links concepts using Abstract Meaning Representation (AMR) and coreference resolution. By employing an Edge-Aware Graph Attention Network (EGAT), the proposed model can navigate these graphs to select the most relevant knowledge. Experimental results on the HollE and Wizard of Wikipedia datasets demonstrate significant improvements in knowledge selection accuracy and response quality, especially for unseen topics.

The Problem: Semantic Blindness in Dialogue

Open-domain dialogue models frequently struggle with "hallucinations" or generic responses. While providing background documents helps, most current systems treat these documents as independent sentences. This approach leads to semantic blindness, where the model fails to understand how sentences relate (e.g., linking "Rango" in one sentence to "he" in the next). Furthermore, forcing a model to pick a single "best" sentence creates a bottleneck that hinders smooth topic transitions.

Methodology: Building and Navigating Semantic Graphs

To address these issues, the authors propose a pipeline that transforms flat text into a rich, navigable web of information.

Figure 4: The proposed pipeline for Document Semantic Graph construction and knowledge selection, illustrated with a dialogue about the movie Rango.

1. Document Semantic Graph (DSG) Construction

The document is converted into a DSG through several steps:

  • AMR Parsing: Sentences are converted into AMR graphs to identify "who did what to whom."
  • Coreference Resolution: Mentions of the same entity (e.g., "the movie," "it," "the film") are merged into single nodes, serving as the "glue" for the graph.
  • Structural Nodes: Sentence and passage nodes are added to preserve narrative flow.

2. Knowledge Selection via EGAT

The system constructs a dialogue-aware graph for each turn. It uses an Edge-Aware Graph Attention Network (EGAT) to weigh the importance of different relationships (edges) between concepts. This allows the model to "walk" through the document's logic to find the most relevant facts based on the conversation history.

Figure 5: Detailed architecture of the dialogue-aware graph and the EGAT-based selection process.

3. Multi-Task Learning and Generation

The model is trained to select both the correct sentence and specific relevant concepts simultaneously. Finally, a GPT-2 model generates a natural response using the selected knowledge and dialogue history.

Key Results and Insights

The model was evaluated on the HollE and Wizard of Wikipedia (WoW) benchmarks.

  • Superior Selection: On HollE, the model achieved 37.7% accuracy, outperforming RoBERTa-based baselines (34.3%).
  • Generalization to Unseen Topics: On the WoW "Test Unseen" split, the model reached 30.8% accuracy (vs. 26.3% baseline), suggesting that the semantic graph captures a universal logic of information structure.
  • Human Preference: In blind tests, human annotators preferred the graph-based system 69% of the time.
  • Ablation Study: Coreference edges were found to be the most critical component; without them, the graph becomes a collection of isolated islands.

Limitations

Despite its success, the system has a significant preprocessing overhead, taking about 70 seconds per document for graph construction. Additionally, it currently only considers the last two turns of dialogue history and is dependent on the accuracy of English-specific AMR and coreference tools.

Summary updated

BibTeX
@misc{li2022enhanced,
  author = {Sha Li and Mahdi Namazifar and Di Jin and Mohit Bansal and Heng Ji and Yang Liu and Dilek Hakkani-Tur},
  title = {{Enhanced Knowledge Selection for Grounded Dialogues via Document Semantic Graphs}},
  year = {2022},
  eprint = {2206.07296},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07296},
}
Figure