Semantic Representation for Dialogue Modeling

Xuefeng Bai, Yulong Chen, Linfeng Song, Yue Zhang

Abstract

Modern neural dialogue systems often struggle to capture deep semantic relationships, frequently relying on surface-level statistical patterns rather than true meaning. This paper introduces a novel framework that incorporates Abstract Meaning Representation (AMR)—a rooted, directed graph capturing the logical structure of sentences—into dialogue modeling. By constructing dialogue-level AMR graphs that link speakers, concepts, and coreferences across multiple turns, the authors demonstrate significant improvements in both dialogue understanding and response generation, particularly in maintaining coherence over long-range conversations.

The Challenge of Core Semantics

While Transformer-based models have revolutionized natural language processing, they treat dialogue as a flat sequence of tokens. This approach often fails to account for the structural relationships between entities. For instance, a model might respond to a mention of the movie Silence of the Lambs with a comment about livestock because it lacks the semantic grounding to recognize the entity as a film title. Furthermore, as dialogues progress, models frequently lose track of coreferences (e.g., who "he" or "it" refers to) and fail to maintain thematic consistency across distant turns.

Methodology: Constructing Dialogue-level AMRs

To bridge the gap between raw text and formal semantics, the authors propose a two-step process to inject AMR structures into neural architectures.

1. Graph Construction and Merging

Standard AMR parsers are designed for single sentences. To represent an entire conversation, the authors developed an algorithm to stitch individual utterance graphs into a unified Dialogue AMR Graph. This is achieved through three primary linking strategies:

  • Speaker Links: A "dummy" root node connects to every utterance, with edges labeled by the speaker (e.g., SPEAKER1, SPEAKER2).
  • Identical Concept Links: Nodes representing the same concept across different turns (e.g., "film" in Turn 1 and Turn 4) are connected via SAME edges.
  • Coreference Links: Using coreference resolution tools, pronouns are linked to their antecedent entities across the dialogue history with COREF edges.
The process of converting raw utterance texts into a unified Dialogue AMR Graph through parsing and graph merging.

2. Model Architectures

The framework explores two primary methods for utilizing these semantic graphs:

  • Hierarchical (Hier): This approach projects the AMR graph structure back onto the text tokens, using the semantic relations to guide the Transformer's attention mechanism.
  • Dual-encoder (Dual): This architecture employs two separate encoders—one for raw text and a specialized Graph Transformer for the AMR structure. The two representations are then integrated using a dual-attention mechanism.
Proposed model architectures: (a) Hierarchical projection, (b) Feature fusion, and (c) Dual-encoder with dual attention.

Evaluation and Results

The models were evaluated on two distinct tasks: DialogRE (multi-turn dialogue relation extraction) and DailyDialog (social chat response generation).

  • Dialogue Understanding: The Dual model achieved a new state-of-the-art on DialogRE, outperforming BERT-based baselines by 1.4 to 2.2 points in F1 score. Notably, the performance gap widened as the distance between related entities increased, proving that AMR provides a vital "shortcut" for long-range information.
  • Response Generation: On DailyDialog, the AMR-based models showed significant gains in BLEU (accuracy) and Distinct (diversity) scores. Human evaluations confirmed these findings, rating the AMR-based responses as significantly more coherent and better at following the conversational "thread."
  • Robustness: Because AMR abstracts away surface-level variations (e.g., mapping "I'm afraid" and "I fear" to the same node), the models proved much more robust to paraphrasing than standard sequence-to-sequence models.

Conclusion and Future Directions

By serving as a "semantic anchor," AMR helps dialogue models focus on underlying logic rather than spurious word patterns. While the current system relies on external parsers—which can introduce pipeline errors and computational overhead—it represents a major step toward more coherent and semantically aware AI. Future work may involve "end-to-end" semantic parsing, where models learn to build internal semantic representations dynamically during training.

Summary updated

BibTeX
@inproceedings{bai2021semantic,
  author = {Xuefeng Bai and Yulong Chen and Linfeng Song and Yue Zhang},
  title = {{Semantic Representation for Dialogue Modeling}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.342},
}
Figure