Limitations of Normalization in Attention Mechanism
arXiv:2508. 17821v3 Announce Type: replace-cross Abstract: This paper investigates the limitations of the normalization in attention mechanisms.
The paper investigates axial attention mechanisms used in Time Series Foundation Models (TSFMs) by extending the Single Location Regression framework to two‑dimensional structured data. It introduces an analytically tractable axial attention‑type predictor, rigorously analyzes its statistical properties and training dynamics, and proves Bayes optimality under a specific asymptotic regime when the oracle parameters are known. The study also demonstrates that a class of semi‑linear simplifications fails to achieve optimality, highlights the importance of inner non‑linearity, and shows that Projected Gradient Descent converges globally for a particular temperature scaling, with experiments confirming the theoretical insights and the critical role of inverse temperature scheduling.
arXiv:2508. 17821v3 Announce Type: replace-cross Abstract: This paper investigates the limitations of the normalization in attention mechanisms.
arXiv:2603. 03993v2 Announce Type: replace Abstract: Multi-head attention enables transformer models to represent multiple attention patterns simultaneously.
Attention heads in transformer models specialize into distinct functions during training, often appearing in stages that coincide with sharp changes in model behavior. This study investigates how such specialization depends on the amount of training data, finding that heads focused on syntactic relations in BERT emerge as dataset size grows. Using a solvable high‑dimensional multi‑head attention model, the authors show that head specialization is a genuine phase transition in sample complexity, marked by non‑analytic changes in test error and other observables, and they link these statistical transitions to the stagewise emergence of specialized heads during online learning.
arXiv:2504. 17768v3 Announce Type: replace-cross Abstract: Sparse attention offers a promising strategy to extend long-context capabilities in Transformer LLMs, yet its efficiency-accuracy trade-offs remain unclear due to the lack of comprehensive evaluation.
arXiv:2509. 07963v2 Announce Type: replace Abstract: The core component of attention is the scoring function, which transforms the inputs into low-dimensional queries and keys and takes the dot product of each pair.
The paper introduces an individualized sparse regression framework for matrix‑valued covariates, where each observation has its own relevant rows while regression effects are shared across the population. It proposes a diagonalized attention mechanism that uses query–key scores to localize sample‑specific signal rows and a value matrix for downstream regression, achieving a parameter dimension independent of sample size. The authors provide existence theorems guaranteeing recovery of latent rows under score‑separation and concentration conditions, and demonstrate strong prediction, localization, and classification performance in simulations and real sentiment analysis.
The paper investigates how nonlinearity in attention mechanisms affects scaling laws in large language models. It finds that nonlinear attention leads to an inverse-depth decay of loss across various data spectra, enabling models to learn both strong and weak spectral directions simultaneously. This behavior contrasts with linear-attention models, which rely on a power-law data spectrum and learn directions sequentially.
The paper extends linear attention theory from linear regression to nonlinear single‑index targets, showing that linear attention only captures the linear Hermite component of the nonlinearity while treating the rest as effective noise. This nonlinearity‑noise equivalence lets existing linear results be applied to nonlinear tasks, and the authors demonstrate how finite pretraining data and increasing task diversity affect the shift from memorisation to generalisation. The work highlights a limitation of reduced linear‑attention models and offers a tractable framework for future studies of nonlinear in‑context learning.
The paper investigates the training dynamics of attention mechanisms in high-dimensional settings, focusing on attention-indexed models that encompass multi-layer and multi-head architectures. It shows that while the loss landscape can be described by a finite set of trace order parameters, the online stochastic gradient descent dynamics involve an infinite hierarchy of matrix moments that can be accurately approximated by a finite truncated system. The study further reveals that the choice of attention parameterization acts as an implicit bias: untied attention can get trapped in uninformative states, whereas tied attention induces symmetry breaking and enables weak recovery with θ(d² log d) samples, and untied attention exhibits a fast-slow dynamic leading to weak recovery when symmetry is broken.
arXiv:2512. 11784v2 Announce Type: replace Abstract: Softmax attention is a central component of transformer architectures, yet its nonlinear structure poses significant challenges for theoretical analysis.
The paper investigates how the length of patches used in attention-based time‑series forecasting affects accuracy. It introduces a theoretical framework that separates forecast dynamics from filtering dynamics for linear state‑space models, showing that long horizons do not necessarily simplify representation. Using this factorization and estimation bounds, the authors propose a principled patch‑selection criterion that balances representation and estimation errors, taking into account predictive structure, model size, training data, and long‑run dependence.
arXiv:2606. 22406v2 Announce Type: replace Abstract: Attention mechanisms have demonstrated remarkable empirical success in identifying relevant information from large collections of tokens, yet the theoretical principles underlying this behavior remain poorly understood.