English

The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Context

Computation and Language 2026-07-14 v1

Abstract

As large language models (LLMs) grow more capable, they are increasingly deployed in context-rich settings where task inputs are often accompanied by long, partially irrelevant context. In a controlled setting, we find that state-of-the-art models often appear robust to task-irrelevant context at the aggregate level: prepending it to benchmark questions causes little change in overall accuracy. This aggregate stability, however, masks significant per-example instability. Even semantically meaningless pseudo-words, formed by randomly combining characters, can markedly shift model predictions on a small fraction of examples, degrading performance on some while improving it on others. This two-sided effect holds consistently across a wide range of models and datasets, yet the affected examples are largely model-specific. We further show that this instability is modulated by context type, context length, test-time compute, and model development stage. Together, our findings reveal context-induced tail risks concealed by aggregate accuracy, motivating per-example reliability evaluation of language models.

Keywords

Cite

@article{arxiv.2607.12963,
  title  = {The Illusion of Robustness: Aggregate Accuracy Hides Prediction Flips under Task-Irrelevant Context},
  author = {Yanzhe Zhang and Sanmi Koyejo and Diyi Yang},
  journal= {arXiv preprint arXiv:2607.12963},
  year   = {2026}
}

Comments

Preprint