High-Dimensional Learning Dynamics of Attention-Indexed Models
Summary
ML theory paper on "attention-indexed models," a framework for multi-layer and multi-head attention architectures in the high-dimensional limit. Core result: the population-loss landscape collapses into a finite set of trace order parameters, yet under online SGD the parameter trajectories are governed by an infinite hierarchy of coupled matrix moments (each SGD step mixes S_k with the gradient tensor, so degree-w moments couple to degree-(w+1); degree-M truncations approximate the exact trajectory with exponential precision O((C/s0)^M)). Parameterization is an active regularizer: direct optimization of an attention matrix S in R^(d x d) can stay trapped on an uninformative manifold; tied attention (S = WW^T) forces a positive initial trace and yields automatic symmetry-breaking with weak recovery in Theta(d^2 log d) samples; untied attention (S = UV^T) shows a fast-slow relaxation (fast pre-activation mean drift toward a critical manifold, then slow feature recovery only if the fast boundary layer broke student symmetry). Caveats: assumes online SGD with one-pass streaming Gaussian data (no finite-sample ERM or multi-pass token reuse) and analyzes effective bilinear interactions rather than full end-to-end multi-layer QKV co-evolution.
- Venue
- arXiv (2026-09-03), cs.LG / stat.ML; arXiv non-exclusive distribution license
- Source
- paper
- Access
- public
- Language
- en
- Added
- Sep 30, 2026
- Verified
- Sep 30, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Sep 3, 2026
- arXiv categories
- cs.LG, stat.ML
- Citations
- 0
- References
- 0
Abstract (from arXiv)
Attention mechanisms are central to modern foundation models, yet their training dynamics remain poorly understood, especially when the attention matrices have extensive rank. In this work, we study attention-indexed models, a broad framework that can represent multi-layer and multi-head attention architectures. First, we show that, in a suitable high-dimensional limit, the population-loss landscape is characterized by a finite set of trace order parameters. In contrast, online stochastic gradient descent (SGD) is governed by an infinite hierarchy of matrix moments, which we show can be exponentially well-approximated by a finite truncated system. Second, this framework reveals that attention parameterization itself can act as an architectural implicit bias. Direct optimization of an attention matrix $S\in\mathbb{R}^{d\times d}$ can remain trapped in an uninformative state. Tied attention ($S=WW^\top$) induces an automatic symmetry-breaking mechanism and yields weak recovery in $Θ(d^2\log d)$ samples. For untied attention, $S=UV^\top$, we uncover a fast-slow mechanism: the pre-activation mean first evolves on a fast timescale, while the overlaps evolve on a slower one. Weak recovery on the $Θ(d^2\log d)$ scale occurs when the state selected by the fast dynamics breaks the initial symmetry.
Tags
Topics
attention, optimization theory, learning dynamics, ML theory
Research notes
- Discovery: Grigory Sapunov (@che_shr_cat, verified, arXiviq ML-theory newsletter) 2026-09-30 10-tweet explainer thread: https://x.com/che_shr_cat/status/2105377511593103657?s=20
- Full breakdown: https://arxiviq.substack.com/p/high-dimensional-learning-dynamics
- License: arXiv non-exclusive distribution license (no open CC license on the arXiv page).
- No code or dataset links given.
- Connects to the collection's attention-optimization and pretraining-stability theory entries.
Similar entries
- Paper Universal interpolation for deep residual self-attention networks
- Paper Emergent One-Third Scaling Law as Attention Tries to Concentrate
- Paper MoBA: Mixture of Block Attention for Long-Context LLMs
- Paper Memory Attention
- Paper The Loss Does Not See the Basis, but Adam Does
- Paper Towards Understanding Self-Pretraining for Sequence Classification