betaFeedback

WorksComputer Science

Attention Head Specialization: Phase Transitions in Sample Complexity

Abstract

Attention heads specialize into distinct functions during training, often emerging in stages together with sharp changes in model behavior. While this phenomenon has mostly been studied as a function of training time, we ask how head specialization depends on the amount of available training data. Empirically, we find that heads specialized to syntactic relations in BERT emerge as the dataset size increases. We then study this phenomenon in a solvable high-dimensional model of multi-head attention and establish that, in this model, head specialization is a genuine phase transition in sample complexity, corresponding to a non-analyticity in the test error and other observables. Depending on data structure and regularization, specialization can follow uninformative head differentiation or occur through a cascade of phase transitions that progressively recover weaker latent features, providing a statistical form of simplicity bias. Finally, we relate these statistical transitions to the stagewise emergence of specialized heads during online learning, disentangling statistical from dynamical origins of head specialization.

Introduction

Multi-head attention is a central architectural ingredient of modern transformer models, enabling multiple attention patterns to coexist within a single layer. Different heads learn to perform distinct functions, while their collaboration allows implementing circuits that no individual head captures alone. Empirical studies have identified such specialized heads across multiple settings, including induction heads involved in in-context learning (ICL) [22, 37], heads specializing to different syntactic relations [8], and heads progressively differentiating into distinct functional roles during training [34]. Head specialization has predominantly been studied as a function of training time: specialized mechanisms emerge at distinct stages of training, sometimes coinciding with sharp improvements in performance or drops in training loss [16, 1].

Much less is known about specialization as a function of the amount of available training data. Rather than asking when during training different heads specialize, one can ask how many samples are needed for distinct specialized heads to emerge. This distinction separates a statistical question about the information available in the dataset from the particular optimization dynamics used to learn it. We investigate this question in BERT masked language models (MLMs), where syntactic attention structure (SAS), characterized by heads specializing to different syntactic relations [10], emerges during training alongside a sharp drop in loss [8]. Empirically, training BERTSmall_{\text{Small}} models from random initialization on datasets of NN sequences from BookCorpus and English Wikipedia reveals a clear phenomenology shown in Figure 1: as NN increases, SAS emerges sharply over a characteristic range of dataset sizes, accompanied by abrupt changes in the learning curves. For each dataset size, we fix the sequences and masking patterns throughout training and report metrics at the checkpoint with lowest validation MLM loss. Following Chen et al., [8], we quantify SAS on a separate syntactically annotated corpus as the fraction of parent-child pairs recovered by each head’s maximum word-level attention. Aggregating accuracy across relations for the best head gives the unlabeled attachment score (UAS), which measures alignment between attention and syntactic structure enabled by specialization of the heads.

Figure 1. Head specialization as a function of sample complexity. Left: BERTSmall_{\mathrm{Small}} models trained independently on fixed datasets of NN sequences through minimization of masked-language-modeling (MLM) loss. (first panel) Validation error and training MLM loss (140). (second panel) Unlabeled attachment score (UAS) (143), measuring the fraction of dependency parents correctly recovered from word-level attention by the best head, layer, and attention direction. Curves show averages over five runs, with shaded bands indicating seed variability. Reported metrics are evaluated at early-stopped checkpoints selected by the lowest validation loss along each training trajectory. Experimental details are provided in App. § 15.§ 3. Right: Qualitative comparison with the solvable flipping spike model (§ 3) as the sample complexity α=N/D\alpha= N/D increases, with NN the number of sequences and DD the token dimension. Solid lines correspond to theoretical predictions and markers to numerical experiments with D=2000D = 2000, ν1=0.35\nu_1 = 0.35, ν2=2.0\nu_2 = 2.0, L=10L = 10, H=2H = 2, λ=0.2\lambda= 0.2. (third panel) Test and training errors exhibit non-analyticity at the specialization threshold. (fourth panel) Head–feature alignment reveals specialization to the latent feature.

Sample complexity provides a natural control parameter for asking whether such emergence corresponds to a genuine phase transition. In the statistical physics of learning, one considers a proportional high-dimensional limit in which the number of trainable degrees of freedom and training samples grow together, D,N→∞D, N \to\infty at fixed α=N/D\alpha= N/D. This framework has a long history in neural-network theory, where increasing sample complexity can induce phase transitions from permutation symmetric to specialized solutions in the committee machine ([28, 29, 2]). In this limit, changes between qualitatively different learning regimes can become sharp, with nonanalyticities of macroscopic observables at critical values of α\alpha. For multi-head attention, this raises a precise question: can the emergence of specialized heads be understood as a genuine phase transition controlled by sample complexity?

