acceptodds
Published as a conference paper at NeurIPS 2026

High-Dimensional Learning Dynamics of Attention-Indexed Models

Yizhou Xu, Margarita Sagitova, Florent Krzakala, Lenka Zdeborová

Abstract

While attention mechanisms are the cornerstones of modern foundation models, the theoretical understanding remains largely elusive. In this paper, we analyze the attention-indexed model, a rich framework that encapsulates multi-layer and multi-head attention. We first prove that while, in a suitable high-dimensional limit, the macroscopic landscape of the population loss is characterized by a finite set of order parameters, the corresponding population gradient flow unfolds in an infinite-dimensional state space, which we show can be exponentially well-approximated by a finite truncated system. Our dynamical analysis uncovers how standard attention parameterizations act as architectural implicit biases to overcome the curse of the information exponent—a barrier that typically traps the direct optimization of the attention matrix . Specifically, the tied attention () induces an automatic symmetry-breaking geometry at initialization, shielding the gradient flow from uninformative manifolds and achieving weak recovery in time. For untied attention (), we reveal a timescale separation dynamic: efficient weak recovery hinges on whether the fast-timescale evolution of the pre-activation mean successfully breaks initial symmetries.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_ExaDOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This work studies the hihg-dimensional learning dynamics of attention indexed models. The main contribution is to show that in high dimensional limit, the population loss landscape can be described by finitely many macroscopic order parameters, while the population gradient flow generally requires an infinite hierarchy of order parameters.

Another important part of the paper is that the authors studies the weak recovery in teacher student settings. For tied attention, the authors argues that WW⊤WW^\top parametrization creates an implicit symmetry breaking mechanism that allows weak recovery in constant time under siutable conditions, whereas direct optimization can remain trapped by the information-exponent barrier.

Strengths and weaknesses

This work studies the learning dynamics for attention like models in a high dimensional regime beyond low rank simplication, a difficult and relevant problem. Is technical ambitious and theoretically substantial. The paper is well written overal and the conceptual message is clear, also the contributions.

By another hand, the theoretical setting relies on a high dimensional asymptotic regime. Is reasonable for a theoretical paper, but the connection to practical transformer training remains indirect. Also, the general framework is broader than the detailed analysis. The authors emphasizes that the attention indexed models cover multi layer and multi head attention. However, the most concrete dynamical and weak recovery results are presented in a simplified single student teacher setting. This creates a gap between the generality and the cases fully analyzed.

Finally, the assumptions of the appendix should be putted in the main text, otherwise the reading is less cohesive.

Questions
  1. Which parts of the dynamical theory apply to the multi-layer and multi head-attention setting?
  2. How restrictive is the Gaussian token assumption in practice?
Limitations

Yes.

Paper formatting concerns

No concerns.

Final justification

My question and concerns were fully adressed.

1 comment

We thank the reviewer for recognizing the technical scope of the work and for identifying where the general framework and the detailed dynamical results must be separated more clearly.

Multi-layer/multi-head scope (W, Q1). There are three distinct levels:

  1. Theorem 1 is a population-loss result. Appendix B.1 unrolls an attention-only multi-layer/multi-head network into finitely many effective quadratic attention-indexed forms. Under Theorem 1's assumptions, its limiting population loss is therefore determined by the associated finite traces and overlaps.
  2. Theorems 2-3 characterize the gradient dynamics of extensive-rank tied and untied attention-indexed maps with finitely many indices. They establish the infinite moment hierarchy, convergence of empirical trajectories, finite truncation, and the untied fast/slow decomposition.
  3. Corollaries 3-4 specialize to one student/teacher pair to obtain sharp and interpretable weak-recovery conditions. They do not establish the full parameter dynamics of an arbitrary deep multi-head transformer.

Thus the broad architecture is covered at the macroscopic population-loss level, while the complete dynamics are proved for concrete extensive-rank attention parameterizations within that framework. We agree that the current abstract and introduction can be read more broadly. We will state this hierarchy explicitly and move the principal assumptions from Appendices D.1/E.1 into the main theorem discussions, as suggested.

Gaussian tokens (Q2). Gaussianity enables the exact quadratic-form limit and closed macroscopic equations. We do not claim a universality theorem. Within the assumed Gaussian model, the token-position covariance CC is arbitrary and the teacher matrices need not be Gaussian; strongly structured or heavy-tailed inputs remain outside the proof.

