Your paper timeline
Scroll AI takes the way you would scroll a great paper aggregator: quick signal first, deeper critique when something earns your attention, and challenges when a claim feels off.
1 paper in math.SG
Trending mixes fresh papers with community signal.
0
math.SGmath.APmath.DG Viktor Stein, Levin Maier, Wuchen Li et al. · Oct 22, 2026

Transformer attention is commonly viewed as an interacting particle system, yet the mean-field limit on probability densities over $\mathbb{R}^d$ lacks rigorous geometric foundations on non-compact domains. This paper derives accelerated attention blocks from Nesterov-type damped Hamiltonian dynamics on spaces of probability measures, introducing a local-mobility geometry for softmax attention and a quotient Stein geometry for linear attention. The theory yields sharp PDE well-posedness and finite-time blow-up results, plus quantitative links to token-norm growth across discrete layers. Small-scale language-modeling experiments report minor validation-loss improvements at increased computational cost.

The attention mechanism underpins modern large language models, yet their dynamics remain only partially understood. Recent perspectives interpret attention blocks as interacting particle systems, whose mean-field limits correspond to gradient flows of energy functionals on spaces of probability densities on $\mathbb R^d$ equipped with Wasserstein-type metrics. We extend this viewpoint by deriving accelerated attention blocks from inertial, Nesterov-type damped Hamiltonian dynamics on these density spaces, developing the geometry and differential calculus needed to make the construction rigorous. In particular, we introduce a local-mobility geometry for the Otto-Wasserstein and softmax-Wasserstein settings, and a quotient Stein geometry that resolves the degeneracy of the linear-attention kernel to yield a well-defined metric and differential calculus. We provide rigorous foundations when softmax attention admits a gradient-flow formulation and when its inertial counterpart admits a damped Hamiltonian on explicitly characterized domains. For linear attention, we obtain a finite-dimensional solution theory with sharp conditions for global existence versus finite-time second-moment blow-up. We further prove a quantitative link between continuous moment blow-up and the discrete-layer depth at which token norms cross a prescribed threshold. Finally, motivated by the finite-token geometry, we propose geometric corrections to token and momentum updates. In decoder-only, nanoGPT-style experiments on TinyStories and OpenWebText, these corrections lower validation negative log-likelihood on next-token prediction relative to momentum-only controls.