We answer this question in a tractable multi-feature variant of the single-location regression (SLR) model ([21, 26]), whose head-specialization dynamics under online learning were characterized in Sagitova et al. [26]. The task is to retrieve one token carrying a low-dimensional latent signal from a sequence of otherwise uninformative tokens, using multiple attention heads that can specialize to different latent features. Here, instead of following training dynamics, we study the associated empirical risk minimization (ERM) problem as a function of sample complexity. Figure 1 shows that this model exhibits behavior qualitatively analogous to that observed in the BERTSmall_{\mathrm{Small}} experiment. Moreover, we show that, in this model, head specialization occurs through phase transitions in sample complexity, characterized by non-analyticities in the order parameters and prediction error at critical values of α\alpha.

The resulting phase diagram reveals a richer structure than a single specialization threshold. At low regularization and low sample complexity, specialization is preceded by an unspecialized phase with broken head-permutation symmetry, in which heads differ by fitting sample-specific fluctuations without recovering distinct latent features. This illustrates that distinct attention patterns alone do not imply specialization that improves generalization. For heterogeneous signals, increasing sample complexity instead produces a cascade of specialization transitions: heads successively recover latent features from strongest to weakest, so that increasingly subtle structure requires increasingly more data. This provides a statistical counterpart of stagewise learning and simplicity bias, arising here from the structure of the ERM solutions rather than from a particular training dynamics.

Finally, we connect these equilibrium transitions back to the training-time phenomenology from which we started [22, 34, 1, 8]. In online learning, training time and the amount of observed data increase together, entangling the statistical transition with optimization dynamics. In the solvable model, we show how the critical sample complexities map onto the emergence of specialized heads along training. This perspective suggests that some of the abrupt or stagewise emergence observed during transformer training may reflect underlying statistical phase transitions, while distinguishing these from phenomena that are genuinely dynamical and helping clarify how such transitions manifest in learning dynamics.

Main Contributions. The main empirical result of the paper is the characterization of head specialization in the number of training samples. In a tractable model of multi-head attention, we then show that head specialization is a statistical phase transition in sample complexity, and connect the equilibrium transition to specialization during training. Our main technical contributions are:

  • We derive a tight asymptotic characterization of the regularized ERM problem in the proportional high-dimensional limit N,D→∞N, D \to\infty at fixed α=N/D\alpha= N/D, through closed self-consistent equations for the errors and order parameters (§ 4).

  • We show that head specialization is a genuine phase transition in sample complexity. Depending on regularization and signal structure, we uncover an unspecialized phase with broken head-permutation symmetry, as well as a cascade of specialization transitions in which increasingly weaker latent features are recovered with increasing sample complexity, yielding a statistical form of simplicity bias (§ 5).

  • We establish a controlled correspondence between these equilibrium phase transitions and the emergence of specialized heads during online learning, relating critical sample complexities to training-time specialization and disentangling statistical from optimization-dependent effects (§ 6).

Notations. We write [n]={1,…,n}[n] = \{1, \ldots, n\}, δij\delta_{ij} for the Kronecker delta, and In\mathbb{I}_n for the identity matrix. For a matrix AA, AiA_i and A⋅jA_{\cdot j} denote its ii-th row and jj-th column. We write ∥⋅∥2\lVert\cdot\rVert_2 for the Euclidean norm, ∥⋅∥F\lVert\cdot\rVert_F for the Frobenius norm, and v⊗2=vvTv^{\otimes2} = vv^{\mathsf{T}}. We denote by N(μ,Σ)\mathcal{N}(\mu, \Sigma) the Gaussian distribution with mean μ\mu and covariance Σ\Sigma.

Empirical emergence and head specialization. Specialized attention heads have been observed across architectures and tasks, including induction heads associated with in-context learning [22, 37], syntactic heads in masked language models [8], and circuits studied in controlled synthetic settings (Singh et al., 2024). A complementary literature studies when such capabilities and internal mechanisms emerge during training, including abrupt changes in performance [35], stagewise development and head differentiation [16, 34], and the emergence time of induction heads [1]. Such behavior can depend strongly on data, initialization, and training trajectory: emergent capabilities can be transient [30], vary across random seeds [17, 40], and depend on the structure of the training data [24]. While these works predominantly follow a model through training, our BERT experiments instead hold dataset size fixed for each training run, and study how syntactic head specialization changes across datasets of different sizes.

