Diagnosing Memorization in Chain-of-Thought Reasoning, One Token at a Time
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large Language Models (LLMs) perform well on reasoning benchmarks but often fail when inputs alter slightly, raising concerns about the extent to which their success relies on memorization. This issue is especially acute in Chain-of-Thought (CoT) reasoning, where spurious memorized patterns can trigger intermediate errors that cascade into incorrect final answers. We introduce STIM, a novel framework for Source-aware Token-level Identification of Memorization, which attributes each token in a reasoning chain to one of multiple memorization sources - local, mid-range, or long-range - based on their statistical co-occurrence with the token in the pretraining corpus. Our token-level analysis across tasks and distributional settings reveals that models rely more on memorization in complex or long-tail cases, and that local memorization is often the dominant driver of errors, leading to up to 67% of wrong tokens. We also show that memorization scores from STIM can be effective in predicting the wrong tokens in the wrong reasoning step. STIM offers a powerful tool for diagnosing and improving model reasoning and can generalize to other structured step-wise generation tasks.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 12 of its 29 references that are in the map. First posted on arXiv 4 Aug 2025.
Builds on
12 of 29 references.
Closest ancestors · 5
Same direction, newest first
- 2025The Reasoning-Memorization Interplay in Language Models Is Mediated by a Single Direction29 Mar
- 2025None of the Others: a General Technique to Distinguish Reasoning from Memorization in Multiple-Choice LLM Evaluation Benchmarks18 Feb
- 2024Disentangling Memory and Reasoning Ability in Large Language Models20 Nov
- 2024On Memorization of Large Language Models in Logical Reasoning30 Oct
- 2024Quantifying In-Context Reasoning Effects and Memorization Effects in LLMs20 May
Other references · 7
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 441
- 20242 OLMo 2 Furiouscited by 340
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
- 2024AI as Humanity's Salieri: Quantifying Linguistic Creativity of Language Models via Systematic Attribution of Machine Text against Web Textcited by 42
- 2025VersaPRM: Multi-Domain Process Reward Model via Synthetic Reasoning Datacited by 40
- 2016Judging a Book By its Covercited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Modelscited by 10
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluationscited by 2
- 2025RIDE: Difficulty Evolving Perturbation with Item Response Theory for Mathematical Reasoningcited by 1
- 2026What Really Controls Temporal Reasoning in Large Language Models: Tokenisation or Representation of Time?cited by 1
- 2026What Really Controls Temporal Reasoning in Large Language Models: Tokenisation or Representation of Time?19 Mar 2026
- 2026Quantifying the Effect of Test Set Contamination on Generative Evaluations7 Jan 2026
- 2025RIDE: Difficulty Evolving Perturbation with Item Response Theory for Mathematical Reasoning6 Nov 2025
- 2025Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Models29 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Valid ne Necessary: Diagnosing Latent Inefficiency in Chain-of-Thought
- 2025Do Latent Tokens Think? A Causal and Adversarial Analysis of Chain-of-Continuous-Thought
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
- 2025Unveiling Over-Memorization in Finetuning LLMs for Reasoning Tasks
- 2026MemoReason: Evaluating the Effect of Parametric Memory on Contextual Reasoning in LLMs
- 2025Think Consistently, Reason Efficiently: Energy-Based Calibration for Implicit Chain-of-Thought
- 2026Facts Don't Speak Louder than Words: The Behavioral Essence of Long-CoT Distillation
- 2025Analyzing the Power of Chain of Thought through Memorization Capabilities