Manuscript Offprint
arXiv:2610.21294Can Capability Enhancement be Localized?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Transformer-based language models have shown strong capabilities across many tasks and domains. However, prior work shows that, for a given task, not all attention heads matter equally. Specifically, they suggest that many redundant heads can be safely removed with little-to-no effect, while a small set of important heads, when ablated, severely damages the model's performance on the given task. In this work, we investigate a complementary aspect, called Capability Enhancement Localization (CEL): given a model and a task, does there exist a small set of heads whose removal improves the task performance? We first investigate this question empirically across models from different families. Using a simple two-stage routine that screens candidate heads and evaluates their joint ablations, we identify sparse head combinations whose removal improves task-specific performance without further fine-tuning. Motivated by these observations, we ask theoretically whether such a phenomenon can naturally arise from training dynamics, and under what conditions. To this end, we construct a simplified multi-head softmax attention model and two tasks with conflicting features, and show that gradient descent from small random initialization provably concentrates the conflicting features into particular heads. We further show that ablating such heads improves performance on one task while harming the other, even though training converges to a global optimum of the joint objective. This establishes a possible training-induced theoretical explanation for CEL.
1 INTRODUCTION
Large language models (LLMs) (Vaswani et al., 2017; Hoffmann et al., 2022) have demonstrated strong capabilities across diverse tasks, including language understanding, text generation, question answering, code generation, and mathematical reasoning (Brown et al., 2020; Raffel et al., 2020; Rae et al., 2021), among others. A notable feature of LLMs is that a single set of parameters supports many different tasks, which can often be specified through natural-language instructions or a few demonstrations without task-specific parameter updates (Brown et al., 2020; Wei et al., 2021). This breadth of functionality motivates a line of work studying how a shared network supports diverse capabilities and how its internal components (e.g., attention heads/layers) contribute to LLM performance on individual tasks.
Early works on LLM pruning demonstrated that the attention heads exhibit substantial redundancy and contribute unequally across different tasks. For example, Clark et al. (2019b) observed that attention heads within the same BERT layers (Devlin et al., 2019) often exhibit similar attention patterns, leading to overlapping behavior. Moreover, Michel et al. (2019) and Voita et al. (2019) showed that many attention heads can be pruned after training without substantially affecting the overall LLM performance. Together, those findings emphasize that the full complement of attention heads is generally not required at inference time for preserving task capabilities, motivating a closer look at which heads are dispensable and which are critical for particular tasks.
Besides the evidence of redundancy, recent works have identified attention heads with specialized roles. Examples include induction mechanism corresponding to in-context learning (Olsson et al., 2022), information retrieval from long contexts (Wu et al., 2025), and processing operands and operators for arithmetic tasks (Zhang et al., 2024), to name a few. Other work identified distinct heads that favor internal knowledge encoded in the model's weights or external context when these information sources conflict (Jin et al., 2024). These analyses revealed how specific heads support or route computations under various scenarios. More recently, broader capability-localization studies complement these findings. In particular, Huang et al. (2025) identified a small group of neurons associated with shared capabilities, while Bair et al. (2026) leveraged a cheap compressed sensing method (i.e., LASSO (Tibshirani, 1996)) to identify task-critical attention heads corresponding to separate capabilities. Ablating just a few of these task-critical heads can dramatically degrade the LLM performance on the corresponding task.
The above findings provided evidence of redundant and task-critical attention heads. In this work, we complement these findings by asking the following counter-intuitive question: given an arbitrary task and an LLM, is there a sparse set of attention heads such that ablating them improves the performance of that LLM on that task, without any further fine-tuning? For convenience, we term this question Capability Enhancement Localization (CEL).
We note that beneficial head removal has already been observed in some specific scenarios. Held & Yang (2023) identify heads that interfere with performance in multilingual models and show that pruning them can improve performance for a target language. Jin et al. (2024) prune heads involved in conflicts between a model's internal knowledge and external context. More recently, Nguyen et al. (2025) observe that pruning certain heads can improve mathematical reasoning and use different pruned configurations to generate diverse answers for best-of-N selection. In this work, we ask whether sparse beneficial head ablations can be found across a broader range of tasks and models, without presupposing a particular source of interference. More importantly, we ask how successful training can produce a head whose removal improves a task. We answer this theoretical question in a simplified attention model, where task conflict and learned feature allocation give rise to beneficial head ablation.
Contribution. In this work, we study the Capability Enhancement Localization (CEL) question, which asks whether there exists a sparse set of attention heads whose ablation improves task performance without further fine-tuning, given a task. Our contributions are:
-
In Section 3, we consider multiple model families and task configurations. Using a simple two-stage approach, we found evidence of the CEL phenomenon: given a task, ablating a sparse set of heads can significantly improve models' task-specific performance.
-
Motivated by empirical evidence of CEL, we seek a potential theoretical explanation for whether and how this phenomenon naturally arises in LLM training. To this end, in Section 4, we construct a simplified softmax attention model, trained on two tasks with a feature conflict. We then show in Theorem 4.2 that, under standard GD training, such conflicting features can be encoded into a specific attention head, leading to the localization phenomenon.
-
We then further show in Theorem 4.3 that ablating such a head can improve the model's performance on a single task while harming the other, even though training converges to an optimum of the joint objective. Together with the localization phenomenon, this theoretically establishes one possible mechanism for CEL.
Performance enhancement through head pruning. Prior work has found benefits from head removal in several settings. Held & Yang (2023) show that pruning heads associated with interference across languages can improve performance for a target language. Jin et al. (2024) study conflicts between internal knowledge and external context, and show that pruning selected heads can improve question answering. In mathematical reasoning, Nguyen et al. (2025) observe improvements from pruning particular heads and use different pruned configurations to produce diverse answers for best-of-N selection. In this work, we consider a more general setting by examining sparse beneficial interventions across a broader range of tasks and models, and provide a potential theoretical explanation of how this phenomenon can arise in LLM training dynamics, an aspect that was ignored by prior works.
Mechanistic interpretability and circuit discovery. Mechanistic interpretability studies how internal components implement model behavior. Wang et al. (2022) identify an attention-head circuit for indirect object identification, while Conmy et al. (2023) use activation patching to automate the discovery of computational subgraphs. Such localization need not predict the effect of changing a model: Hase et al. (2023) find that causal-tracing results do not identify the best MLP layers for factual editing. In our experiments, head ablation measures the effect of a specified intervention but does not reveal the computation performed by the removed heads. Our theory instead shows, in a simplified model, how training can produce a head whose removal benefits one task.
3 EMPIRICAL MOTIVATION: SPARSE BENEFICIAL HEAD ABLATION
In this section, we introduce our notation, define task-specific performance gain under head ablations, and formulate the Capability Enhancement Localization (CEL) problem as discovering small head subsets whose removal improves task-specific performance of the considered model.
3.1 HEAD ABLATION AND EVALUATION
Notation. We consider a transformer-based LLM with layers and attention heads per layer, with heads in total. We denote the head at layer and position by , and the set of all attention heads by . Our intervention targets a sparse subset of attention heads , with the number of elements for . In this work, we typically choose .
Head ablation, performance gain, and beneficial head subset. Given a set of attention heads, let denote the model obtained by setting the output of heads in to zero at every token position before the attention output projection. We note that all remaining parameters remain unchanged, and no fine-tuning is performed. For a task with a test dataset , we denote the performance of the model under the task as
Under the same inference and scoring protocol for the intact and ablated models, we denote the empirical ablation gain as . We then call the sparse subset of attention heads beneficial on the test set if .
Objective. Given a model , a task with a test set , and a head budget , we use a disjoint discovery set (i.e., ) from the task to select a head subset through a search routine :
The goal of CEL is to identify subsets whose joint ablation yields a large positive test gain , while using only discovery data to guide selection. The selected subset is fixed before test evaluation. By using this setup, our hope is that the identified subset truly improves the task-specific performance on task , rather than only overfitting the discovery set .
3.2 EXPERIMENTAL SETUP
Models and tasks. We evaluate three models of different families: Llama-3.2-3B-Instruct, Qwen2.5-3B-Instruct, and SmolLM3-3B-Instruct (Grattafiori et al., 2024; Qwen et al., 2025; Bakouch et al., 2025). The number of layers and heads of considered models can be found in Table 2.
Algorithm 1 Two-stage intervention selection and held-out evaluation
Require: Model M with head set H; task T; discovery set ; test set
Require: Candidate count p = 10; head budget k = 3
Ensure: Selected subset and its test-set gain
1: For , use and as defined above
2: Let count examples in D answered correctly by M but incorrectly by
3: Rank subsets on by higher gain, lower damage, higher accuracy, fewer heads, then lexicographic head order
Stage 1: Screen individual heads
4: for do
5: Evaluate on
6: end for
7: heads in the top p singleton interventions
Stage 2: Select a joint intervention
8:
9: for with do
10: Evaluate S on
▷ Reuse singleton results
11: end for
12: highest-ranked subset in C on
13: Freeze
Held-out evaluation
14: Evaluate on with a matched intact-model run
15: return , ,
For the tasks, we consider three capabilities using various datasets: (1) math capabilities with Arithmetic (Brown et al., 2020), (2) code generation with MBPP (Austin et al., 2021), and (3) language skills via HellaSwag (Zellers et al., 2019) and BoolQ (Clark et al., 2019a).
Intervention selection. For each model–task pair, we use a two-stage procedure on the discovery set . We first score individual heads to form a small candidate pool, then evaluate joint ablations of subsets drawn from that pool and select one subset with the best discovery-set performance. We fix this subset before measuring its gain on the held-out test set . The test examples play no role in scoring heads or choosing the intervention. Details of the procedure are given in Algorithm 1. For the dataset MBPP, we use the official test set as and subsample 374 examples for the training set as . For the datasets HellaSwag and BoolQ, we use the official validation datasets as the test set, and subsample 2,000 examples from the official training sets as discovery set . For the dataset Arithmetic, since it does not have a separate test set with official labels, we select from its official validation split of 20,000 examples 2,000 examples for and another disjoint 1,000 examples as . For convenience, we summarize the number of examples of discovery and test sets for each task in Table 3.
Hardware configuration. We ran the experiments as Slurm jobs, each allocated one NVIDIA L40S GPU, two CPUs, 24 GB of system memory, and with a batch size of 8.
3.3 RESULTS
Table 1 reports the held-out accuracy changes for the model–task pairs studied here. Each gain compares an ablated model with an intact model evaluated under the same task protocol. The reported interventions improve held-out accuracy across Arithmetic, BoolQ, HellaSwag, and MBPP. For example, the SmolLM3 Arithmetic intervention raises accuracy from 70.40% to 83.50%, a gain of 13.10 percentage points. The gains vary across model–task pairs, so the evidence supports beneficial sparse ablations in these tested settings, rather than a claim that ablation will help every model on every task.
Our two-stage search is deliberately simple. It searches small subsets within a pool selected using individual-head effects, so it need not find the best subset among all heads. These results establish the empirical phenomenon but do not explain why training can produce components whose removal improves a particular task. We next study this question in a simplified attention model. The theory
Table 1: Held-out performance of head ablations. SmolLM3 is evaluated in non-thinking mode.
| Model | Task | Intact acc. | Ablated acc. | Gain (pp) | Rel. error reduction |
|---|---|---|---|---|---|
| SmolLM3 | Arithmetic | 70.40% | 83.50% | +13.10 | 44.26% |
| BoolQ | 82.57% | 84.92% | +2.35 | 13.51% | |
| HellaSwag | 75.75% | 77.05% | +1.29 | 5.34% | |
| MBPP | 50.40% | 52.00% | +1.60 | 3.23% | |
| Qwen2.5-3B-Instruct | Arithmetic | 89.50% | 90.90% | +1.40 | 13.33% |
| BoolQ | 80.21 | 82.35 | +2.14 | 10.82% | |
| HellaSwag | 75.02 | 76.66 | +1.63 | 6.54% | |
| MBPP | 60.40% | 62.20 | +1.80 | 4.55% | |
| Llama-3.2-3B-Instruct | Arithmetic | 68.00% | 74.30% | +6.30 | 19.69% |
| BoolQ | 78.72% | 81.25% | +2.54 | 11.93% | |
| HellaSwag | 71.64% | 73.78% | +2.14 | 7.55% | |
| MBPP | 47.80 | 53.00% | +5.20 | 9.96% |
provides one possible mechanism for beneficial head ablation; it does not identify the mechanism responsible for the gains in the language models above.
4 A THEORETICAL EXPLANATION OF THE CAPABILITY ENHANCEMENT LOCALIZATION PHENOMENON
As we saw previously, there is strong evidence suggesting the existence of the CEL phenomenon. But why does it happen? In this section, we will investigate this question via a simple model with diagonal weights and small initialization scale, inspired by prior works (Boix-Adsera et al., 2023; Pesme & Flammarion, 2023; Berthier, 2023). We then show that the CEL phenomenon can potentially arise naturally in the training trajectory if there is initially some conflict between tasks.
4.1 TASKS, ATTENTION MODEL, AND TRAINING
In this section, we will first describe our simple model within which we study the CEL problem.
Data and task. Let be independent Rademacher variables which take the value in with equal chance. Fix real values , and set . We define two equally weighted training tasks
In this construction, the important feature is coordinate 0. On task A, the variable U appears in the input, but does not appear in the output, meaning that the ideal predictor should ignore coordinate 0. In contrast, on task B, the same variable U is useful, and should receive coefficient a. Therefore, in this case, the two tasks disagree about the desired use of the same input coordinate (a simple scenario of disagreements between tasks).
The situation with other coordinates is simpler. Coordinate 1, with variable V, carries the useful signal for task A, while coordinate 2 carries the useful W-signal for task B. In this case, for simplicity, we assume that the observations are noiseless, and we study population squared risk rather than finite-sample estimation error (which is a proxy to evaluate the population risk). In particular, this ensures that any beneficial ablation in the analysis comes from task conflict and training dynamics, rather than from overfitting to a finite sample.
Attention architecture and input encoding. We next consider a simple one-layer Transformer-style attention model with three attention heads. In this case, our goal is to understand how training allocates already available features across heads, rather than how features themselves are learned. We use a fixed coordinate encoding as follows. Let denote the standard basis vectors. For an input , we associate coordinate with the query . This means that the original input will be encoded as the series of tokens before being fed to the transformer
Therefore, the three coordinates of x are represented by three fixed feature directions. This is a deliberate modeling choice, as we want that the feature basis is supplied to the model, while how these features are associated to the attention heads is learned during the training process.
Fixed memory bank . For every coordinate , we introduce a fixed pair of memory tokens , . The query attends only to the corresponding pair , using a fixed attention mask shared by all three heads. This paired construction serves two purposes. First, it gives every head exactly the same access to every feature, so no feature-to-head assignment is deterministically imposed in advance. Second, the symmetric pair yields a particular signed softmax response (which we will see below), allowing us to analyze the training dynamics without replacing softmax attention by an artificial surrogate mechanism.
Attention output. Given an input , we form three queries . For each head and query , we use the standard scaled dot-product attention over the corresponding memory pair . Specifically, for , the attention weight can be calculated as
Roughly speaking and are simply the two softmax weights assigned by head h to the positive and negative memory token associated with feature j. The corresponding value vectors are and , and the output of head h for the query j can be written as
We then sum over all feature queries and all three attention heads: . Because our prediction target is scalar, we finally apply the fixed readout , and the scalar prediction of the model is , where denotes the tuple containing all the trainable parameters , for .
Diagonal parameterization. Following prior works of Transformer training dynamics (e.g., (Boix-Adsera et al., 2023)), for simplicity and tractability of the analysis, we restrict the query, key, value, and output projection matrices of each head to be diagonal, that is
This restriction removes cross-coordinate interactions and allows us to focus on analyzing the competition among heads for each feature. Importantly, we note that this assumption does NOT make the optimization dynamics linear, as the query, key, value, and output parameters are still trained separately and interact multiplicatively through the softmax attention mechanism.
Training objective. Since our goal is to understand whether joint training can create the capability enhancement localization phenomenon, we train the same attention model jointly on tasks A and B. For task , let denote the population squared risk of the attention model on task T, where is the scalar predictor defined by the attention block above. Since the two considered tasks are equally weighted, we train the predictor using the half-squared population loss, that is .
Weight initialization and training algorithm. We train all query, key, value, and output parameters using fixed step-size full-batch gradient descent. Concretely, for each head and feature , we collect the four trainable scalar parameters into . We initialize the weights as , where
where is a small positive constant controlling the initialization scale. In other words, the weights at initialization have covariance . Starting from this initialization, all parameters are updated using full-batch GD
where is a fixed learning rate. Importantly, no feature is assigned to any head beforehand, and we do NOT perform sign conditioning, parameter tying, rebalancing, or any other intervention mechanism during training. This means that if a particular feature eventually becomes concentrated in one attention head, that localization must arise naturally from the training dynamics and the random initialization rather than from predetermined head assignment.
4.2 JOINT OPTIMALITY DOES NOT DETERMINE HEAD ALLOCATION
We first express the attention model in terms of its effective feature coefficients. This representation identifies the predictor that minimizes the joint population loss and separates this aggregate optimum from the allocation of features across individual heads.
Proposition 4.1 (Exact softmax reduction and coefficient compromise). Consider the three-head attention model described as in Section 4.1, with the fixed coordinate encoding, paired memory bank, and diagonal query, key, value and output projection matrices. For each head and feature , define the effective head-feature coefficient , and let denote the total coefficient assigned to feature after summing over three heads. Then we have
-
Head-feature response: For each input , the contribution of head associated with feature is exactly .
-
Predictor representation: The model prediction can be written as , where and is defined as above. In other words, the resulting predictor is linear in the input features. However, the effective coefficients are highly non-linear functions of the trainable weights.
-
Population risks: Under the two data distributions defined as in Section 4.1, the population risks reduce to
- Joint training objective and optimum: As a result, the population objective can be rewritten as
This implies the optimal aggregate coefficient vector .
Proof sketch. The proof of Proposition 4.1 is straightforward from the original problem setting (Section 4.1). The detailed proof can be found in Appendix B.
Task conflict produces a compromise. Within this model, the coefficient on (U) is shared across tasks and cannot depend on which task generated the input. Task (A) requires coefficient zero, whereas task (B) requires coefficient (a). Joint optimization therefore selects , while fitting the task-specific coefficients (b) and (c) exactly. Both tasks have risk at this joint optimum.
Head allocation remains undetermined. Although the optimal aggregate vector is unique, its decomposition across heads is not: the objective constrains only the sums . This distinction matters because ablating head changes the predictor’s coefficient vector from to
, where . Removing a head that carries the conflicting coordinate may therefore also remove useful task-specific signal. Establishing beneficial head ablation requires understanding which decomposition training selects. We next show that gradient descent from small random initialization concentrates each feature in a single head.
4.3 GRADIENT DESCENT LOCALIZES FEATURES
We now show that gradient descent selects a particular structure among the many head decompositions compatible with the optimal aggregate predictor. Under small Gaussian initialization, each feature becomes concentrated in one head, while its contributions from the remaining heads stay small throughout training.
Theorem 4.2 (Training-induced feature localization). For , , let
Fix , set and , and train by full-batch GD from the initialization , where . Then there exists , depending only on , such that the following holds for every fixed step size . For almost every draw of , and for all sufficiently small , we have:
-
Convergence: the parameter trajectory is bounded and converges to a finite limit with . Each residual is positive and non-increasing.
-
Localization: there are labels , independent and uniform on , and a finite constant , independent of , such that
Consequently, .
- Finite checkpoint: define , for every fixed and sufficiently small , we have .
The proof details of Theorem 4.2 can be found in Appendix B. Intuitively, Theorem 4.2 establishes localization through training without prescribing a feature-to-head assignment. Every head initially has access to every feature, but random initialization and gradient descent select a winning head for each feature. This is a feature-wise statement: different features may share the same winning head. Thus, localization alone does not yet guarantee beneficial head ablation. The next subsection identifies an allocation event under which removing the head carrying the conflicting feature preserves the task-specific features and improves task A.
4.4 LOCALIZATION ENABLES BENEFICIAL HEAD ABLATION
We now connect feature localization to task-specific improvement. If the conflicting feature is concentrated in a head that carries neither task-specific feature, ablating that head removes the unwanted contribution to task A while approximately preserving its useful signal. The independent winning-head assignments in Theorem 4.2 give this event a positive probability. The detailed proofs of Theorem 4.3 can be found in Appendix B.
Theorem 4.3 (Training-induced beneficial head ablation). Under the assumptions of Theorem 4.2, let , and define the event
where is the head that wins the feature . Then . Under such event, set , and delete this head without changing any other parameters
For almost every initialization draw G in E, all sufficiently small , and every ,
where the error bounds are uniform over . Consequently
Interpretation of Theorem 4.3. In the small-initialization limit, both intact task risks approach . Removing the selected head reduces task A's risk to zero but increases task B's risk to . Consequently, the joint objective increases by . The intervention therefore improves one task by moving away from the jointly optimal compromise. By parameter convergence, the same ablation conclusions also hold at the limiting trained model. This therefore theoretically describes the CEL phenomenon.
5 DISCUSSION AND LIMITATIONS
Empirical scope. Our experiments provide evidence of beneficial sparse head ablations across three model families and four benchmarks. These findings concern the evaluated models, datasets, and inference protocols; they do not establish that beneficial ablations exist for every model–task pair. Although selection and evaluation use disjoint examples, the stability of the selected subsets and their gains across different discovery samples remains insufficiently characterized.
Search and head interactions. Our two-stage procedure identifies beneficial interventions but does not guarantee an optimal subset. Individual-head screening can exclude combinations whose benefits emerge only through joint ablation. Consequently, the gains depend on both the discovery data and the candidate pool, and an unsuccessful search would not establish the absence of beneficial sparse interventions.
Theoretical scope. We note that our analysis establishes a possible training-induced mechanism for CEL under a fixed feature encoding, diagonal projections, small Gaussian initialization, and full-batch gradient descent on a noiseless population objective. The architecture supplies the feature directions and restricts cross-coordinate interactions, while training determines their allocation across heads. The resulting task conflict arises within the shared predictor class. Therefore, the theory establishes one possible mechanism through which beneficial head ablation can arise despite joint optimality. It does not establish that this mechanism explains the empirical gains in the evaluated language models, nor that it accounts for all instances of CEL.
6 CONCLUSION AND FUTURE WORK
In this work, we study Capability Enhancement Localization (CEL): whether removing a small set of attention heads can improve task-specific performance without further fine-tuning. Across three model families and four benchmarks, a simple two-stage search identifies sparse head subsets whose ablation improves held-out accuracy. Motivated by these observations, we establish a potential training-induced mechanism for CEL in a simplified softmax attention model. Gradient descent from small Gaussian initialization concentrates features in individual heads, and, with positive probability, removing the head carrying a conflicting feature improves one task while harming another. This can occur even at a global minimum of the joint training objective, showing that successful joint optimization is compatible with beneficial task-specific head ablation.
We note that this work only provides an initial empirical and theoretical investigation of CEL. On the empirical side, future work could develop more efficient search procedures that account for interactions among heads, including beneficial combinations that individual-head screening may overlook. On the theoretical side, an important direction is to characterize when training produces beneficial head ablations beyond the fixed feature encoding and diagonal parameterization studied here. In particular, allowing learned representations and interactions among features could clarify when conflicting contributions become sufficiently separated from useful ones for sparse ablation to improve task performance.
AI USE STATEMENT
Experiment implementation. For the codes of all experiments described in this work, the authors use OpenAI Codex (with models GPT-5.6 Sol, GPT-6 Astra) for implementations.
Theoretical results. For the theoretical models, claims, and construction provided in this work, the authors use GPT-6.0 Astra for brainstorming ideas, theorem construction, and theorem proving, though the authors already had clue about the constructions at the first place. After that, the authors organize the statements, the proofs, and the elaboration in this paper with the help of LLMs. Finally, when incorporating the statements/proofs/elaborations into the main body and appendix, the authors rewrite the contents based on the authors' understanding. The authors verified the soundness and correctness of the theoretical results presented in this draft.
Paper writing. For paper writing, the authors use GPT-5.6 Sol and Grammarly. For every paragraph in this paper, the authors use the following workflow: (1) the authors draft the paragraph without the use of LLMs, (2) the authors then use GPT-5.6 Sol to improve/correct the wording and grammars, (3) the authors again modify the paragraph (fixed by GPT-5.6 Sol) again to improve the flow and personalize the deliver, and (4) the authors finally use Grammarly to fix the typos and grammars once again. The authors provide the citations and references by hand in the first step using Google Scholar, and no LLM is used for generating citation.
REFERENCES
Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021.
Anna Bair, Yixuan Even Xu, Mingjie Sun, and J Zico Kolter. Compressed sensing for capability localization in large language models. arXiv preprint arXiv:2603.03335, 2026.
Elie Bakouch, Loubna Ben Allal, Anton Lozhkov, Nouamane Tazi, Lewis Tunstall, Carlos Miguel Patiño, Edward Beeching, Aymeric Roucher, Aksel Joonas Reedi, Quentin Gallouédec, et al. Smollm3: smol, multilingual, long-context reasoner. Hugging Face Blog, 2025.
Raphaël Berthier. Incremental learning in diagonal linear networks. Journal of Machine Learning Research, 24(171):1–26, 2023.
Enric Boix-Adsera, Etai Littwin, Emmanuel Abbe, Samy Bengio, and Joshua Susskind. Transformers learn through gradual rank increase. Advances in Neural Information Processing Systems, 36: 24519–24551, 2023.
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. Advances in neural information processing systems, 33:1877–1901, 2020.
Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising difficulty of natural yes/no questions. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pp. 2924–2936, 2019a.
Kevin Clark, Urvashi Khandelwal, Omer Levy, and Christopher D Manning. What does bert look at? an analysis of bert's attention. In Proceedings of the 2019 ACL workshop BlackboxNLP: analyzing and interpreting neural networks for NLP, pp. 276–286, 2019b.
Arthur Conmy, Augustine Mavor-Parker, Aengus Lynch, Stefan Heimersheim, and Adrià Garriga-Alonso. Towards automated circuit discovery for mechanistic interpretability. Advances in Neural Information Processing Systems, 36:16318–16352, 2023.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), pp. 4171–4186, 2019.
Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Peter Hase, Mohit Bansal, Been Kim, and Asma Ghandeharioun. Does localization inform editing? surprising differences in causality-based localization vs. knowledge editing in language models. Advances in Neural Information Processing Systems, 36:17643–17668, 2023.
William Held and Diyi Yang. Shapley head pruning: Identifying and removing interference in multilingual transformers. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pp. 2416–2427, 2023.
Jordan Hoffmann, Sebastian Borgeaud, Arthur Mensch, Elena Buchatskaya, Trevor Cai, Eliza Rutherford, Diego de Las Casas, Lisa Anne Hendricks, Johannes Welbl, Aidan Clark, et al. Training compute-optimal large language models. arXiv preprint arXiv:2203.15556, 2022.
Xiusheng Huang, Jiaxiang Liu, Yequan Wang, Jun Zhao, and Kang Liu. Capability localization: Capabilities can be localized rather than individual knowledge. In International Conference on Learning Representations, volume 2025, pp. 40446–40462, 2025.
Zhuoran Jin, Pengfei Cao, Hongbang Yuan, Yubo Chen, Jiexin Xu, Huaijun Li, Xiaojian Jiang, Kang Liu, and Jun Zhao. Cutting off the head ends the conflict: A mechanism for interpreting and mitigating knowledge conflicts in language models. In Findings of the Association for Computational Linguistics: ACL 2024, pp. 1193–1215, 2024.
Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. Advances in neural information processing systems, 35:17359–17372, 2022.
Paul Michel, Omer Levy, and Graham Neubig. Are sixteen heads really better than one? Advances in neural information processing systems, 32, 2019.
Hieu Trung Nguyen, Bao Nguyen, and Viet Anh Nguyen. Structured pruning for diverse best-of-n reasoning optimization. In Findings of the Association for Computational Linguistics: ACL 2025, pp. 23911–23922, 2025.
Catherine Olsson, Nelson Elhage, Neel Nanda, Nicholas Joseph, Nova DasSarma, Tom Henighan, Ben Mann, Amanda Askell, Yuntao Bai, Anna Chen, et al. In-context learning and induction heads. arXiv preprint arXiv:2209.11895, 2022.
Abhishek Panigrahi, Nikunj Saunshi, Haoyu Zhao, and Sanjeev Arora. Task-specific skill localization in fine-tuned language models. In International Conference on Machine Learning, pp. 27011–27033. PMLR, 2023.
Scott Pesme and Nicolas Flammarion. Saddle-to-saddle dynamics in diagonal linear networks. Advances in Neural Information Processing Systems, 36:7475–7505, 2023.
A Yang Qwen, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengpeng Li, Dayiheng Liu, Fei Huang, Haoran Wei, et al. Qwen2. 5 technical report. arXiv preprint arXiv:2412.15115, pp. 2412–15115, 2025.
Jack W Rae, Sebastian Borgeaud, Trevor Cai, Katie Millican, Jordan Hoffmann, Francis Song, John Aslanides, Sarah Henderson, Roman Ring, Susannah Young, et al. Scaling language models: Methods, analysis & insights from training gopher. arXiv preprint arXiv:2112.11446, 2021.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research, 21(140):1–67, 2020.
Robert Tibshirani. Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society Series B: Statistical Methodology, 58(1):267–288, 1996.
Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
Elena Voita, David Talbot, Fedor Moiseev, Rico Sennrich, and Ivan Titov. Analyzing multi-head self-attention: Specialized heads do the heavy lifting, the rest can be pruned. In Proceedings of the 57th annual meeting of the association for computational linguistics, pp. 5797–5808, 2019.
Kevin Wang, Alexandre Variengien, Arthur Conmy, Buck Shlegeris, and Jacob Steinhardt. Interpretability in the wild: a circuit for indirect object identification in gpt-2 small. arXiv preprint arXiv:2211.00593, 2022.
Jason Wei, Maarten Bosma, Vincent Y Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M Dai, and Quoc V Le. Finetuned language models are zero-shot learners. arXiv preprint arXiv:2109.01652, 2021.
Wenhao Wu, Yizhong Wang, Guangxuan Xiao, Hao Peng, and Yao Fu. Retrieval head mechanistically explains long-context factuality. In International Conference on Learning Representations, volume 2025, pp. 62143–62156, 2025.
Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a machine really finish your sentence? In Proceedings of the 57th annual meeting of the association for computational linguistics, pp. 4791–4800, 2019.
Wei Zhang, Chaoqun Wan, Yonggang Zhang, Yiu-ming Cheung, Xinmei Tian, Xu Shen, and Jieping Ye. Interpreting and improving large language models in arithmetic calculation. arXiv preprint arXiv:2409.01659, 2024.
A ADDITIONAL INFORMATION FOR EXPERIMENT SETTING
Table 2: Model details. Here, denotes query heads per layer, and is the total number of ablatable heads. In our experiments, for convenience, SmolLM3 is evaluated in non-thinking mode.
| MODEL | LAYERS L | HEADS H | TOTAL HEADS N |
|---|---|---|---|
| LLaMA-3.2-3B | 28 | 24 | 672 |
| Qwen2.5-3B | 36 | 16 | 576 |
| SmolLM3-3B | 36 | 16 | 576 |
Table 3: Dataset sizes for discovery and held-out evaluation .
| DATASET | DISCOVERY | HELD-OUT |
|---|---|---|
| Arithmetic | 2,000 | 1,000 |
| HellaSwag | 2,000 | 10,042 |
| BoolQ | 2,000 | 3,270 |
| MBPP | 374 | 500 |
B ADDITIONAL RESULTS AND OMITTED PROOFS FOR SECTION 4
In this section, we will provide the detailed proof for the results presented in Section 4.
B.0.1 OMITTED PROOF FOR SECTION 4.2
First, we will provide the detailed proof for Proposition 4.1, which provides simplification for the feature response, predictor representation, population risks, and training optimum in our setting.
Proposition 4.1 (restated). Consider the three-head attention model described as in Section 4.1, with the fixed coordinate encoding, paired memory bank, and diagonal query, key, value and output projection matrices. For each head and feature , define the effective head-feature coefficient , and let denote the total coefficient assigned to feature after summing over three heads. Then we have
-
Head-feature response: For each input , the contribution of head associated with feature is exactly .
-
Predictor representation: The model prediction can be written as , where and is defined as above. In other words, the resulting predictor is linear in the input features. However, the effective coefficients are highly non-linear functions of the trainable weights.
-
Population risks: Under the two data distributions defined as in Section 4.1, the population risks reduce to
- Joint training objective and optimum: As a result, the population objective can be rewritten as
This implies the optimal aggregate coefficient vector .
Proof. We will present the proof in the following steps.
Step 1: Head-feature response: For a fixed head and a feature , we recall that the query associated with feature is , while the two corresponding memory tokens are
. From assumptions, the key and query matrices are diagonal, we have , , and . Therefore, after the -scaling in the dot-product attention, the two logits are
This means that the two softmax weights are
The corresponding value vectors are , , and the softmax weighted combination is
After applying the output projection , the contribution of the head for feature is . Note that , and is an odd function, we have
as expected.
Step 2: Predictor representation: We now sum over all heads to have . After summing over all feature queries and all heads, and applying the scalar readout, the model prediction becomes as expected. Here, we can see that the model is linear in the input . However, the coefficient are not directly trained parameters, but complicated functions of parameters
This is an important observation for the later localization result.
Step 3: task-specific population risks and joint training objective: Using the definition of task A and B, the closed form of the predictor , and the fact that the feature is Rademacher variables, we can directly calculate and . Therefore, the joint training objective is
and trivially the optimal aggregated coefficient .
B.1 ADDITIONAL RESULTS AND OMITTED PROOFS FOR SECTION 4.3
In this section, we will present the formal statements of supporting results and Theorem 4.2. The first result essentially says that, under small initialization and gradient flow trajectory (i.e., infinitesimal step-size) and for a given feature, there will be a corresponding leader head of which the weights will move away from initialization in a certain amount of time. Moreover, the earliest escaping time will be unique, i.e., there will not be two heads being the leaders for a single feature at the same time.
Lemma B.1 (Early competition among heads under small initialization). Fix a feature . For each head , the four trainable parameters associated with this feature are . Recall that they are initialized as
where is the small initialization scale. To describe their leading-order behavior near the (small) initialization, for a generic initial vector , consider the auxiliary ODE
(1) where describe the leading-order evolution of the normalized quartet . Assume that the coordinate g are nonzero and that one coordinate has strictly smaller magnitude than the other three. Then:
-
Finite auxiliary escape time: The ODE in Eq. 1 has a unique maximal solution , for some finite , and as . We call the auxiliary escape time of the quartet.
-
Sign alignment and balancing: the product eventually becomes positive, and as , the weights are balanced
- Unique leader for each feature: For three normalized Gaussian initialization , the escape times are almost surely finite and distinct. Therefore is almost surely uniquely defined. Moreover, . The variable are independent across features
Proof. We will organize the proof using the following steps.
Step 1: why the four-dimensional system is solvable. Fix one normalized initialization , and let be the solution of Eq. 1. For any coordinate , we have . Note that , and the same identity holds for every coordinate:
Therefore, the differences between squared coordinates are constant:
Define , then there exists a single scalar function with such that
Step 2: dynamic of the common scalar . Let be the coordinate product. By Step 1 and Eq. 2, we have , and from Eq. 2, we have . Therefore
This means that the four-dimensional ODE has reduced to a one-dimensional separable equation as above.
Step 3: Positive initial products. Let . First, supposed that , then initially we have . Since all are increasing, no coordinate can cross zero, which means says positive. Therefore, increases monotonically from 0 toward , and separation of variables gives
Define , and for large , note that , so the integrand behaves as . Therefore , and when . Moreover, we have as , and therefore
This means that .
Step 4: Negative initial products. Now assume that . Then initially, , so decreases. Let . By assumption, this minimum is achieved by a unique coordinate, say . From , that coordinate reaches 0 when . All other coordinate remain nonzero because their corresponding 's are strictly larger than . At the point where , we have
which means the coordinate does not remain at zero but crossing through zero and changes sign. This change flips the sign of from negative to positive. Therefore, after the cross, , and the scalar trajectory follows . We define
Near , exactly one factor in the denominator vanishes linearly, so the integrand behave like , which is integrable, and therefore . Now note that the trip from 0 to takes time , the trip from to 0 take time , and the trip from 0 to take time as shown above. Therefore, when . Hence, we conclude that in both case, .
Step 5: Why the four factor magnitudes become balanced. From the above, we know that , and therefore
As , we have , and therefore .
Step 6: Scaling the initialization. We have this useful observation: if the initial vector is multiplied by , then . Changing variables in the integrals above gives . This is also consistent with the actual initialization . If we applied the auxiliary ODE directly to the initialization , its escape time would be . But the common factor is identical for all three heads. Therefore
This is why we can skip the normalized factor and compare the normalized escape times .
Step 7: Gaussian escape times have no atoms. Let , and write , where , and . For an isotropic Gaussian vector, and are independent, and has a continuous density. From Step 6, we have . With probability one, all coordinates of are nonzero and its smallest absolute coordinate is unique. By the preceding steps, for every such direction. Conditional on any such , is fixed, and the mapping is strictly decreasing and continuous on . Therefore, for every fixed , we have
Averaging over , we have .
Step 8: Unique and uniformly early leader. For a fixed feature j, we have
Therefore, are i.i.d. atom-less random variables. Therefore, the ties occur with probability zero, and therefore
is almost surely unique. Because the three head are exchangeable, we have
Finally, the Gaussian initialization blocks for different feature are independent, therefore are independent, which concludes the proof.
Remark 1 (Interpretation of Lemma B.1). For each feature j, three heads begin from independent small random quartets. Their normalized leading-order dynamics have different escape times, so almost surely one head starts growing before the others. Lemma B.1 therefore identifies this early leader. However, it: (1) does NOT yet say that this head permanently wins the feature and (2) it establishes continuous time analysis. Both aspects will be discussed below.
Lemma B.1 establishes the leading head phenomenon for each feature but under gradient flow assumption. In the following result, we connect these claims with the actually discrete GD iterates. Essentially, it shows that GD can track auxiliary ODE before escape times of the selected heads, provided the residual remains positive and unbounded.
Lemma B.2 (Discrete GD follows the auxiliary dynamics before escape). Fixed one feature and consider three heads . For each head , let
and define the total coefficient . Let be the target coefficient and its loss weight. Consider the square loss and full-batch GD
Equivalently, writing , and the update is
Initialize , for and define the normalized parameters . Also define , and the limiting four-factor vector field
Assume that, over the GD iterates under consideration, , for some fixed finite . Define the residual-weighted auxiliary step and cumulative time by , . Let be any nonempty set of heads and fix . Here, specifies only the heads whose trajectories we approximate, and the residual and the GD updates still involve all three heads, then
- The exact softmax field approaches the four-factor field: On every compact set , we have for some constant , and
- Normalized GD follows the auxiliary ODE before escape: there exists such that, for all sufficiently small ,
for every iterate satisfying . More precisely, the error is , where , and hence is for fixed . The same error bound also holds at the first crossing index , if it exists, for which . The step sizes may depend on all current model parameters, that is, the approximation requires only their positivity and the bound , not independence from the iterates.
Proof. We again divide the proof into the following steps.
Step 1: The exact softmax field approaches the four-factor field: From , we have
Substituting , we have , and similarly . Using Taylor's expansion, for small , we have
This implies that .
Step 2: Normalized GD follows the auxiliary ODE before escape: now divide the GD update
by , and since by definition, we have
Here, notice that . Therefore, normalized GD is a variable-step Euler discretization of the auxiliary ODE. Since , the steps satisfies for . Fix . Since lies strictly before every escape time, all exact ODE trajectories remain in a common compact set on a slightly larger interval . On this set is Lipschitz with some constant . For one ODE steps, we have
We then define
Choose such that . The selected exact trajectories on lie in the interior of a compact cube , with a positive distance from its boundary. Take sufficiently small that .
As long as the numerical iterates lie in K, the preceding one-step estimate applies, including to a candidate step that would leave K. Since , applying discrete Gronwall inequality gives
For iterates before the threshold and for the first crossing iterate, we have
Consequently, . For sufficiently small , this bound is smaller than the distance of the exact trajectories from the boundary . Thus a first numerical exit from is impossible, which implies the estimate throughout the claimed interval, including the first crossing step. If the clock never reaches , the same argument applies to every finite prefix.
This argument uses only the realized bounds on the step sizes and their cumulative sum, and it does not require the mesh to be independent of the iterates. Finally, for fixed , , and . Therefore as desired.
Remark 2. Lemma B.2 essentially says that as long as no auxiliary trajectory has reached its escape time, the normalized discrete GD trajectory stays close to the continuous four-factor trajectory from Lemma B.1. Therefore, the early head competition predicted by that auxiliary ODE genuinely describes the early stage of the actual GD dynamics.
The following lemma shows that, under suitable parameter and sufficiently small step-size, one GD steps preserves the positivity of the residual and does not increase it. In other words, the aggregated coefficient moves toward its target without overshooting. We will combine this result with the parameter bounds provided below to maintain these residual conditions throughout training.
Lemma B.3 (No residual overshoot). Fixed one feature and write , , and , where , and . Suppose that the weights of every head satisfies , and that , where , , , and are defined as in Section 4.1. If , where
then every update segment lies in , and for each head
Consequently, , , where is the aggregate coefficient after one GD update, and . In other words, a positive residual remains positive after one GD step.
Proof. On a box with , we have , and . Since , the first step-size condition in the definition of implies , so the whole update segment remains in . On this box, we have . Using Taylor's expansion, we have
where the residual . Since , we have
Summing over three heads, and note that , we have
Since , and , we have . Finally, , which implies as desired.
We now establish an invariant region for the candidate winning head.
Lemma B.4 (Bounded invariant region for the winning head). Fix one feature and let be the head with the smallest auxiliary escape time from Lemma B.1. Consider a discrete GD iterate obtained after applying Lemma B.2 at a time sufficiently close to that escape, so that the four parameters of , that is , have positive product and are approximately balanced. After a fixed sign change that leave both and the GD dynamics unchanged, we may assume . Define
Suppose that at the current iterate
and whenever , we have . Also, assume that Lemma B.3 applies to the next GD step, that the next total coefficient satisfies , and that the total next-step contribution of the two heads is at least -1. Then the updated parameters of satisfy the same inequalities, that is
Therefore, all four updated parameters remain in the box .
Proof. Let , . Since , we have . The exact GD update gives
By the step-size conditions in Lemma B.3, both multipliers lie in , and therefore , . At the same time, and are non-decreasing, so
Thus, the two parameter pairs remain balanced, which implies
Moreover, the exact updates of Q and V satisfy
Using the fact that , and together with the balanced bounds and the step-size restrictions, we have . Since , we have
The task left is to show that the boundedness. Let denote the contribution of after the update. Since , and the other two heads contribute at least -1, we have . By balance, we have
Since , we have . Therefore
In the above, the RHS is increasing in , and recall that by definition, it exceeds at . Therefore .
Now consider . If , we have , . Since , we have . If instead , similarly, we can show that . Since , we have
Therefore
Therefore, all defining inequalities are preserved after the update. Finally,
This implies that every updated parameters have magnitude smaller than , which concludes the proof.
Finally, we show that the weights of other non-winning heads will stay small throughout the training.
Lemma B.5 (Remaining residual clock). Fix one feature, and let the designated winning head satisfy the invariant-region conditions of Lemma B.4 throughout the interval under consideration. Let , and . Recall that the GD step is scaled by . Then we have
Moreover, . Therefore, for every , we have
In other words, the total remaining residual-weighted clock is finite.
Proof. Denote . Because the winner remains in the invariant region as in Lemma B.4, we have . Therefore, by the definition of , we have
Recall that
Since every factor is at least , each coordinate of the gradient is at least . Therefore, after one update, we have
Now define . The step-size bounds from Lemma B.3 imply , which implies , so
For , we have , which implies . Telescoping from to , we have
as desired.
Remark 3. Lemma B.5 essentially shows that, once one head has established itself as the winner, there is not enough effective training time remaining for the losing heads to catch up. Combined with Lemmas B.1 and B.2, together with the stability result of Lemma B.4, this establishes that each feature becomes localized to a particular head. We formalize this localization property in the following result.
We are now ready to present the main theorem, which establishes that training induced feature localization.
Theorem 4.2 (restated). For heads and features , denote
Fix , set and , and train by full-batch GD from the initialization , where . Then there exists , depending only on , such that the following holds for every fixed step size . For almost every draw of , all sufficiently small , we have:
-
Convergence: the parameter trajectory is bounded and converges to a finite limit with . Each residual is positive and non-increasing.
-
Localization: there are labels , independent and uniform on , and a finite constant , independent of , such that
Consequently, .
- Finite checkpoint: define , for every fixed and sufficiently small , we have
Proof. Let , , , and choose
Fix . Because the objective separates across features, we first fix and suppress its index. Write
The exact GD update is
Fix a Gaussian draw for which the conclusions of Lemma B.1 hold and the three auxiliary escape times are finite and distinct, and note that this event has probability one. Let
We will organize the proof in the following steps.
Step 1: Enter the invariant region. Choose such that , and define
Choose sufficiently large such that
By Lemma B.1, the winning auxiliary trajectory eventually has positive product, its factor magnitudes diverge, and their squared ratios converge to one. Therefore, we can choose such that at , its smallest factor magnitude exceeds and its largest-to-smallest squared-factor ratio is less than .
Introduce the normalized parameters and clock
Then Eq. 4 becomes
Initially, . Therefore, for sufficiently small , all parameters lie in and . Until the first crossing of , a stopping argument using Lemmas B.2, B.3 gives us
and for every head. Indeed, Lemma B.3 excludes residual failure, while Lemma B.2, including its candidate-step estimate, excludes a first exit from the parameter box.
The clock crosses in finite time. Otherwise, Lemma B.2 would imply for every , and therefore for sufficiently small . This would force , contradicting for all .
Let be the first crossing index, Lemma B.2 gives
After a fixed coordinate-wise sign change, we may treat the winning factors as positive. This change preserves c and the GD dynamics because the quartet has positive product. For sufficiently small , we have
(9) and the squared-factor ratio is at most two.
Consequently, writing
we have
Since , the winner belongs to the invariant region of Lemma B.4.
Step 2: permanent exclusion of the losing heads. We prove by induction that, for every , the winner remains in the invariant region , and the losing heads satisfy for for a constant independent of and sufficiently small . All parameters will consequently remain in the box required by Lemma B.3.
These properties hold at . Suppose that they hold through iteration n. Lemma B.3 gives
Applying Lemma B.5 to the controlled starting states , ,n and using Eq. 9, we have
Crucially, this bound does NOT assume that the candidate terminal state already belongs to the invariant region.
The losing auxiliary trajectories are bounded through since . Applying Lemma B.2 to these two heads alone, on the common residual-dependent mesh, gives
Using the fact that , we have
For sufficiently small , the sum of the losing coefficients is therefore at least -1. Together with Eq. 10, Lemma B.4 implies that the winner remains in its invariant region and returns to the original parameter box. This finishes the induction.
Combining these estimates with the pre-entry bounds, and enlarging a constant if necessary, gives
Lemma B.3 also establishes positivity and monotonicity of the residual through training.
Step 3: Parameter convergence and exact fitting. For each sufficiently small , Lemma B.5 gives
Since , it follows that
All parameter quartets remain in a compact box, so their gradients are uniformly bounded. Eq. 4, and the preceding summability bound imply
Therefore, every parameter quartet converges to a finite limit. By continuity and the above, we have , and therefore
Step 4: Finite-checkpoint bound. Let . This index is finite by convergence. For sufficiently small , it occurs after entry into the invariant region, since . From Step 2, we might further choose sufficiently small that
Since is non-decreasing, we have
For the positive winning factors, the invariant-region bounds implies
Therefore, the above implies . Moreover
Consequently
Lemma B.3 gives
and therefore
The contraction factor is in : comparison with the no-overshoot bound gives .
Before , we have . The clock bound implies
which implies . It follows that for sufficiently small . Iterating Eq. 13, using , and gives
For every fixed , the final expression is at most for sufficiently small . Residual monotonicity then gives
Finally, apply the argument to all three features, taking the minimum of their initialization thresholds and the maximum of their constants. Lemma B.1 identifies each winner as
The escape times are i.i.d. and atom-less across heads, so each winner is unique almost surely and uniformly distributed. The initialization blocks are independent across features, so the winner labels are independent. This concludes the proof.
B.2 ADDITIONAL RESULTS AND OMITTED PROOFS FOR SECTION 4.4
We now present the detailed proof for our main result, which establish a potential explanation for the emergence of CEL under training dynamics.
Theorem 4.3 (restated). Under the assumptions of Theorem 4.2, let , and define the event
where is the head that wins the feature . Then . Under such event, set , and delete this head without changing any other parameters
For almost every initialization draw G in E, all sufficiently small , and every ,
where the error bounds are uniform over . Consequently
Proof. By Theorem 4.2, the head labels , , are independent and uniform on . Conditional on , each , avoid with probability . Therefore, .
Fix a draw for which Theorem 4.2 holds. At an iterate , suppress the superscript , and write
Theorem 4.2, with M = 4, gives
Moreover, every head other than loses feature 0, and loses features 1 and 2 on E. Hence, for a finite ,
All these bounds hold uniformly for . The intact aggregate coefficients are
After deleting , they become
Using , we obtain . Similarly, we can show that . The uniform bounds in Eq. 14 and on make both remainder estimates uniform over all . Because , both quantities are positive for sufficiently small , and the second quantity measures the damage of head ablation on task .
For the probability conclusion, let denote the event inside the display probability in the statement. The equations above imply that, for almost every , the event holds for all sufficiently small . Thus, along any sequence , we have
Fatou's lemma gives
Since the sequence was arbitrary, the lower-limit probability follows.