Theory of attention and head specialization. Recent solvable models characterize learning in attention architectures, including single-location regression [21, 13], sequence multi-index models [32], attention-indexed models [5], mapping to generalized Potts model [25], or hierarchical models [6]. Multi-head specialization has primarily been studied through training dynamics [9, 30, 39, 26, 38]. Here we instead study specialization at equilibrium as a function of sample complexity.

Phase transitions and specialization in neural networks. Specialization as a sample-complexity phase transition has a long history in committee machines, where increasing α=N/D\alpha= N/D can induce transitions to solutions in which different hidden units align with distinct features of the data [28, 29, 2, 23]. Phase transitions have also been studied in solvable attention models [12]; most closely, Lavie et al. [18] establish a sample-complexity transition for the emergence of a single copy head. We instead study specialization of attention heads and the associated emerging generalization capabilities.

Single-location regression model

We consider the multi-feature spiked single-location regression (SLR) model of Sagitova et al. [26]. The task is to retrieve one randomly located relevant token from a sequence of otherwise uninformative tokens. The informative token is structured by a low rank planted signal over FF latent directions. Learning this structure with multiple low-rank heads provides a tractable setting for studying head specialization.

Data model. We consider an embedding dimension DD. We first draw FF independent hidden spikes kf∗∼N(0,ID)k_f^* \sim\mathcal{N}(0, \mathbb{I}_D) defining the latent structure that remains fixed across all sequences. We denote K∗={kf∗}f=1FK^* = \{k_f^*\}_{f=1}^{F} the matrix with rows kf∗Tk_f^{*\mathsf{T}}. A sequence X∈RL×DX \in\mathbb{R}^{L \times D} consists of LL tokens {Xℓ}1≤ℓ≤L\{X_\ell\}_{1 \le\ell\le L}. A hidden index ϵ∈[L]\epsilon\in[L] identifies the relevant token XϵX_\epsilon containing a planted spike k^\hat{k} generated from the FF latent directions, while remaining tokens Xℓ≠ϵX_{\ell\ne\epsilon} are independent isotropic Gaussian noise. For each sequence, we independently draw ϵ∼Unif⁡([L])\epsilon\sim\operatorname{Unif}([L]) and the feature weights θ∼Pθ\theta\sim P_\theta with θ∈RF\theta\in\mathbb{R}^{F}, defining the sequence-dependent spike k^\hat{k}, such that the tokens XℓX_\ell are independently distributed conditionally on ϵ\epsilon and θ\theta as

k^=K∗TθD∈RD,Xℓ∼N(δℓ,ϵk^,ID),ℓ∈[L].(1)\hat{k} = \frac{K^{*\mathsf{T}}\theta}{\sqrt{D}} \in\mathbb{R}^{D}, \qquad X_\ell\sim\mathcal{N}(\delta_{\ell,\epsilon}\hat{k}, \mathbb{I}_D), \quad\ell\in[L]. \tag*{(1)}

The associated label is the relevant token y=Xϵy = X_\epsilon. As the latent ϵ\epsilon and θ\theta are sampled at every sequence/context, deducing them can also be seen as a simple case of in-context learning. In the following, we will consider two choices for the distribution PθP_\theta. In the flipping spike mode, a latent direction is kept constant while another flips sign randomly across sequences: F=2F = 2, θ1=ν1\theta_1 = \sqrt{\nu_1}, and θ2∼Unif⁡({−ν2,ν2})\theta_2 \sim\operatorname{Unif}(\{-\sqrt{\nu_2}, \sqrt{\nu_2}\}), where we define signal strengths ν1>0\nu_1 > 0, ν2>0\nu_2 > 0. In the non-isotropic Gaussian model, all components of the planted spike fluctuate independently with different covariances: θf∼N(0,νf)\theta_f \sim\mathcal{N}(0,\nu_f), where we define signal strengths ν1≥⋯≥νF≥0\nu_1 \ge\dots\ge\nu_F \ge0.

Multi-head attention. We consider learning of the stated task with a single layer of low-rank attention with HH heads. This architecture is well suited for retrieval of low rank structure, with different heads attending to different features. Specifically, we consider the estimator fK:RL×D→RDf_K : \mathbb{R}^{L \times D} \to\mathbb{R}^D given by rank-one attention heads with trainable weights K={kh}h=1H∈RH×DK = \{k_h\}_{h=1}^H \in\mathbb{R}^{H \times D}:

