Sign inGet started
Paper · arXiv

On the Statistical Mechanics of Attention

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 re...

AuthorsJerry Yao-Chieh Hu, Yu-An Chen, Maojiang Su et al.
Primary categorycs.LG
Published12 October 2026
Last updated at source12 October 2026
cs.LGcond-mat.dis-nncond-mat.stat-mechcs.AIstat.ML
Embed this entry
<iframe src="https://silytics.si/embed/item/98c437ba-e4ab-4e72-81d1-7509670d0c72" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 15 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.