Attention to Order: Transformers Discover Phase Transitions via Learnability

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Özönder, Şener
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916997832376320
author Özönder, Şener
author_facet Özönder, Şener
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_07401
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Attention to Order: Transformers Discover Phase Transitions via Learnability
Özönder, Şener
Materials Science
Disordered Systems and Neural Networks
Artificial Intelligence
Machine Learning
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.
title Attention to Order: Transformers Discover Phase Transitions via Learnability
topic Materials Science
Disordered Systems and Neural Networks
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2510.07401