Pith. sign in

REVIEW 7 cited by

Attention Heads of Large Language Models: A Survey

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2409.03752 v3 pith:SM6P4SNZ submitted 2024-09-05 cs.CL

classification cs.CL
keywords headsattentionllmsreasoningframeworkinternallanguagelarge
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Since the advent of ChatGPT, Large Language Models (LLMs) have excelled in various tasks but remain as black-box systems. Understanding the reasoning bottlenecks of LLMs has become a critical challenge, as these limitations are deeply tied to their internal architecture. Among these, attention heads have emerged as a focal point for investigating the underlying mechanics of LLMs. In this survey, we aim to demystify the internal reasoning processes of LLMs by systematically exploring the roles and mechanisms of attention heads. We first introduce a novel four-stage framework inspired by the human thought process: Knowledge Recalling, In-Context Identification, Latent Reasoning, and Expression Preparation. Using this framework, we comprehensively review existing research to identify and categorize the functions of specific attention heads. Additionally, we analyze the experimental methodologies used to discover these special heads, dividing them into two categories: Modeling-Free and Modeling-Required methods. We further summarize relevant evaluation methods and benchmarks. Finally, we discuss the limitations of current research and propose several potential future directions.

Discussion (0). Sign in to comment.

Forward citations

Cited by 7 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. How Do LLMs Read Bug Reports? An Empirical Study of Attention in LLMs for Automated Program Repair

    cs.SE 2026-07 conditional novelty 6.0 of 10

    LLM program-repair success is associated with diffuse attention across diagnostic bug-report content, while failures correlate with over-focus on metadata such as version information.

  2. Steering at the Source: Style Modulation Heads for Robust Persona Control

    cs.CL 2026-02 conditional novelty 6.0 of 10

    Steering only three 'Style Modulation Heads' controls personas with less coherency collapse than residual-stream steering, across six personas and two base LLMs.

  3. Attention Illuminates LLM Reasoning: The Preplan-and-Anchor Rhythm Enables Fine-Grained Policy Optimization

    cs.CL 2025-10 conditional novelty 6.0 of 10

    LLM attention maps reveal a preplan-and-anchor pattern, and reweighting RL credit toward the flagged tokens improves math/QA reasoning.

  4. CompressKV: Semantic Retrieval Heads Know What Tokens are Not Important Before Generation

    cs.CL 2025-08 unverdicted novelty 6.0 of 10

    A method that uses a handful of 'semantic retrieval heads' instead of all attention heads to decide which key-value cache entries can be dropped, plus layer-wise cache budgeting, reportedly beats prior KV compression ...

  5. Safety Alignment Should Be Made More Than Just A Few Attention Heads

    cs.CR 2025-08 conditional novelty 5.0 of 10

    Safety-critical attention heads are few, jailbreak prompts lower their refusal-direction signal, and fine-tuning with head-level dropout spreads safety and improves robustness.

  6. ALPS: Attention Localization and Pruning Strategy for Efficient Alignment of Large Language Models

    cs.CL 2025-05 conditional novelty 5.0 of 10

    ALPS selects task-sensitive attention heads by measuring Wasserstein distance between base and task-tuned weights, and freezing other heads during fine-tuning improves performance and efficiency.

  7. Graph-of-Causal Evolution: Challenging Chain-of-Model for Reasoning

    cs.LG 2025-06 reject novelty 4.0 of 10

    GoCE swaps CoM's chain structure for a differentiable causal graph and reports accuracy gains on CLUTRR, CLadder, EX-FEVER, and CausalQA, but the evidence is sandbox-generated and unauditable.

Pith tools