Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime
AAAlbert AlcaldeLBLeon BungertKRKonstantin RiedlTRTim Roith
AAAlbert Alcalde
LBLeon Bungert
KRKonstantin Riedl
TRTim Roith
+4
This paper analyzes how token distributions evolve at inference time in deep encoder-only transformers, described in the large-token limit by a mean-field continuity equation. Borrowing methods from the convergence analysis of interacting particle systems, with tokens as particles, the authors prove that the token distribution rapidly concentrates onto the push-forward of the initial distribution under a projection map induced by the key, query, and value matrices, remaining metastable for moderate times. Concretely, the Wasserstein distance between the two distributions scales like $\sqrt{\log(\beta+1)/\beta}\,\exp(Ct)+\exp(-ct)$ as the temperature $\beta^{-1}\to 0$ and inference time $t\geq 0$. The proof uses Lyapunov-type estimates for the zero-temperature equation, its $t\to\infty$ limit, a stability estimate in Wasserstein space, and a quantitative Laplace principle. Thus on time scales of order $\log\beta$, corresponding to early-phase behavior relevant to practical finite-depth models, tokens concentrate at the identified limiting distribution. Numerical experiments confirm this and show that for finite $\beta$ and large $t$ the dynamics enter a different terminal phase governed by the spectrum of the value matrix.

arXiv ·
· May 11, 2026