atlas

Research map / Architectures and efficiency / Attention and transformers

Differentiation and Specialization of Attention Heads via the Refined Local Learning Coefficient

ICLR 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head mechanisms · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces refined local learning coefficients (weight-, data-, and weight-and-data-refined) to track how attention heads in a two-layer attention-only transformer differentiate and specialize over training, and uses them to find a multigram circuit.

Problem

How attention heads in transformers differentiate into functional roles and specialize to data patterns during training, and how to measure internal structure developmentally using singular learning theory.

Approach

Refine the local learning coefficient to a component (weight subset) and/or an arbitrary data distribution, yielding weight-refined, data-refined, and combined rLLCs that track per-head complexity and specialization over training checkpoints.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use weight-refined LLC curves to distinguish attention-head types across trainingTwo-layer attention-only transformer · Pretraining on a subset of the PileAlignment of LLC curves with functional head typesHelped
Refine LLC measurements using the GitHub code distributionInduction heads 1.6 and 1.7 · GitHub codeInduction-pattern specialization reflected by data-refined LLCHelped
Use a one-layer transformer as the generating process for data-refined LLCsAttention heads in the two-layer transformer · Simple multigrams predicted by a one-layer modelDetection of changes in head information about simple multigramsHelped
Mean-ablate attention head 1.5 (ablation)Two-layer attention-only transformer · Synthetic sentences with parenthesesLossHurt
Mean-ablate layer 0 multigram heads and patch their activations into the input of head 1.5 (ablation)Two-layer attention-only transformer · Synthetic sentences with nested bracketsLossHurt
Mean-ablate layer 0 multigram heads and patch their activations into the input of head 1.5 (ablation)Two-layer attention-only transformer · Synthetic sentences with unnested parenthesesPerformanceMixed

Surprising findings

Limitations

Experimental setup

Datasets: The Pile GitHub subset of the Pile synthetic parentheses dataset

Metrics: refined local learning coefficient mean-ablation loss increase in-context learning score K-composition score clustering agreement

Baselines: Hessian trace Fisher information matrix trace Hessian rank zero ablation resample ablation

Builds on: local learning coefficient singular learning theory A Mathematical Framework for Transformer Circuits In-context learning and induction heads

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy