mlsanityData to 7 Oct 2026

Exploring LLM Reasoning Through Controlled Prompt Variations

arXiv 2504.02111 ↗First posted 2 Apr 2025cs.AI cs.CL cs.LGcited by 10

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

This study investigates the reasoning robustness of large language models (LLMs) on mathematical problem-solving tasks under systematically introduced input perturbations. Using the GSM8K dataset as a controlled testbed, we evaluate how well state-of-the-art models maintain logical consistency and correctness when confronted with four categories of prompt perturbations: irrelevant context, pathological instructions, factually relevant but non-essential context, and a combination of the latter two. Our experiments, conducted on thirteen open-source and closed-source LLMs, reveal that introducing irrelevant context within the model's context window significantly degrades performance, suggesting that distinguishing essential from extraneous details remains a pressing challenge. Surprisingly, performance regressions are relatively insensitive to the complexity of the reasoning task, as measured by the number of steps required, and are not strictly correlated with model size. Moreover, we observe that certain perturbations inadvertently trigger chain-of-thought-like reasoning behaviors, even without explicit prompting. Our findings highlight critical vulnerabilities in current LLMs and underscore the need for improved robustness against noisy, misleading, and contextually dense inputs, paving the way for more resilient and reliable reasoning in real-world applications.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 10 of its 11 references that are in the map. First posted on arXiv 2 Apr 2025.

Builds on

10 of 11 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024GSM-Plus: A Comprehensive Benchmark for Evaluating the Robustness of LLMs as Mathematical Problem Solvers29 Feb

Other references · 9

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  5. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  6. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  7. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  8. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  9. 2024Efficient Solutions For An Intriguing Failure of LLMs: Long Context Window Does Not Mean LLMs Can Analyze Long Sequences Flawlesslycited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 7.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Numerical Sensitivity and Robustness: Exploring the Flaws of Mathematical Reasoning in Large Language Models
  2. 2026Fragile Thoughts: How Large Language Models Handle Chain-of-Thought Perturbations
  3. 2025Reasoning Capabilities and Invariability of Large Language Models
  4. 2025No Need for Explanations: LLMs can implicitly learn from mistakes in-context
  5. 2025ReliableMath: Benchmark of Reliable Mathematical Reasoning on Large Language Models
  6. 2025Large Language Models and Mathematical Reasoning Failures
  7. 2026Representation Robustness Under Executable Reasoning Constraints in Large Language Models for Mathematical Problem Solving
  8. 2026Fragile Reasoning: A Mechanistic Analysis of LLM Sensitivity to Meaning-Preserving Perturbations