As a direct robustness check, we added a controlled one-layer teacher-student experiment comparing CIFAR-10 inputs with Gaussian inputs matched to their empirical covariance. The measured order-parameter trajectories are close. We will include this as evidence for robustness in this instance, with the above limitation stated explicitly.

Finally, we have proved an online-SGD counterpart in the analyzed setting under the corresponding high-dimensional scaling and regularity assumptions, linking stochastic iterates to the macroscopic evolution. We will include the theorem and proof. This narrows the gap between population gradient flow and the algorithm used in the experiments, while detailed dynamics for full multi-layer/multi-head transformers remain an important next step.

Reviewer_PqBoOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
2
Significance
2
Read review
Summary

The manuscript analyses the loss dynamics (i.e., changes in loss with training) of a broadly defined class of "attention-indexed models" in a teacher-student setting in the high-dimensional limit. It suggests a finite number of order parameters determine the behavior in the high-dimensional limit, but that the dynamics are defined by an ODE with infinite degrees of freedom, which can be well approximated through truncating them at a finite degree. Furthermore, it captures a difference between the so-called tied-attention, with a symmetric S matrix, and untied-attention, with a non-symmetric S matrix, where the former converges toward the teacher (or "achieves weak recovery") under easier conditions.

Strengths and weaknesses

Strengths

(S1) The manuscript is math-heavy but reasonably well written, defining the symbols used and presenting the main theorems in the body of the manuscript and their corollaries, while maintaining the proof details in supplementary material.

(S2) The framework seems general and may provide a new insight into an important area of attention-indexed models.

(S3) Theory offers an interesting perspective on the difference between tied and untied models.

Weaknesses

(W1) The manuscript draws almost no practical implications from the detailed theory. For example, the order parameters that affect the macroscopic loss landscape are not measured in a concrete case, and the observed difference between tied and untied attention is not used to make predictions or demonstrated on some real-world data (broadly defined).

(W2) The manuscript results are demonstrated on toy problems, and are never applied to practical examples.

(W3) The interesting perspective on the difference between tied and untied models is not followed up on and demonstrated.

Questions

(Q1) Are the main results new in comparison to the previous literature, or is your main contribution in providing them for a broader class of models?

(Q2) Does the fact that the macroscopic landscape of population loss is characterized by a finite set of order parameters mean they determine the students' long-term behavior, or is the latter also dependent on other factors, such as initialization or parametrization?

(Q3) Can you measure the finite order parameters affecting the macroscopic landscape of population loss, and demonstrate how different values correspond to different long-term behaviors?

(Q4) Can you draw any practical implications from the detailed theory?

(Q5) Is the observed difference between tied and untied attention already known in the literature or was it demonstrated in practice?

Limitations

Insufficient numerical support for the mathematical results.

Unclear practical takeaways or novel insights provided by the framework.

Paper formatting concerns

None

Final justification

There seems to be considerable alignment among reviewers regarding the weaknesses of the manuscript being focused on: (1) restrictive and impractical assumptions and (2) limited empirical validation and relevance to practice. However, the three reviewers' overall ratings varied between 3 and 5, which is at odds with this agreement, with my rating being the lowest. Agreeing with the feedback of other reviewers, I think I need to re-align with them in terms of the score, especially after refreshing the reviewer guidelines for the "theory" contribution type, which do allow for (1) and (2) if they are well discussed. I thus raise my score to 4.

1 comment

We thank the reviewer for focusing on originality, interpretation of the order parameters, and practical implications. These are central points that the submitted exposition did not make sufficiently explicit.

What is new (Q1, Q5). To our knowledge, this is the first training-dynamics theory for attention-indexed models with extensive-rank attention matrices. The closest attention-indexed works are static: Ref. 18 treats Bayes-optimal inference and Ref. 21 treats ERM for single-head tied attention. Ref. 17 derives SGD dynamics for finite-rank sequence-single-index models, where the dynamics close on finitely many statistics. Refs. 22-23 study extensive-rank quadratic networks, which correspond to a one-token special case rather than attention over token pairs. Our results instead reveal and characterize the finite-landscape/infinite-dynamics separation, prove convergence and exponentially accurate truncation of the macroscopic hierarchy, and derive parameterization-specific weak-recovery mechanisms.