fK(X)=1H∑h=1Hsoftmax⁡(XkhD)TX,(2)f_K(X) = \frac{1}{H} \sum_{h=1}^{H} \operatorname{softmax}\left(\frac{X k_h}{\sqrt{D}}\right)^{\mathsf{T}} X, \tag*{(2)}

where attention vectors are uniformly averaged across heads. This model can be viewed as a simplification of cross-attention with fixed sequence-independent query embedding and identity value matrix, as discussed in Marion et al. [21] and Duranthon et al. [13]. Note that, while considering larger (extensive) rank attention is technically possible (Boncoraglio et al. [5]), this is left for future work. Similarly, training the value matrix with a fixed number of parameters could be accommodated by an extended parametrization. The current model then constitutes a relevant minimal estimator for the study of head specialization in the designed task. As mentioned in Sagitova et al. [26], this type of attention layer is also used in practice (Carion et al. [7]).

Empirical risk minimization. We study learning from a finite dataset D={Xμ,yμ}μ=1N\mathcal{D} = \{X_\mu, y_\mu\}_{\mu=1}^{N} of NN independently sampled sequences, and their associated labels. An attention layer f^K\hat{f}_K is learned by regularized empirical risk minimization (ERM):

K^=argmin⁡K∈RH×DLtrain(K),Ltrain(K)=∑μ=1N12D∥yμ−fK(Xμ)∥22+λ2∥K∥F2,(3)\hat{K} = \underset{K \in\mathbb{R}^{H \times D}}{\operatorname{argmin}} \mathcal{L}_{\mathrm{train}}(K), \qquad\mathcal{L}_{\mathrm{train}}(K) = \sum_{\mu=1}^{N} \frac{1}{2D}\lVert y_\mu- f_K(X_\mu)\rVert_2^2 + \frac{\lambda}{2}\lVert K\rVert_F^2, \tag*{(3)}

where λ>0\lambda> 0 is the ℓ2\ell_2 regularization strength. The performance of the estimator (3) is evaluated through the training error Etrain\mathcal{E}_{\mathrm{train}} associated with the objective (3), and the test error E\mathcal{E}:

Etrain=1N∑μ=1N12D∥yμ−f^K(Xμ)∥22,E=EX,y[12D∥y−f^K(X)∥22].(4)\mathcal{E}_{\mathrm{train}} = \frac{1}{N}\sum_{\mu=1}^{N}\frac{1}{2D}\lVert y_\mu- \hat{f}_K(X_\mu)\rVert_2^2, \qquad\mathcal{E} = \mathbb{E}_{X,y}\left[\frac{1}{2D}\lVert y - \hat{f}_K(X)\rVert_2^2\right]. \tag*{(4)}

High-dimensional limit. We analyze the ERM problem (3) in the proportional limit where D,N→∞D,N \to\infty while the ratio α=N/D\alpha= N/D, the sample complexity, remains of order Θ(1)\Theta(1). In order to study head specialization, we further assume the number of heads HH, the number of features FF, the sequence length LL, and the regularization strength λ\lambda to be Θ(1)\Theta(1). This proportional limit has been considered in a stream of previous works (e.g. Cui et al. [12]; Troiani et al. [32]; Cui and Zdeborová [11]; Duranthon et al. [13]), and allows deriving a closed-form characterization of the ERM problem which we present in the next section. As the number of trainable degrees of freedom grows linearly with DD, taking N=Θ(D)N = \Theta(D) retains nontrivial interactions between the dataset and the architecture, and sample complexity α\alpha appears as a natural control parameter to study head-specialization phase transitions. This particular scaling is, however, setting-specific: other well-defined control parameters may arise in different high-dimensional limits (e.g. extensive-rank architectures Gerace et al. [15]; Erba et al. [14]; Boncoraglio et al. [5]; Barbier et al. [4]), or be defined through properties of the data.

Asymptotic characterization of the empirical risk

