The Reasoning-Memorization Interplay in Language Models Is Mediated by a Single Direction
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large language models (LLMs) excel on a variety of reasoning benchmarks, but previous studies suggest they sometimes struggle to generalize to unseen questions, potentially due to over-reliance on memorized training examples. However, the precise conditions under which LLMs switch between reasoning and memorization during text generation remain unclear. In this work, we provide a mechanistic understanding of LLMs' reasoning-memorization dynamics by identifying a set of linear features in the model's residual stream that govern the balance between genuine reasoning and memory recall. These features not only distinguish reasoning tasks from memory-intensive ones but can also be manipulated to causally influence model performance on reasoning tasks. Additionally, we show that intervening in these reasoning features helps the model more accurately activate the most relevant problem-solving capabilities during answer generation. Our findings offer new insights into the underlying mechanisms of reasoning and memory in LLMs and pave the way for the development of more robust and interpretable generative AI systems.
Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 37 of its 67 references that are in the map. First posted on arXiv 29 Mar 2025.
Builds on
37 of 67 references.
Closest ancestors · 6
Same direction, newest first
- 2024On Memorization of Large Language Models in Logical Reasoning30 Oct
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct
- 2023Code Llama: Open Foundation Models for Code24 Aug
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks5 Jul
- 2023Large Language Models are In-Context Semantic Reasoners rather than Symbolic Reasoners24 May
Other references · 31
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024GPT-4o System Cardcited by 4,588
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023Mistral 7Bcited by 3,164
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2022Toy Models of Superpositioncited by 971
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
19 more
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 703
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 530
- 20242 OLMo 2 Furiouscited by 340
- 2023Proving Test Set Contamination in Black Box Language Modelscited by 230
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 169
- 2023Linear Representations of Sentiment in Large Language Modelscited by 163
- 2023Causal Parrots: Large Language Models May Talk Causality But Are Not Causalcited by 150
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 148
- 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 108
- 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queriescited by 78
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2024Robust LLM safeguarding via refusal feature adversarial trainingcited by 64
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 56
- 2024Steering Without Side Effects: Improving Post-Deployment Control of Language Modelscited by 46
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Tracescited by 29
- 2024Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoningcited by 27
- 2024Case-Based or Rule-Based: How Do Transformers Do the Math?cited by 26
Built on by
Citing papers per year: 2025: 13; 2026: 8.
21 papers.
Sort:
By area:
- 2025AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraintcited by 49
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
- 2025MetaFaith: Faithful Natural Language Uncertainty Expression in LLMscited by 16
- 2026Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMscited by 14
- 2025On Reasoning Strength Planning in Large Reasoning Modelscited by 13
- 2025Detecting (Un)answerability in Large Language Models with Linear Directionscited by 13
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigationcited by 10
- 2025MLLMEraser: Achieving Test-Time Unlearning in Multimodal Large Language Models through Activation Steeringcited by 10
- 2025Hypothesis-Driven Feature Manifold Analysis in LLMs via Supervised Multi-Dimensional Scalingcited by 8
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMscited by 6
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injectioncited by 5
- 2025Diagnosing Memorization in Chain-of-Thought Reasoning, One Token at a Timecited by 4
9 more
- 2025ThoughtProbe: Classifier-Guided LLM Thought Space Exploration via Probing Representationscited by 3
- 2025Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimizationcited by 2
- 2025Adaptive Multi-Agent Reasoning via Automated Workflow Generationcited by 1
- 2026Memory Dial: A Training Framework for Controllable Memorization in Language Modelscited by 1
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 1
- 2026Multilingual Idioms in Sentences and Conversations Across High-, Medium-, and Low-Resource Languagescited by 0
- 2026IsoSci: A Benchmark of Isomorphic Cross-Domain Science Problems for Evaluating Reasoning versus Knowledge Retrieval in LLMscited by 0
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMscited by 0
- 2026How Do Linear Probes Emerge? A Circuit-Tracing Framework with Concept-Targeted Attributioncited by 0
- 2026How Do Linear Probes Emerge? A Circuit-Tracing Framework with Concept-Targeted Attribution27 Aug 2026
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMs22 Aug 2026
- 2026IsoSci: A Benchmark of Isomorphic Cross-Domain Science Problems for Evaluating Reasoning versus Knowledge Retrieval in LLMs1 Jul 2026
- 2026Multilingual Idioms in Sentences and Conversations Across High-, Medium-, and Low-Resource Languages1 Jun 2026
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment7 Apr 2026
- 2026Memory Dial: A Training Framework for Controllable Memorization in Language Models6 Apr 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2026Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMs16 Jan 2026
- 2025Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimization24 Nov 2025
- 2025ThoughtProbe: Classifier-Guided LLM Thought Space Exploration via Probing Representations31 Oct 2025
- 2025MLLMEraser: Achieving Test-Time Unlearning in Multimodal Large Language Models through Activation Steering5 Oct 2025
- 2025Hypothesis-Driven Feature Manifold Analysis in LLMs via Supervised Multi-Dimensional Scaling1 Oct 2025
9 more
- 2025Detecting (Un)answerability in Large Language Models with Linear Directions26 Sep 2025
- 2025Turning the Spell Around: Lightweight Alignment Amplification via Rank-One Safety Injection28 Aug 2025
- 2025Diagnosing Memorization in Chain-of-Thought Reasoning, One Token at a Time4 Aug 2025
- 2025Adaptive Multi-Agent Reasoning via Automated Workflow Generation18 Jul 2025
- 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigation8 Jul 2025
- 2025On Reasoning Strength Planning in Large Reasoning Models10 Jun 2025
- 2025AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint8 Jun 2025
- 2025MetaFaith: Faithful Natural Language Uncertainty Expression in LLMs30 May 2025
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMs28 May 2025
- 2026Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMscited by 14
- 2025On Reasoning Strength Planning in Large Reasoning Modelscited by 13
- 2025Diagnosing Memorization in Chain-of-Thought Reasoning, One Token at a Timecited by 4
- 2025ThoughtProbe: Classifier-Guided LLM Thought Space Exploration via Probing Representationscited by 3
- 2025Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimizationcited by 2
- 2025Adaptive Multi-Agent Reasoning via Automated Workflow Generationcited by 1
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignmentcited by 1
- 2026IsoSci: A Benchmark of Isomorphic Cross-Domain Science Problems for Evaluating Reasoning versus Knowledge Retrieval in LLMscited by 0
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMscited by 0
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMs22 Aug 2026
- 2026IsoSci: A Benchmark of Isomorphic Cross-Domain Science Problems for Evaluating Reasoning versus Knowledge Retrieval in LLMs1 Jul 2026
- 2026The Master Key Hypothesis: Unlocking Cross-Model Capability Transfer via Linear Subspace Alignment7 Apr 2026
- 2026Spurious Rewards Paradox: Mechanistically Understanding How RLVR Activates Memorization Shortcuts in LLMs16 Jan 2026
- 2025Eliciting Chain-of-Thought in Base LLMs via Gradient-Based Representation Optimization24 Nov 2025
- 2025ThoughtProbe: Classifier-Guided LLM Thought Space Exploration via Probing Representations31 Oct 2025
- 2025Diagnosing Memorization in Chain-of-Thought Reasoning, One Token at a Time4 Aug 2025
- 2025Adaptive Multi-Agent Reasoning via Automated Workflow Generation18 Jul 2025
- 2025On Reasoning Strength Planning in Large Reasoning Models10 Jun 2025
- 2025MetaFaith: Faithful Natural Language Uncertainty Expression in LLMscited by 16
- 2025Detecting (Un)answerability in Large Language Models with Linear Directionscited by 13
- 2025Hypothesis-Driven Feature Manifold Analysis in LLMs via Supervised Multi-Dimensional Scalingcited by 8
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMscited by 6
- 2026Memory Dial: A Training Framework for Controllable Memorization in Language Modelscited by 1
- 2026Multilingual Idioms in Sentences and Conversations Across High-, Medium-, and Low-Resource Languagescited by 0
- 2026Multilingual Idioms in Sentences and Conversations Across High-, Medium-, and Low-Resource Languages1 Jun 2026
- 2026Memory Dial: A Training Framework for Controllable Memorization in Language Models6 Apr 2026
- 2025Hypothesis-Driven Feature Manifold Analysis in LLMs via Supervised Multi-Dimensional Scaling1 Oct 2025
- 2025Detecting (Un)answerability in Large Language Models with Linear Directions26 Sep 2025
- 2025MetaFaith: Faithful Natural Language Uncertainty Expression in LLMs30 May 2025
- 2025Stochastic Chameleons: Irrelevant Context Hallucinations Reveal Class-Based (Mis)Generalization in LLMs28 May 2025
Similar, not cited
Close in wording, no citation either way
- 2026MemoReason: Evaluating the Effect of Parametric Memory on Contextual Reasoning in LLMs
- 2024Disentangling Memory and Reasoning Ability in Large Language Models
- 2025Answer-Centric or Reasoning-Driven? Uncovering the Latent Memory Anchor in LLMs
- 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
- 2026Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Models
- 2025Reason to Rote: Rethinking Memorization in Reasoning
- 2024Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neurons
- 2026PRISM: A Dual View of LLM Reasoning through Semantic Flow and Latent Computation