On the Statistical Mechanics of Attention
Not on the map. Why?
Abstract (arXiv)
We revisit the statistical mechanics of Transformer attention via modern Hopfield models. We present a free-energy formalism to characterize parameter regimes and critical thresholds for robust attention inference. The resulting free-energy landscape incorporates randomness in query states and attention weights. Attention then emerges as the equation of motion of the corresponding statistical-mechanical system (i.e., modern Hopfield model) through the standard free-energy minimization principle. This allows us to identify first-order phase transitions in attention between glassy and robust-inference phases. We further extend to attentions with stochastic queries and keys. Together, our results provide a rigorous statistical-mechanics framework for characterizing phase structure and inference reliability across a family of Transformer attention mechanisms.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 7 of its 52 references that are in the map. Submitted 12 Oct 2026.
Builds on
7 of 52 references.
References · 7
- 2013Auto-Encoding Variational Bayescited by 4,449
- 2020Hopfield Networks is All You Needcited by 517
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 116
- 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 39
- 2016Gradient Descent Converges to Minimizerscited by 26
- 2025NRGPT: An Energy-based Alternative for GPTcited by 9
- 2023Exploring the Temperature-Dependent Phase Transition in Modern Hopfield Networkscited by 2
Built on by
Not cited yet.