Submitted
Research summary
We study Transformer attention through the statistical mechanics of modern Hopfield models. A free-energy formulation connects attention dynamics to equilibrium conditions and characterizes first-order transitions between glassy and robust-inference phases. The framework also treats stochastic queries and keys, providing a way to study stability and inference reliability across a family of attention mechanisms.
BibTeX
@article{hu2026statistical,
title={On the Statistical Mechanics of Attention},
author={Hu, Jerry Yao-Chieh and Chen, Yu-An and Su, Maojiang and Liu, Han},
journal={arXiv preprint arXiv:2610.17347},
year={2026}
}