English

How Is LLM Reasoning Distracted by Irrelevant Context? An Analysis Using a Controlled Benchmark

Computation and Language 2025-09-23 v2 Artificial Intelligence Machine Learning

Abstract

We introduce Grade School Math with Distracting Context (GSM-DC), a synthetic benchmark to evaluate Large Language Models' (LLMs) reasoning robustness against systematically controlled irrelevant context (IC). GSM-DC constructs symbolic reasoning graphs with precise distractor injections, enabling rigorous, reproducible evaluation. Our experiments demonstrate that LLMs are significantly sensitive to IC, affecting both reasoning path selection and arithmetic accuracy. Additionally, training models with strong distractors improves performance in both in-distribution and out-of-distribution scenarios. We further propose a stepwise tree search guided by a process reward model, which notably enhances robustness in out-of-distribution conditions.

Keywords

Cite

@article{arxiv.2505.18761,
  title  = {How Is LLM Reasoning Distracted by Irrelevant Context? An Analysis Using a Controlled Benchmark},
  author = {Minglai Yang and Ethan Huang and Liang Zhang and Mihai Surdeanu and William Wang and Liangming Pan},
  journal= {arXiv preprint arXiv:2505.18761},
  year   = {2025}
}

Comments

19 pages, 10 figures, 5 tables

R2 v1 2026-07-01T02:36:07.321Z