Attention's forward pass and Frank-Wolfe
Not on the map. Why?
Abstract (arXiv)
We study the hardmax limit of self-attention dynamics for token embeddings obtained in the zero-temperature (β→+∞) regime, and relate it to the finite-β setting. In this limit, the update rule can be viewed as a Frank-Wolfe step for a quadratic objective over the convex hull of the current token embeddings. When the key-query matrix is negative semidefinite, the method linearly contracts all tokens to a single cluster at the origin. When it is positive semidefinite, extending the hardmax rule to the entire convex hull induces a Voronoi diagram: vertices are stationary, interior points remain in their initial cells, and each token moves along a straight line toward its cell's vertex, yielding (super-)exponential convergence. As a byproduct, we also establish well-posedness of the associated ODE limit in this regime. Returning to the finite-β regime, we model self-attention dynamics as a Markov chain and prove dynamic metastability: with high probability, interior tokens reach near-vertex configurations in a constant number of steps and remain within a small neighborhood for times that grow exponentially in the inverse temperature β, before ultimately collapsing to the origin. Thus, the hardmax dynamics accurately approximate the finite-β process over exponentially long time horizons.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Aug 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regimecited by 24
- 2026Perceptrons and localization of attention's mean-field landscapecited by 7
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regimecited by 4
- 2026Random Quadratic Form on a Sphere: Synchronization by Common Noisecited by 2
- 2026Propagation of Chaos in Contextual Flow Mapscited by 2
- 2026Propagation of Chaos in Contextual Flow Maps16 May 2026
- 2026Quantifying Concentration Phenomena of Mean-Field Transformers in the Low-Temperature Regime11 May 2026
- 2026Random Quadratic Form on a Sphere: Synchronization by Common Noise6 Mar 2026
- 2026Perceptrons and localization of attention's mean-field landscape29 Jan 2026
- 2025A multiscale analysis of mean-field transformers in the moderate interaction regime29 Sep 2025