mlsanityData to 7 Oct 2026

Attention to Order: Transformers Discover Phase Transitions via Learnability

arXiv 2510.07401 ↗First posted 8 Oct 2025cond-mat.mtrl-sci cond-mat.dis-nn cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Phase transitions mark qualitative reorganizations of collective behavior, yet identifying their boundaries remains challenging whenever analytic solutions are absent and conventional simulations fail. Here we introduce learnability as a universal criterion, defined as the ability of a transformer model containing attention mechanism to extract structure from microscopic states. Using self-supervised learning and Monte Carlo generated configurations of the two-dimensional Ising model, we show that ordered phases correspond to enhanced learnability, manifested in both reduced training loss and structured attention patterns, while disordered phases remain resistant to learning. Two unsupervised diagnostics, the sharp jump in training loss and the rise in attention entropy, recover the critical temperature in excellent agreement with the exact value. Our results establish learnability as a data-driven marker of phase transitions and highlight deep parallels between long-range order in condensed matter and the emergence of structure in modern language models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 28 references that are in the map. First posted on arXiv 8 Oct 2025.

Builds on

11 of 28 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018A high-bias, low-variance introduction to Machine Learning for physicistscited by 108
  3. 2016Why does deep and cheap learning work so well?cited by 100
  4. 2016Discovering Phase Transitions with Unsupervised Learningcited by 49
  5. 2017Unsupervised learning of phase transitions: from principal component analysis to variational autoencoderscited by 47
  6. 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
  7. 2024Quantum Many-Body Physics Calculations with Large Language Modelscited by 17
  8. 2017Deep Learning the Ising Model Near Criticalitycited by 10
  9. 2022Thermodynamics-inspired Explanations of Artificial Intelligencecited by 6
  10. 2020Unsupervised machine learning of quantum phase transitions using diffusion mapscited by 5
  11. 2024Neural Networks as Spin Models: From Glass to Hidden Order Through Trainingcited by 3

Built on by

Not cited yet.