References

  1. [1]T. Aoyama, E. G. Wilcox, and N. Schneider. Predicting the emergence of induction heads in language model pretraining. In Forty-third International Conference on Machine Learning, 2026.arxiv.org/abs/2511.16893
  2. [2]B. Aubin, A. Maillard, J. Barbier, F. Krzakala, N. Macris, and L. Zdeborová. The committee machine: Computational to statistical gaps in learning a two-layers neural network. Advances in Neural Information Processing Systems, 31, 2018.
  3. [3]B. Aubin, F. Krzakala, Y. Lu, and L. Zdeborová. Generalization error in high-dimensional perceptrons: Approaching bayes error with convex optimization. Advances in Neural Information Processing Systems, 33:12199–12210, 2020.arxiv.org/abs/2006.06560
  4. [4]J. Barbier, F. Camilli, M.-T. Nguyen, M. Pastore, and R. Skerk. Statistical physics of deep learning: Optimal learning of a multilayer perceptron near interpolation. Physical Review X, 16(3):031014, 2026.DOI
  5. [5]F. Boncoraglio, V. Erba, E. Troiani, Y. Xu, F. Krzakala, and L. Zdeborová. Single-head attention in high dimensions: A theory of generalization, weights spectra, and scaling laws. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 9058–9093. PMLR, 06–11 Jul 2026.arxiv.org/abs/2509.24914
  6. [6]F. Cagnetta and M. Wyart. Towards a theory of how the structure of language is acquired by deep neural networks. Advances in Neural Information Processing Systems, 37:83119–83163, 2024.arxiv.org/abs/2406.00048
  7. [7]N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, and S. Zagoruyko. End-to-end object detection with transformers. In European conference on computer vision, pages 213–229. Springer, 2020.arxiv.org/abs/2005.12872
  8. [8]A. Chen, R. Shwartz-Ziv, K. Cho, M. Leavitt, and N. Saphra. Sudden drops in the loss: Syntax acquisition, phase transitions, and simplicity bias in MLMs. In International Conference on Learning Representations, volume 2024, pages 14479–14510, 2024a.arxiv.org/abs/2309.07311
  9. [9]S. Chen, H. Sheen, T. Wang, and Z. Yang. Training dynamics of multi-head softmax attention for in-context learning: Emergence, convergence, and optimality. arXiv preprint arXiv:2402.19442, 2024b.arxiv.org/abs/2402.19442
  10. [10]K. Clark, U. Khandelwal, O. Levy, and C. 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, pages 276–286, 2019.arxiv.org/abs/1906.04341
  11. [11]H. Cui and L. Zdeborová. High-dimensional asymptotics of denoising autoencoders. Advances in Neural Information Processing Systems, 36:11850–11890, 2023.
  12. [12]H. Cui, F. Behrens, F. Krzakala, and L. Zdeborová. A phase transition between positional and semantic learning in a solvable model of dot-product attention. Advances in Neural Information Processing Systems, 37:36342–36389, 2024.
  13. [13]O. Duranthon, P. Marion, C. Boyer, B. Loureiro, and L. Zdeborová. Statistical advantage of softmax attention: Insights from single-location regression. In International Conference on Learning Representations, volume 2026, pages 87068–87100, 2026.arxiv.org/abs/2509.21936
  14. [14]V. Erba, E. Troiani, L. Zdeborová, and F. Krzakala. The nuclear route: Sharp asymptotics of ERM in overparameterized quadratic networks. Advances in Neural Information Processing Systems, 38:88862–88901, 2025.
  15. [15]F. Gerace, B. Loureiro, F. Krzakala, M. Mézard, and L. Zdeborová. Generalisation error in learning with random features and the hidden manifold model. In International Conference on Machine Learning, pages 3452–3462. PMLR, 2020.
  16. [16]J. Hoogland, G. Wang, M. Farrugia-Roberts, L. Carroll, S. Wei, and D. Murfet. Loss landscape degeneracy and stagewise development in transformers. Transactions on Machine Learning Research, 2025. ISSN 2835-8856.arxiv.org/abs/2402.02364
  17. [17]J. Juneja, R. Bansal, K. Cho, J. Sedoc, and N. Saphra. Linear connectivity reveals generalization strategies. In The Eleventh International Conference on Learning Representations, 2023.arxiv.org/abs/2205.12411
  18. [18]I. Lavie, K. Fischer, A. Lekov, F. Van Maele, Z. Ringel, and M. Helias. Phase transitions in attention: A bayesian theory of copy head emergence. arXiv preprint arXiv:2606.12058, 2026.
  19. [19]T. Lesieur, F. Krzakala, and L. Zdeborová. Constrained low-rank matrix estimation: Phase transitions, approximate message passing and applications. Journal of Statistical Mechanics: Theory and Experiment, 2017(7):073403, 2017.
  20. [20]M. P. Marcus, B. Santorini, M. A. Marcinkiewicz, and A. Taylor. Treebank-3, 1999. URL https://catalog.ldc.upenn.edu/LDC99T42. LDC Catalog No. LDC99T42.
  21. [21]P. Marion, R. Berthier, G. Biau, and C. Boyer. Attention layers provably solve single-location regression. In International conference on learning representations, volume 2025, pages 88447–88488, 2025.
  22. [22]C. Olsson, N. Elhage, N. Nanda, N. Joseph, N. DasSarma, T. Henighan, B. Mann, A. Askell, Y. Bai, A. Chen, et al. In-Context learning and induction heads. arXiv preprint arXiv:2209.11895, 2022.arxiv.org/abs/2209.11895
  23. [23]R. Pérez Ortiz, G. Nwemadji, J. Barbier, F. Gerace, A. Ingrosso, C. Lauditi, and E. M. Malatesta. Generalization performance of narrow shallow neural networks in the teacher–student setting. Journal of Statistical Mechanics: Theory and Experiment, 2026(4):043405, 2026.
  24. [24]T. Qin, N. Saphra, and D. Alvarez-Melis. Data drives unstable hierarchical generalization in LMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 11722–11740, 2025.
  25. [25]R. Rende, F. Gerace, A. Laio, and S. Goldt. Mapping of attention mechanisms to a generalized potts model. Physical Review Research, 6(2):023057, 2024.
  26. [26]M. Sagitova, O. Duranthon, and L. Zdeborová. Specialization of softmax attention heads: insights from the high-dimensional single-location model. arXiv preprint arXiv:2603.03993, 2026.
  27. [27]S. Schuster and C. D. Manning. Enhanced english universal dependencies: An improved representation for natural language understanding tasks. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pages 2371–2378, 2016.DOI
  28. [28]H. Schwarze and J. Hertz. Generalization in a large committee machine. EPL (Europhysics Letters), 20(4):375–380, 1992.DOI
  29. [29]H. Schwarze and J. Hertz. Generalization in fully connected committee machines. EPL (Europhysics Letters), 21(7):785–790, 1993.
  30. [30]A. Singh, S. Chan, T. Moskowitz, E. Grant, A. Saxe, and F. Hill. The transient nature of emergent in-context learning in transformers. Advances in neural information processing systems, 36:27801–27819, 2023.arxiv.org/abs/2311.08360
  31. [32]E. Troiani, H. Cui, Y. Dandi, F. Krzakala, and L. Zdeborova. Fundamental limits of learning in sequence multi-index models and deep attention networks: high-dimensional asymptotics and sharp thresholds. In Forty-second International Conference on Machine Learning, 2025.arxiv.org/abs/2502.00901
  32. [33]M. Vilucchio, Y. Dandi, M. P. Rossignol, C. Gerbelot, and F. Krzakala. Asymptotics of non-convex generalized linear models in high-dimensions: A proof of the replica formula. arXiv preprint arXiv:2502.20003, 2025.arxiv.org/abs/2502.20003
  33. [34]G. Wang, J. Hoogland, S. van Wingerden, Z. Furman, and D. Murfet. Differentiation and specialization of attention heads via the refined local learning coefficient. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2410.02984
  34. [35]J. Wei, Y. Tay, R. Bommasani, C. Raffel, B. Zoph, S. Borgeaud, D. Yogatama, M. Bosma, D. Zhou, D. Metzler, E. H. Chi, T. Hashimoto, O. Vinyals, P. Liang, J. Dean, and W. Fedus. Emergent abilities of large language models. Transactions on Machine Learning Research, 2022. ISSN 2835-8856. Survey Certification.arxiv.org/abs/2206.07682
  35. [37]K. Yin and J. Steinhardt. Which attention heads matter for in-context learning? In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 72428–72461. PMLR, 13–19 Jul 2025.arxiv.org/abs/2502.14010
  36. [38]O. K. Yüksel, R. A. Lucendo, and N. Flammarion. Incremental learning of sparse attention patterns in transformers. arXiv preprint arXiv:2602.19143, 2026.arxiv.org/abs/2602.19143
  37. [39]Y. Zhang, A. K. Singh, P. E. Latham, and A. M. Saxe. Training dynamics of in-context learning in linear attention. In Forty-second International Conference on Machine Learning, 2025.arxiv.org/abs/2501.16265
  38. [40]R. Zhao, T. Qin, D. Alvarez-Melis, S. M. Kakade, and N. Saphra. Random scaling of emergent capabilities. In Forty-third International Conference on Machine Learning, 2026.arxiv.org/abs/2502.17356

Paper details

vlnc:W_nwvsmeuj
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

LLMs

View statement
Looking for related papers…
Contents