Search arXiv⌕ Search

arXiv · 2605.10931

Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime

Abstract

Transformers with self-attention modules as their core components have become an integral architecture in modern large language and foundation models. In this paper, we study the evolution of tokens in deep encoder-only transformers at inference time which is described in the large-token limit by a mean-field continuity equation. Leveraging ideas from the convergence analysis of interacting multi-particle systems, with particles corresponding to tokens, we 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, and remains metastable for moderate times. Specifically, we show that the Wasserstein distance of the two distributions scales like $\sqrt{{\log(β+1)}/β}\exp(Ct)+\exp(-ct)$ in terms of the temperature parameter $β^{-1}\to 0$ and inference time $t\geq 0$. For the proof, we establish Lyapunov-type estimates for the zero-temperature equation, identify its limit as $t\to\infty$, and employ a stability estimate in Wasserstein space together with a quantitative Laplace principle to couple the two equations. Our result implies that for time scales of order $\logβ$ the token distribution concentrates at the identified limiting distribution. Numerical experiments confirm this and, beyond that, complement our theory by showing that for finite $β$ and large $t$ the dynamics enter a different terminal phase, dominated by the spectrum of the value matrix.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Albert Alcalde, Leon Bungert, Konstantin Riedl, Tim Roith. 2026-05-11. Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime. https://arxiv.org/abs/2605.10931

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Around the Quantum Lenard-Balescu equation

In the mean-field regime, a gas of quantum particles with Boltzmann statistics can be described by the Hartree-Fock equation. This dynamics becomes trivial if the initial distribution of particle is invariant by translation. However, the first correction is given on time of order $O(N)$ by the quantum Lenard--Balescu equation. In the first part of the present article, we justify this equation until time of order $O((\log N)^{1-δ})$ (for any $δ\in(0,1)$). A similar phenomenon exists in the classical setting (with a similar validity time obtained by Duerinckx \cite{Duerinckx}). In a second time, we prove the convergence for dimension $d\geq 2$ of the solutions of the quantum Lenard--Balescu equation to the solutions of its classical counterpart in the semi-classical limit. This problem can be interpreted as a grazing collision limit: the quantum Lenard--Balescu equation looks like a cut-off Boltzmann equation, when the classical one looks like the Landau equation.

math.AP↗

Almost Periodic Solutions of The Cubic Defocusing Nonlinear Schrödinger Equation

This paper addresses the Cauchy problem for the cubic defocusing nonlinear Schrödinger equation (NLS) with almost periodic initial data. We prove that for small analytic quasiperiodic initial data satisfying Diophantine frequency conditions, the Cauchy problem admits a solution that is almost periodic in both space and time, and that this solution is unique among solutions locally bounded in a suitable sense. The analysis combines direct and inverse spectral theory. In the inverse spectral theory part, we prove existence, almost periodicity, and uniqueness for solutions with initial data whose associated Dirac operator has purely a.c.\ spectrum that is not too thin. This resolves novel challenges presented by the NLS hierarchy, such as an additional degree of freedom and an additional commuting flow. In the direct spectral theory part, for Dirac operators with small analytic quasiperiodic potentials with Diophantine frequency conditions, we prove pure a.c.\ spectrum, exponentially decaying spectral gaps, and spectral thickness conditions (homogeneity and Craig-type conditions).

math.AP↗

Large-Amplitude Steady Solitary Water Waves with General Vorticity

We study two-dimensional steady solitary gravity water waves with general vorticity, allowing for overhanging free-surface profiles. The main challenges arise from the free boundary, the unbounded fluid domain, and the inherent complexity of the general vorticity setting. To address these, we introduce a conformal reformulation that reduces the problem to an equivalent system on a fixed strip, consisting of an overdetermined elliptic problem coupled with an elliptic boundary-value problem. This framework enables a local analysis without imposing restrictive assumptions on the vorticity. Using the center-manifold construction of Chen, Walsh and Wheeler \cite{chennonlinearity}, we first establish the existence of small-amplitude solitary waves for such non-trivial vorticity distributions. Subsequently, via a global analytic bifurcation argument, we prove the existence of continuous branches of large-amplitude solitary waves for analytic vorticity functions. Along these global solution curves, the free surfaces may develop overhanging profiles and need not remain graphs over the horizontal coordinate. Our results provide a new constructive framework for large-amplitude solitary waves with general vorticity, extending the existing theory beyond the classical settings of constant vorticity \cite{susannaarma} and non-overhanging profiles \cite{milesjma}.

math.AP↗