DEAM: Dialogue Coherence Evaluation using AMR-based Semantic Manipulations

Sarik Ghazarian, Nuan Wen, Aram Galstyan, Nanyun Peng · DOI

Abstract

Evaluating the coherence of open-domain dialogue systems remains a significant challenge in natural language processing. Traditional automatic metrics often rely on simple text-level heuristics, such as sentence shuffling, to generate negative training examples. However, these methods fail to capture the subtle semantic inconsistencies typical of modern large language models. This paper introduces DEAM (Dialogue coherence Evaluation using AMR-based semantic Manipulations), a novel metric that utilizes Abstract Meaning Representation (AMR) to perform fine-grained semantic sabotages. By training on these more realistic "bad" examples, DEAM achieves significantly higher correlations with human judgment than existing state-of-the-art metrics.

Introduction

While modern chatbots can generate remarkably fluent individual responses, they frequently struggle to maintain a logical thread over multiple conversational turns. Common failures include self-contradiction, loss of coreference clarity, and a lack of meaningful engagement. To detect these issues, researchers typically train binary classifiers to distinguish between coherent and incoherent dialogues.

Historically, the "incoherent" data used for training is generated through surface-level perturbations like shuffling sentence order or inserting random utterances from unrelated conversations. These methods create a distribution shift: the synthetic errors are too easy for models to identify, leaving them unable to recognize the nuanced, logic-based errors produced by actual dialogue systems. DEAM bridges this gap by shifting the focus from surface-level text to semantic-level graph structures.

The DEAM Framework

DEAM employs a four-stage pipeline designed to create sophisticated negative examples that force evaluation models to understand the underlying logic of a conversation.

1. Semantic Parsing

The process begins by converting a dialogue into Abstract Meaning Representation (AMR) graphs. AMR abstracts away syntactic variations—such as word order and grammar—to focus on the core semantic relationships (the "who is doing what to whom").

2. Semantic Manipulation

Instead of simple text shuffling, DEAM "sabotages" the AMR graphs using four targeted strategies:

  • Contradiction: Utilizing ConceptNet to identify antonyms or flipping the polarity of statements (e.g., transforming "I enjoy the sun" into "I hate the sun").
  • Coreference Inconsistency: Swapping pronouns or nouns within the dialogue to break the logical continuity between speakers.
  • Irrelevancy: Replacing specific semantic concepts or arguments with random elements from other parts of the conversation, creating a sense of non-sequitur.
  • Decreased Engagement: Pruning the graph to remove questions, modifiers, or detailed information, simulating a chatbot that has become unengaged or repetitive.

3. Back-translation and Classification

The manipulated AMR graphs are converted back into natural language using a fine-tuned T5 model. Finally, a RoBERTa-large model is trained as a binary classifier to distinguish between the original coherent dialogues and these semantically distorted versions. The model's confidence score serves as the final coherence metric.

Experimental Setup and Results

The authors trained DEAM using augmented versions of the TopicalChat and PersonaChat datasets. The metric was then validated against two major human-annotated benchmarks: FED (conversations with Meena and Mitsuku) and DSTC9 (knowledge-grounded response generation).

Key Findings

  • Superior Correlation: On the FED dataset, DEAM achieved a Spearman correlation of 0.47 for coherence and 0.55 for overall quality. This represents a substantial improvement over previous baselines like DynaEval (-0.36) and earlier graph-based models (0.13).
  • The "Superset" Effect: Interestingly, while models trained on simple shuffling could not detect the subtle errors in DEAM-generated data, DEAM-trained models were highly effective at detecting simple shuffling errors. This suggests that semantic-level training serves as a superset of text-level training, providing broader generalization.
  • Ablation Studies: Removing the "Irrelevancy" and "Decreased Engagement" manipulations led to the most significant performance drops, indicating that these are the most critical flaws to model when evaluating modern dialogue systems.

Discussion and Limitations

DEAM demonstrates that AMR serves as an effective "logic sandbox" for generating high-quality training data. However, the approach is not without limitations. The round-trip translation (Text → AMR → Text) is occasionally lossy; syntactic nuances like verb tense can be altered, sometimes making negative samples appear ungrammatical rather than purely logically incoherent. Furthermore, the metric's performance is currently bottlenecked by the accuracy of the underlying AMR parsers and generators.

Future work may involve incorporating external knowledge bases to detect factual hallucinations (sensibility) and improving the AMR-to-text generation to ensure that the only difference between positive and negative samples is the intended semantic flaw.

Summary updated

BibTeX
@inproceedings{ghazarian2022deam,
  author = {Sarik Ghazarian and Nuan Wen and Aram Galstyan and Nanyun Peng},
  title = {{DEAM: Dialogue Coherence Evaluation using AMR-based Semantic Manipulations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.57},
}
Figure