Disentangling Recall and Reasoning in Transformer Models through Layer-wise Attention and Activation Analysis
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Transformer-based language models excel at both recall (retrieving memorized facts) and reasoning (performing multi-step inference), but whether these abilities rely on distinct internal mechanisms remains unclear. Distinguishing recall from reasoning is crucial for predicting model generalization, designing targeted evaluations, and building safer interventions that affect one ability without disrupting the other.We approach this question through mechanistic interpretability, using controlled datasets of synthetic linguistic puzzles to probe transformer models at the layer, head, and neuron level. Our pipeline combines activation patching and structured ablations to causally measure component contributions to each task type. Across two model families (Qwen and LLaMA), we find that interventions on distinct layers and attention heads lead to selective impairments: disabling identified "recall circuits" reduces fact-retrieval accuracy by up to 15% while leaving reasoning intact, whereas disabling "reasoning circuits" reduces multi-step inference by a comparable margin. At the neuron level, we observe task-specific firing patterns, though these effects are less robust, consistent with neuronal polysemanticity.Our results provide the first causal evidence that recall and reasoning rely on separable but interacting circuits in transformer models. These findings advance mechanistic interpretability by linking circuit-level structure to functional specialization and demonstrate how controlled datasets and causal interventions can yield mechanistic insights into model cognition, informing safer deployment of large language models.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 13 of its 35 references that are in the map. First posted on arXiv 3 Oct 2025.
Builds on
13 of 35 references.
Closest ancestors · 3
Same direction, newest first
- 2025UNVEILING: What Makes Linguistics Olympiad Puzzles Tricky for LLMs?15 Aug
- 2024Linguini: A benchmark for language-agnostic linguistic reasoning18 Sep
- 2024LINGOLY: A Benchmark of Olympiad-Level Linguistic Reasoning Puzzles in Low-Resource and Extinct Languages10 Jun
Other references · 10
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2022In-context Learning and Induction Headscited by 930
- 2025Reasoning Models Don't Always Say What They Thinkcited by 388
- 2020A Survey on Neural Network Interpretabilitycited by 291
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
- 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 158
- 2020PuzzLing Machines: A Challenge on Learning From Small Datacited by 15
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026RISER: Orchestrating Latent Reasoning Skills for Adaptive Activation Steeringcited by 4
- 2026When Do LLMs Reason? A Dynamical Systems View via Entropy Phase Transitionscited by 2
- 2026EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarizationcited by 0
- 2026Towards Explainability of SLMs by investigating Token Level Activationcited by 0
- 2026Towards Explainability of SLMs by investigating Token Level Activation21 May 2026
- 2026When Do LLMs Reason? A Dynamical Systems View via Entropy Phase Transitions20 May 2026
- 2026EyeLayer: Integrating Human Attention Patterns into LLM-Based Code Summarization25 Feb 2026
- 2026RISER: Orchestrating Latent Reasoning Skills for Adaptive Activation Steering14 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026NeuReasoner: Theory-grounded Mapping of Reasoning Elicitation Boundaries
- 2025Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers
- 2025Reason to Rote: Rethinking Memorization in Reasoning
- 2026Neural Activation Patterns Across Language Model Architectures: A Comprehensive Analysis of Cognitive Task Performance
- 2025Generalization or Hallucination? Understanding Out-of-Context Reasoning in Transformers
- 2026Dissecting Hierarchical Reasoning Models: A Mechanistic Study
- 2025An Analysis for Reasoning Bias of Language Models with Small Initialization
- 2025Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers