Manuscript Offprint

arXiv:2609.37991

Which Attention Heads are like the Human Head? Not the Ones that Compute

Christopher Pinier, Gustaw Opiełka, Hannes Rosenbusch, Taylor Webb, Michael D. Nunez, Claire E. Stevenson

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Brain–AI alignment is often interpreted as a sign that model and brain perform similar computations. Whether the aligned units are causally involved in model computation is rarely checked. On an abstract pattern-completion task (AAABAAA → B), we compare LLM attention-head representations with human EEG and test how ablating those heads affects task performance. Alignment and causation dissociate: brain-aligned heads contribute to performance, but their removal is substantially less disruptive than removal of heads selected via attribution patching. We compare two head sets that prior interpretability work defines without reference to the brain: concept vectors (CVs), which represent abstract patterns across formats, and function vectors (FVs), selected for their contribution to correct-answer prediction. Brain alignment shows little association with FV scores, while its association with CV scores varies across models. Among brain-aligned heads, we find recurring attention profiles: one emphasizes distinctive elements (novelty heads), the other repeating elements (repetition heads). The novelty family tracks salience and attends to the same elements that humans look at, yet its removal is less damaging than random ablation on average. Repetition heads contribute modestly to performance and are associated with abstract-pattern representation (CVs). Across 17 models spanning 3B–72B parameters, FV-ranked removal is substantially more disruptive than brain-ranked removal. Brain alignment thus captures how the model reads the stimulus, and only faintly captures how it represents the pattern and solves the task.

1 INTRODUCTION

When a unit inside an artificial neural network predicts a neural signal recorded from a person performing the same task, the result is reported as alignment and often read as evidence that the two systems compute something in common (Yamins et al., 2014; Schrimpf et al., 2018; 2021; Caucheteux & King, 2022; Goldstein et al., 2022). However, that reading has been challenged on logical and empirical grounds (Guest & Martin, 2023; Bowers et al., 2023; Antonello & Huth, 2024). The inference aspect has been tested indirectly: training a model to be brain-misaligned degrades its downstream performance (Merlin & Toneva, 2026), and units picked out by a neuroscience-style localizer are both causal and brain-aligned (AlKhamissi et al., 2025). What has not been done is the direct test: select units by their alignment with a neural signal recorded on a task, remove them, and measure the model's performance on that same task. In large language models (LLMs), attention heads provide a tractable unit for this test: their representations can be compared with neural recordings, and their contribution to task performance can be assessed by removing or patching their outputs. They also bring a prior that neural data alone cannot supply: mechanistic interpretability has already identified head classes with known roles, such as induction and copy heads (Olsson et al., 2022) and the function-vector heads of in-context learning (Todd et al., 2024), so a brain-alignment score can be read against heads whose function is known rather than against anonymous units.

We ask whether attention heads whose representations resemble human brain activity are also those on which the model’s task performance most depends. We investigate this question using the abstract-

Figure

b

Figure

causal (damage when removed)

Figure 1: Schematic description of the findings. (a) What each attention head population does with one item of the task, the pattern AAABAAA whose answer is B (in words, for example, “hat hat hat risk hat hat hat” with answer “risk”), beside its brain alignment and its causal contribution. Colored symbols mark what each population attends to or encodes. (b) The same populations, schematically, in the plane of brain alignment against damage when the heads are removed; the gray band marks the damage from ablating random heads. Measured ablation curves are in Figure 3.

sequence-completion task of Pinier et al. (2025): participants infer the missing eighth element from a sequence of icons arranged as one of eight distinct abstract patterns, such as AAABAAA → B. Models receive text-based versions, with words or symbols replacing the icons (Figure 2). Using fixation-related potentials (FRPs), EEG signals time-locked to eye-fixation onset, Pinier et al. (2025) reported positive representational correlations between frontal activity and LLM layers selected for their encoding of abstract patterns. We extend this layer-level comparison to individual attention heads and test its relationship to performance.

In LLMs, a dissociation between conceptual encoding (concept vectors; CVs) and representations that causally support task performance (function vectors; FVs) has been highlighted by Opiełka et al. (2026), building on the function-vector framework of Todd et al. (2024). On verbal analogies, heads selected for format-invariant concept representation generalized across formats and languages, whereas heads selected by activation patching supported in-context performance despite less consistent representations across formats. This distinction motivates two complementary analyses of the sequence-completion task. First, we score heads for concept representation and contribution to performance, independently of human data, and compare these scores with brain alignment. Second, we select the most brain-aligned heads, characterize their attention profiles, and test the effects of removing them. These analyses ask whether brain resemblance is more closely associated with abstract-pattern representation, with heads that matter most for predicting the answer or neither.

Our findings are as follows:

  1. Brain alignment does not track causal importance (Section 2). Brain scores are weakly associated with attribution patching effects, and across models, removing brain-ranked heads is far less damaging than removing FV-ranked heads, the most causally important set.

  2. Brain-aligned heads reveal repetition and novelty profiles (Section 3). Across models, two attention profiles consistently appear: one attends to repeated elements (the As in AAABAAA), the other to the distinctive element (the lone B in the same sequence).

  3. Novelty heads contribute little to task performance (Sections 3 and 4). Novelty-ranked removal is less damaging than random removal on average. Additional tasks and training-stage analyses support this limited task contribution.

  4. Repetition heads track abstract representations and contribute modestly to task performance (Section 4). Repetition heads correlate with format-invariant concept representation (CVs) and co-occur with CV heads across layers. Removing them impairs performance more than random removal, yet leaves the CV representation intact.

three-shot demonstrations

skin example skin example phase dealer phase

Options:

dealer

phase

skin

example

Answer: dealer

C clean run

cup cup cup jar cup cup cup → jar ×3

hat hat hat risk hat hat hat → ?

head output,

averaged over

clean prompts

patch

corrupted run

intact

shuffled

key sun key key sun sun sun → sun ×3

pen map pen pen map map map → ?

patched in at

this head;

score P("pen")

AIE score = gain in P("pen"), mean over all patterns

b

Figure

d

Figure 2: The task prompt and the three head scores. (a) A query as presented to the model, preceded by three solved demonstrations in the same format (not shown here). The seven query symbols are based on one of eight abstract patterns (here, ABABCDC → D) and the model's next token after “Answer:” is scored. (b) Brain score: Spearman correlation between a head’s representational dissimilarity matrix (RDM), built from its output averaged within each pattern, and the human frontal-FRP RDM. (c) Patching score: a head’s output, averaged over clean prompts, is patched into a corrupted prompt from a different item. In the corrupted prompt, the elements of the first block (e.g., AAAB in AAABAAA) of every in-context demonstration and of the query are re-drawn at random from the item’s symbols (red). This destroys the pattern while the remaining positions stay intact (green), and the demonstration answers are random. The gain in the probability of the clean answer (here “pen”, which completes AAABAAAB), averaged over items from all eight patterns, is the head’s average indirect effect (AIE); the heads with the highest AIE are the function-vector (FV) heads. (d) Concept score: RSA of head outputs over 1,200 items that vary in pattern (8), alphabet (3; German, English, Symbols) and response format (2; open-ended, multiple choice), against a same-pattern design; a same-alphabet design serves as a control.

  1. Novelty-like attention mirrors human gaze shifts (Section 5). Across all tested models, novelty-like attention follows pattern-dependent changes in human gaze allocation, whereas repetition-like attention shows the opposite relationship.

Current study. The abstract-sequence experiment of Pinier et al. (2025) combined EEG and eye tracking during 400 unique trials. Our brain-alignment target is an 8×88 \times 8 representational dissimilarity matrix (RDM) of group-average frontal FRPs: rows and columns index the eight abstract patterns, and entries measure dissimilarity between their FRP waveforms. We additionally use human gaze data as a separate comparison of attention profiles. Human data recording, preprocessing, and RDM construction are detailed in Appendix A.1.

We first investigated Llama-3.1-70B base (Grattafiori et al., 2024) and then evaluated the generality of our findings in 16 additional models spanning 3B–72B parameters. Cross-model summaries include Llama-3.1-70B, giving 17 models in total. The cohort covers base and instruction-tuned Llama and Qwen variants, plus Phi-4 and DeepSeek-R1-Distill-Llama-70B. We present the initial and cross-model findings together, using the same human FRP target and noting protocol differences where relevant. Throughout the experiment, we use a text-based adaptation of the human task and raw prompts (i.e., no chat template) built with three solved examples.

The initial Llama-3.1-70B evaluation achieved 70.5% accuracy. Across the cohort, larger models generally performed better within Llama and instruction-tuned Qwen, but size alone did not determine success: Qwen2.5 base scored 74.5% at 32B versus 54.0% at 72B, while Phi-4 reached 82.0% at 14B.

Figure

b

Figure

Figure 3: Cumulative ablation relative to random removal, across 17 models. Heads are zero-ablated cumulatively in each family’s ranking order; values are accuracy minus the mean of five size-matched random ablations, in percentage points (pp), so negative values mean greater impairment than random. (a) Mean over models, with head counts interpolated on a percentage-of-heads axis; bands are model-bootstrap 95% intervals. FV-ranked ablations are the most damaging (−43 pp at 12.5% of heads), whereas removing novelty-ranked heads is less damaging than random removal (14 pp at 30%). (b) The same difference for each model, averaged over the first 30% of heads removed (shaded in a). Filled points are base models, open points instruction-tuned or distilled, and the diamond is Llama-3.1-70B; bars are means over models, and counts give the models below random controls.

Instruction tuning improved Llama-3.1-70B performance but reduced it for Llama-3.1-8B under the same raw-prompt protocol. Thus, performance depends on model family and training variant as well as scale. These immediate-answer scores do not measure each model's best achievable performance or the benefit of extended reasoning.

References (53)