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:
- Cloze Coherence (CC) Dataset: Derived from ROCStories, this dataset includes
cloze_swap(swapping sentences to test event order) andcloze_rand(replacing a sentence with a random one to test semantics). - Controlled Linguistic Alterations (CLA) Dataset: A curated set of 240 examples featuring targeted perturbations such as Lexical Substitution, Prefix Insertion, and Corrupt Pronouns.
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.
- 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_randtask, 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