Sampling the XY model with an attention-based neural network
Piotr Bia{\l}as, Christian D. Morales, Tomasz Stebel, Dawid Zapolski
Key points
From the paper's conclusion- We present a transformer-based variational autoregressive network for sampling lattice systems with continuous degrees of freedom and apply it to the two-dimensional XY model near the Berezinskii-Kosterlitz-Thouless transition.
Abstract
We present a transformer-based variational autoregressive network for sampling lattice systems with continuous degrees of freedom and apply it to the two-dimensional XY model near the Berezinskii-Kosterlitz-Thouless transition. The architecture is combined with physics-informed ingredients: locality-informed attention and approximate probabilities. The resulting sampler significantly outperforms existing neural samplers. We train the model on lattices up to $96\times96$, verify with a mode-dropping estimator that no parts of the configuration space are missed, and reproduce the energy, magnetization and helicity modulus obtained with the traditional Markov Chain Monte Carlo algorithm.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Generative sampling with physics-informed kernelsarXiv · 2026
- Parametric neural-network wavefunctions across a bosonic phase transitionarXiv · 2026
- Physics-conditioned diffusion models for lattice gauge theoryJournal of High Energy Physics · 2026
- Machine-learning extraction of size-dependent temperature scales in the 2D XY modelPhysica Scripta · 2026
- Spatial Induction Heads: In-Context Learning of Multidimensional Cellular AutomataarXiv · 2026
- A phase diagram for training and inference in language modelsarXiv · 2026