On the Statistical Mechanics of Attention
12 Oct · Jerry Yao-Chieh Hu, Yu-An Chen, Maojiang Su +1 · arXiv:2610.17347
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…