Tied/symmetric query-key parameterizations have been used before, including for efficiency, and a related symmetric attention variant has shown faster optimization in BERT-like models (Courtois et al., 2024). What is new here is the proved mechanism and recovery guarantee: the tied positive-semidefinite factorization creates a symmetry-breaking trace that defeats an information-exponent obstruction, whereas the untied factorization exhibits a different fast/slow mechanism. We will distinguish prior empirical use of symmetry from our dynamical result.

What the finite order parameters determine (Q2). No: the finite parameters determine the limiting population risk at a given macroscopic state and the global optimum (Theorem 1 and Corollary 1), not the training trajectory. The trajectory depends on parameterization and initialization and, for the factorized models, generally requires an infinite hierarchy of moments (Theorems 2-3). This contrast is one of our main results. Under the additional conditions in Appendices D.6-D.7 and E.5-E.6, we also characterize convergence to constrained stationary points and exponential convergence rates.

Measurement and demonstrated behavior (W1, W3, Q3). These order parameters are concrete matrix statistics and are already measured. Figure 1 plots the first moment and student-teacher overlap and compares online SGD with successive ODE truncations. Figure 2 measures the pure structural overlap and validates the predicted contrast between tied factorized WW-flow and direct SS-flow across three information exponents. Figure 3 measures the untied structural overlap and shows success or stalling according to whether the fast mean breaks symmetry. These are separate validations of the tied/direct-SS and untied mechanisms, not a matched real-data comparison between tied and untied transformers. We will revise the text so that this distinction and the link from each theorem to each figure are unmistakable.

Practical implication and broader evidence (W1-W2, Q4). The implication is not always use tied attention. It is that attention parameterization can qualitatively alter whether informative directions are dynamically accessible. In the analyzed model, factorization/sharing supplies symmetry breaking automatically in the tied case, whereas the untied case needs its fast mean dynamics, and therefore its initialization and activation, to break the symmetry. This gives a falsifiable prediction about early training rather than only a description of the final loss.

We have added a controlled one-layer teacher-student stress test comparing CIFAR-10 inputs with covariance-matched Gaussian inputs; their measured order-parameter trajectories are close. This checks robustness on one concrete non-Gaussian distribution, without being presented as a full-transformer validation. We have also proved an online-SGD counterpart in the analyzed setting under the corresponding scaling and regularity assumptions and will add it. These additions complement the paper's primary contribution as a rigorous theory of extensive-rank attention learning dynamics.

Reviewer_FYt4OpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper provides theoretical analysis of the attention-index model under asymptotical condition. The results indicate that macroscopic landscape of the population loss can be characterized by a finite set of parameters and ODE flows. Analysis of the work also show that standard attention parameterizations induce architectural implicit biases to avoid trapped in the direct optimization of the attention matrix. They also provide analysis for tie and un-tie attention which demonstrate the weak recovery behavior in the former and conditionally in the later.

Strengths and weaknesses

Strengths:

  1. Theoretical insights. The paper provides novel theoretical insights into the behavior of attention-based models in the asymptotic regime. Rather than analyzing the entire parameter space, the proposed framework reduces the dynamics to a finite set of order parameters. Furthermore, the formulation enables the use of ODE based analytical tools to study the optimization dynamics. The work also provides an explanation of the implicit architectural bias introduced by standard attention parameterizations and how this bias helps avoid undesirable optimization trajectories.

  2. Consistency between theory and experiments. The experimental results are consistent with the theoretical predictions under the synthetic setting considered in the paper, providing empirical support for the proposed analysis.

Weakness:

  1. Restrictive assumptions. The theoretical analysis is developed in the asymptotic regime under Gaussian data assumptions. It remains unclear whether the conclusions extend to practical settings with finite-dimensional models and real-world data distributions, where these assumptions generally do not hold.

  2. Limited empirical validation. The experiments primarily validate the theoretical results within the simplified synthetic setting. While this demonstrates the correctness of the analysis under its assumptions, it does not establish whether phenomena such as weak recovery or the proposed ODE characterization are also observed in modern attention architectures trained on real-world datasets.

