mlsanityData to 24 Nov 2026

A Geometric Theory for Nonequilibrium Transformer Dynamics

arXiv 2611.10691 ↗Submitted 7 Nov 2026cs.LG math-ph math.MPcited by 0

Not on the map. Why?

Abstract (arXiv)

We develop a variational and geometric theory based on statistical physics for the joint evolution of Transformer attention and token representations at fixed model parameters. To this end, we introduce a free energy for the attention and model the evolution of the attention weights by its Fisher--Rao gradient flow. At fixed token representations, we prove that the softmax matrix is the unique free-energy minimiser and that every positive attention trajectory converges to it. For prescribed time-dependent representations, we show that the attention dynamics becomes linear after a change to logit variables. This result yields tracking bounds relative to the instantaneous softmax and sufficient conditions for attention to converge to a fixed matrix. Hamiltonian dynamics for the representations and their momenta are then coupled to the attention relaxation driven by the same energy. This coupling results in an energy-dissipation law. We also develop two alternative Hamiltonians incorporating the attention value map. We prove global well-posedness of the attention flow and all three coupled systems.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 11 of its 14 references that are in the map. Submitted 7 Nov 2026.

Builds on

11 of 14 references.

References · 11

  1. 2017Attention Is All You Needcited by 62,125
  2. 2023A mathematical perspective on Transformerscited by 186
  3. 2023The emergence of clusters in self-attention dynamicscited by 152
  4. 2023Energy Transformercited by 78
  5. 2024Dynamic metastability in the self-attention modelcited by 55
  6. 2016Riemannian game dynamicscited by 21
  7. 2024Kernel Approximation of Fisher-Rao Gradient Flowscited by 8
  8. 2017On H"older projective divergencescited by 6
  9. 2022Momentum Transformer: Closing the Performance Gap Between Self-attention and Its Linearizationcited by 6
  10. 2024Connections between sequential Bayesian inference and evolutionary dynamicscited by 5
  11. 2026SympFormer: Inertial Attention Blocks from Damped Hamiltonian Dynamics on Spaces of Probability Measurescited by 1

Built on by

Not cited yet.