TRANSMISSION // 2610.36673v2
How atoms could learn the big picture from spin data
Source published
A machine-learning approach treats spin sites as communicating agents and tests whether their shared predictions recover familiar forms of order.

A magnet’s large-scale pattern is built from many tiny spins. Hashimoto and Taniguchi explore whether a machine-learning method can recover that pattern from spin snapshots alone, without being told the system’s interaction rules.
The question: where does order come from?
A material’s large-scale behavior can often be summarized by an order parameter. For example, magnetization describes the overall alignment of spins in a ferromagnet. But how can such a collective quantity be identified from the many microscopic parts that make it up?
In this preprint, Koji Hashimoto and Tadahiro Taniguchi propose an information-based answer. Their method, called collective predictive coding (CPC), was developed to study how shared symbols can emerge as people communicate. The authors adapt the idea to physics: each spin site is treated, mathematically, as an “agent” that uses its observed spin to help infer a shared variable. The variable is useful if it helps the model predict the system’s spin configurations.
The “agents” are a modeling device, not a claim that atoms think or communicate in a literal sense. The study asks whether this setup can learn a meaningful macroscopic coordinate from data, without giving it the system’s Hamiltonian—the mathematical description of its interactions.
How the test works
The researchers trained probabilistic models on sampled configurations from three kinds of classical spin systems: two-dimensional ferromagnetic and antiferromagnetic Ising models; a square-lattice model with two competing stripe patterns; and the fully connected Sherrington–Kirkpatrick spin glass. In these tests, the Hamiltonians were used to generate the configurations, but were not supplied to CPC. The models instead received spin observations, with site labels identifying which location each observation came from.
CPC learns local prediction rules and a shared latent variable from these data. The researchers then checked whether that learned variable corresponded to established order parameters. They also tested whether observing some spins helped the model predict others that had been held back. That second check matters: a coordinate might resemble a known quantity without capturing information that is genuinely shared across sites.
For the Ising systems, the team additionally estimated a potential from how often different values of the learned coordinate occurred at different temperatures. In the ferromagnetic and antiferromagnetic cases, they compared the resulting potential with the familiar Landau-style picture of changing order across a phase transition.
What the authors report
In the two basic Ising models, CPC learned spatial patterns corresponding to uniform magnetization in the ferromagnet and staggered magnetization in the antiferromagnet. The learned coordinate was related to these familiar quantities through a nonlinear mapping. In tests where a quarter of the spins were revealed and the rest hidden, CPC improved predictions in the low-temperature regime compared with a reference that predicted each site independently. At high temperature, that predictive improvement was essentially absent, even though the learned coordinate still tracked magnetization fluctuations.
For the competing-stripe model, a two-component latent variable captured both stripe patterns. A one-component version captured only one direction in the space of those patterns. The two-component model also performed better in the reported tests of configuration likelihood and hidden-spin prediction in the ordered regime. This does not establish that two components are always required: the authors note that predictive gains became negligible or slightly negative at high temperature.
In the spin-glass example, sites were given paired observations from two replicas—independent configurations with the same random couplings. CPC learned a coordinate that closely tracked the replicas’ overlap, a quantity used to describe their similarity. The reported relationship held on test data from coupling realizations not used for training. Shuffling the sites in one replica removed the predictive improvement in the authors’ test, supporting the importance of the pairing structure.
The estimated Ising potentials showed two wells at lower temperatures and a single central well on heating, with an approximately symmetric shape. The authors extrapolated a transition temperature from fitted potential coefficients; their estimates were consistent with the known value within the reported uncertainty intervals. The potential’s shape depends on the learned coordinate, which is a nonlinear transformation of magnetization, so it should not be read as a unique, coordinate-independent landscape.
The paper also describes a decentralized learning demonstration for the ferromagnet. Sites proposed and assessed a shared variable through local exchanges with neighboring sites. Starting from random weights, the procedure learned a nearly uniform pattern whose local readout closely followed magnetization. This communication procedure is not identical to the centralized inference used elsewhere in the paper; the authors explicitly note that its stationary distribution generally differs.
What remains uncertain
These are computational demonstrations on selected classical models, not evidence that the same approach will work for every physical system. The outcome depends on modeling choices, including the local probability model and the number of latent components. The authors identify extensions to quantum systems and more complex forms of order as open questions. More broadly, whether a variable that predicts observations is necessarily the most physically meaningful or interpretable one remains unresolved.
This article is based on the supplied arXiv preprint text. A preprint is a manuscript shared publicly before, or apart from, journal peer review; the available text includes placeholder publication details. The findings should therefore be treated as the authors’ reported results, not as independently established conclusions.
- collective predictive coding
- emergent order
- statistical physics
- Ising model
- spin glass
- machine learning
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
An optical computer builds a model with seven dimensions
Source published
Shared keywords: ising model
How post-training shapes the choices of AI agents
Source published
Shared keywords: statistical physics
A hybrid route to longer quantum simulations
Source published
Shared keywords: ising model
Can one quantum wave function stand in for thermal equilibrium?
Source published
Shared keywords: ising model
Rotating local axes trims the memory cost of quantum simulations
Source published
Shared keywords: ising model