Cognitive Mirrors: Exploring the Diverse Functional Roles of Attention Heads in LLM Reasoning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large language models (LLMs) have achieved state-of-the-art performance in a variety of tasks, but remain largely opaque in terms of their internal mechanisms. Understanding these mechanisms is crucial to improve their reasoning abilities. Drawing inspiration from the interplay between neural processes and human cognition, we propose a novel interpretability framework to systematically analyze the roles and behaviors of attention heads, which are key components of LLMs. We introduce CogQA, a dataset that decomposes complex questions into step-by-step subquestions with a chain-of-thought design, each associated with specific cognitive functions such as retrieval or logical reasoning. By applying a multi-class probing method, we identify the attention heads responsible for these functions. Our analysis across multiple LLM families reveals that attention heads exhibit functional specialization, characterized as cognitive heads. These cognitive heads exhibit several key properties: they are universally sparse, vary in number and distribution across different cognitive functions, and display interactive and hierarchical structures. We further show that cognitive heads play a vital role in reasoning tasks - removing them leads to performance degradation, while augmenting them enhances reasoning accuracy. These insights offer a deeper understanding of LLM reasoning and suggest important implications for model design, training, and fine-tuning strategies.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 23 of its 41 references that are in the map. First posted on arXiv 3 Dec 2025.
Builds on
23 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 22
- 2017Attention Is All You Needcited by 59,932
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024GPT-4o System Cardcited by 4,467
- 2016Understanding intermediate layers using linear classifier probescited by 1,279
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2020COMET: A Neural Framework for MT Evaluationcited by 1,024
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
10 more
- 2022In-context Learning and Induction Headscited by 930
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 468
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 219
- 2021CREAK: A Dataset for Commonsense Reasoning over Entity Knowledgecited by 88
- 2024Attention Heads of Large Language Models: A Surveycited by 65
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026The Dual-Stream Transformer: Channelized Architecture for Interpretable Language Modelingcited by 3
- 2025Investigating The Functional Roles of Attention Heads in Vision Language Models: Evidence for Reasoning Modulescited by 2
- 2026STEMVerse: A Dual-Axis Diagnostic Framework for STEM Reasoning in Large Language Modelscited by 1
- 2026CALM: Class-Conditional Sparse Attention Vectors for Large Audio-Language Modelscited by 0
- 2026Entropy and Attention Dynamics in Small Language Models: A Trace-Level Structural Analysis on the TruthfulQA Benchmarkcited by 0
- 2026Entropy and Attention Dynamics in Small Language Models: A Trace-Level Structural Analysis on the TruthfulQA Benchmark4 Apr 2026
- 2026The Dual-Stream Transformer: Channelized Architecture for Interpretable Language Modeling8 Mar 2026
- 2026CALM: Class-Conditional Sparse Attention Vectors for Large Audio-Language Models6 Feb 2026
- 2026STEMVerse: A Dual-Axis Diagnostic Framework for STEM Reasoning in Large Language Models14 Jan 2026
- 2025Investigating The Functional Roles of Attention Heads in Vision Language Models: Evidence for Reasoning Modules11 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025Cognitive Foundations for Reasoning and Their Manifestation in LLMs
- 2026UniCog: Uncovering Cognitive Abilities of LLMs through Latent Mind Space Analysis
- 2025Understanding and Steering the Cognitive Behaviors of Reasoning Models at Test-Time
- 2025Attention Illuminates LLM Reasoning: The Preplan-and-Anchor Rhythm Enables Fine-Grained Policy Optimization
- 2023Concise and Organized Perception Facilitates Reasoning in Large Language Models
- 2025Mapping the Minds of LLMs: A Graph-Based Analysis of Reasoning LLM
- 2026Understanding Large Language Models
- 2026Attention in Space: Functional Roles of VLM Heads for Spatial Reasoning