Questions
  1. Connection to practical transformer training. The paper identifies an implicit architectural bias induced by the attention parameterization. Can the authors provide intuition or empirical evidence that this bias also influences optimization in practical transformer models, rather than only in the analyzed asymptotic setting?

  2. Robustness to data distributions. The theoretical analysis assumes Gaussian data. How sensitive are the conclusions to deviations from this assumption? For example, would the same qualitative behavior be expected for structured or heavy-tailed data distributions?

  3. Empirical evidence beyond the synthetic setting. The experiments validate the theoretical predictions under the same assumptions used in the analysis. Are there empirical results on modern transformer architectures (e.g., language or vision transformers) that demonstrate similar optimization dynamics or weak recovery behavior? (I know it is mostly untrackable but it is also helpful to demonstrate whether the conclusion can be generalized)

Limitations

yes

Paper formatting concerns

No format issue.

Final justification

I thank the authors for their response and my recommended score will remain as accept (5).

1 comment

We thank the reviewer for the positive assessment and for asking how the high-dimensional Gaussian analysis connects to practical attention training.

Gaussian and high-dimensional assumptions (W1, Q2). Gaussianity is used to obtain the exact joint limit of the quadratic forms and the closed macroscopic equations. We do not have, and will not claim, a universality theorem for arbitrary data. Within the Gaussian model, however, the covariance CC across token positions is arbitrary, and the teacher matrices need not be Gaussian. The high-dimensional limit is central rather than incidental: our attention matrices have extensive rank, precisely the regime excluded by finite-rank sequence-indexed analyses. The submitted experiments already show that the predicted dynamics accurately track finite-dimensional online SGD at d=400d=400 (Figure 1).

We agree that robustness beyond Gaussian inputs should be tested. We therefore added a controlled one-layer teacher-student experiment comparing CIFAR-10 inputs with Gaussian inputs matched to their empirical covariance. The measured order-parameter trajectories are close. This shows that the observed macroscopic behavior is not specific to exactly Gaussian samples in this instance. We will report it with the proper limitation: it neither proves universality nor covers arbitrary heavy-tailed or strongly structured token distributions.

Connection to transformers and empirical scope (W2, Q1, Q3). Theorem 1 and Appendix B.1 establish that attention-only multi-layer/multi-head architectures fall within the attention-indexed framework and, under the theorem's assumptions, characterize their limiting population loss. The detailed dynamics in Sections 3-4 concern extensive-rank tied and untied attention maps. They are not a theorem for a complete transformer with MLP blocks, normalization, and all parameters trained jointly. We will state this boundary prominently.

Within this boundary, the result identifies a concrete mechanism. For tied S=WW⊤S=WW^\top, the factorization creates a nonzero trace at an otherwise uninformative initialization and provably drives teacher overlap to order one in constant time. Direct SS-optimization can remain trapped by symmetry, while untied S=UV⊤S=UV^\top succeeds only if its fast mean dynamics break that symmetry. This predicts that query-key factorization/sharing and initialization can change early feature-learning times. Consistently, related symmetric dot-product attention has been reported to reduce optimization time in BERT-like models (Courtois et al., 2024), although that empirical result is not a validation of our theorem.

Finally, we have proved an online-SGD counterpart in the analyzed setting, under the corresponding scaling and regularity assumptions, linking its stochastic iterates to the macroscopic evolution. We will add this theorem and proof. Together with the submitted finite-dd results and the new CIFAR-10 stress test, this narrows the algorithmic and distributional gaps while preserving a clear distinction from an end-to-end claim about modern language or vision transformers.

Comments on the paper

1 comment
Meta-review

This paper considers a framework that covers multi-layer and multi-head attention mechanisms. Authors prove in a high-dimensional limit in which the population loss landscape is characterized by a finite set of order parameters. The analysis shows that architectural biases leads to overcome the limitations induced by the information exponent.

This paper was reviewed by three expert reviewers and received the following Scores/Confidence: 3/3, 4/3, 5/3. I think paper is studying an interesting topic but authors are not able to convince the reviewers sufficiently well about the phenomena they are trying to explain. The following concerns were brought up by the reviewers:

  • The assumptions are found restrictive and not practical. I think in this line of work, Gaussian data assumptions is fine but a discussion may be helpful.
  • Reviewers found that the empirical validation is limited.
  • Reviewers would like to see some practical relevance. I think authors should discuss some practical implications of their work.
  • Reviewers should also clearly discuss the gap between their setting and what goes on in practice.

Two of the reviewers are not particularly excited about the paper. As such, based on the reviewers' suggestion, as well as my own assessment of the paper, I position this paper as borderline. The decision will be made based on authors response.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.