38
0

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

Main:8 Pages
9 Figures
Bibliography:2 Pages
5 Tables
Appendix:5 Pages
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.

View on arXiv
@article{yang2025_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 on this paper