English

Can Transformer Models Measure Coherence In Text? Re-Thinking the Shuffle Test

Computation and Language 2021-07-09 v1

Abstract

The Shuffle Test is the most common task to evaluate whether NLP models can measure coherence in text. Most recent work uses direct supervision on the task; we show that by simply finetuning a RoBERTa model, we can achieve a near perfect accuracy of 97.8%, a state-of-the-art. We argue that this outstanding performance is unlikely to lead to a good model of text coherence, and suggest that the Shuffle Test should be approached in a Zero-Shot setting: models should be evaluated without being trained on the task itself. We evaluate common models in this setting, such as Generative and Bi-directional Transformers, and find that larger architectures achieve high-performance out-of-the-box. Finally, we suggest the k-Block Shuffle Test, a modification of the original by increasing the size of blocks shuffled. Even though human reader performance remains high (around 95% accuracy), model performance drops from 94% to 78% as block size increases, creating a conceptually simple challenge to benchmark NLP models. Code available: https://github.com/tingofurro/shuffle_test/

Keywords

Cite

@article{arxiv.2107.03448,
  title  = {Can Transformer Models Measure Coherence In Text? Re-Thinking the Shuffle Test},
  author = {Philippe Laban and Luke Dai and Lucas Bandarkar and Marti A. Hearst},
  journal= {arXiv preprint arXiv:2107.03448},
  year   = {2021}
}

Comments

Accepted at ACL-IJCNLP 2021 (short paper), 7 pages, 4 figures

R2 v1 2026-06-24T03:58:45.224Z