Analyzing Neural Discourse Coherence Models

Youmna Farag, Josef Valvoda, Helen Yannakoudakis, Ted BriscoearXiv 2020

Abstract

In this work, we systematically investigate how well current models of coherence can capture aspects of text implicated in discourse organisation. We devise two datasets of various linguistic alterations that undermine coherence and test model sensitivity to changes in syntax and semantics. We furthermore probe discourse embedding space and examine the knowledge that is encoded in representations of coherence. We hope this study shall provide further insight into how to frame the task and improve models of coherence assessment further. Finally, we make our datasets publicly available as a resource for researchers to use to test discourse coherence models.

Introduction

Discourse coherence is the property that transforms a collection of sentences into a unified document. Traditionally, the benchmark for evaluating coherence models has been the binary discrimination task: distinguishing an original document from a version with shuffled sentences. While modern neural models have achieved near-perfect scores on standard datasets like the Wall Street Journal (WSJ)—with the LCD_bert model reaching 97.1% accuracy—there is growing concern that these models rely on shallow syntactic cues rather than a deep understanding of logical flow and semantic consistency. This paper investigates whether these models are truly capturing discourse-level properties or are merely acting as "syntactic sniffer dogs."

Methods

We evaluate a diverse suite of state-of-the-art coherence models:

  • Recursive/Recurrent Models: Multi-task (MTL) and Single-task (STL) LSTMs using GloVe or BERT embeddings.
  • Local Coherence Discriminators (LCD): Models focusing on transitions between adjacent sentence pairs.
  • Entity-Grid CNNs: Models that track entity transitions (e.g., subjects and objects) across sentences.
  • Probing Classifiers: Simple linear probes trained on model embeddings to detect specific linguistic features like subject number and sentence inversion.

Datasets

To move beyond simple sentence shuffling, we introduce two new datasets:

  1. Cloze Coherence (CC) Dataset: Derived from ROCStories, this dataset includes cloze_swap (swapping sentences to test event order) and cloze_rand (replacing a sentence with a random one to test semantics).
  2. Controlled Linguistic Alterations (CLA) Dataset: A curated set of 240 examples featuring targeted perturbations such as Lexical Substitution, Prefix Insertion, and Corrupt Pronouns.
Examples of coherent and incoherent sentence pairs from the Cloze Coherence (CC) dataset.

Key Results and Insights

Our evaluation reveals a significant performance gap between syntactic and semantic tasks. While models excel at detecting swapped sentences, their performance often drops significantly when faced with semantic inconsistencies.

Performance of various models across the CC and CLA datasets, highlighting the gap between syntactic and semantic tasks.
  • The Syntax Crutch: Models are highly sensitive to broken syntactic patterns. Swapping sentences often creates "illegal" sequences that models flag easily without understanding the content.
  • Semantic Blindness: On the cloze_rand task, most models hovered between 48% and 54% accuracy, essentially failing to detect when a well-formed but irrelevant sentence was inserted. Even the high-performing LCD_bert model dropped to 71% on this task.
  • Pronoun Resolution: Models struggle significantly with pronoun-based coherence. They often fail to detect "dangling" pronouns or gender mismatches, suggesting they do not perform robust coreference resolution.
  • Probing Success: Probing revealed that models encode local features like Subject Number (88%) well, but struggle with Coordination Inversion (78.4%), which requires understanding clause relationships.

Conclusion

Current neural coherence models are proficient at identifying local syntactic disruptions but struggle with deeper semantic and discourse-level dependencies. Future research should focus on architectures that explicitly model rhetorical relations and long-range dependencies to achieve a more holistic understanding of discourse. We provide our new datasets as a resource for the community to further this goal.

Summary updated

BibTeX
@misc{farag2020analyzing,
  author = {Youmna Farag and Josef Valvoda and Helen Yannakoudakis and Ted Briscoe},
  title = {{Analyzing Neural Discourse Coherence Models}},
  year = {2020},
  eprint = {2011.06306},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.06306},
}
Figure