Enhancing Knowledge Selection for Grounded Dialogues via Document Semantic Graphs

Sha Li, Mahdi Namazifar, Di Jin, Mohit Bansal, Heng Ji, Yang Liu, Dilek Hakkani-Tur

Abstract

Knowledge-grounded dialogue systems aim to produce more informative and factually accurate responses by leveraging external documents. However, traditional methods often treat these documents as unstructured collections of sentences, ignoring the semantic relationships that bind them. This paper introduces a novel approach that transforms documents into Document Semantic Graphs. By integrating sentence-level concepts through coreference resolution and utilizing an Edge-Aware Graph Attention Network (EGAT), the proposed model significantly improves knowledge selection accuracy and response quality, particularly on unseen topics.

Introduction

Open-domain dialogue models frequently struggle with generating repetitive content or "hallucinating" facts. Knowledge-Grounded Dialogue (KGD) mitigates these issues by providing models with reference documents, such as Wikipedia articles. Despite this, most existing systems treat documents as a "bag of sentences," ranking each independently. This approach has two primary drawbacks: it ignores the semantic "glue" provided by coreference (e.g., identifying that "he" refers to a previously mentioned subject) and it creates artificial boundaries that prevent the model from synthesizing information spread across multiple sentences.

Methodology

The proposed framework addresses these limitations through a three-stage pipeline designed to bridge the gap between sentence-level selection and graph-based reasoning.

1. Document Semantic Graph Construction

The process begins by converting every sentence in the source document into a mini-graph of concepts using Abstract Meaning Representation (AMR). These individual graphs are then unified into a single document-level structure via coreference resolution, which identifies and merges nodes representing the same entity across different sentences. Structural nodes are also incorporated to maintain the narrative sequence of the original text.

High-level pipeline for knowledge-grounded response generation using semantic graphs.

2. Knowledge Selection via Edge-Aware GAT

For each dialogue turn, the system constructs a dialogue-aware graph by encoding the recent conversation history and attaching it to the document graph. An Edge-Aware Graph Attention Network (EGAT) is employed to propagate information across the graph, specifically attending to the types of relationships (edges) between nodes. The model is trained using a multi-task learning objective, simultaneously predicting relevant sentences and specific semantic concepts.

Detailed architecture of the proposed model, featuring the Dialog-aware Graph and Edge-aware GAT.

3. Response Generation

The final stage utilizes a pre-trained GPT-2 model to generate a response, conditioned on the selected knowledge and the dialogue context.

Experimental Results

The model was evaluated on two benchmark datasets: HollE (movie-related knowledge) and Wizard of Wikipedia (WoW). In the WoW "Test Unseen" split, which measures generalization to unfamiliar topics, the model achieved a knowledge selection accuracy of 30.8%, significantly outperforming the RoBERTa-based baseline of 26.3%. On the HollE dataset, it reached 37.7% accuracy.

Human evaluation further validated these results. In head-to-head comparisons, annotators preferred the graph-based model's responses 69% of the time, noting that they were more appropriate, knowledgeable, and engaging than those produced by previous state-of-the-art models like MIKe.

Discussion and Insights

  • The Role of Coreference: Ablation studies confirmed that coreference edges are vital for maintaining graph connectivity; removing them leads to a significant drop in performance.
  • Multi-task Benefits: Training the model to identify specific concepts improves the accuracy of sentence selection, as it forces the model to understand the underlying semantic relevance.
  • Beyond Sentence Boundaries: By representing knowledge as a concept graph, the model can theoretically synthesize information from disparate parts of a document into a single coherent response.

Limitations and Future Work

While effective, the current approach involves significant preprocessing overhead, with AMR parsing and coreference resolution requiring approximately 70 seconds per document. Additionally, the model's reliance on a short dialogue history window (two turns) suggests that better utilization of long-term context could further improve performance. Future research will focus on optimizing graph construction for real-time applications and enhancing the integration of extended conversation history.

Summary updated

BibTeX
@inproceedings{li2022enhancing,
  author = {Sha Li and Mahdi Namazifar and Di Jin and Mohit Bansal and Heng Ji and Yang Liu and Dilek Hakkani-Tur},
  title = {{Enhancing Knowledge Selection for Grounded Dialogues via Document Semantic Graphs}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.202},
}
Figure