Sampling two-dimensional spin systems with transformers
Piotr Bia{\l}as, Piotr Korcyl, Tomasz Stebel, Adam Stefa\'nski, Dawid Zapolski

TL;DR
This paper introduces an efficient transformer-based neural sampler that generates groups of spins simultaneously, enabling larger system sampling and improved effective sample size in 2D spin models.
Contribution
It proposes a novel group-generation transformer approach with an approximated probability model, enhancing sampling efficiency for large 2D spin systems.
Findings
Successfully sampled 180x180 Ising model systems.
Achieved 20 times larger effective sample size than previous neural samplers.
Demonstrated applicability to the 2D Edwards-Anderson model.
Abstract
Autoregressive Neural Networks based on dense or convolutional layers have recently been shown to be a viable strategy for generating classical spin systems. Unlike these methods, sampling with transformers is commonly considered to be computationally inefficient. In this work, we propose a novel approach to transformer-based neural samplers in which we generate not a single spin per step but groups of spins. As an additional improvement, we construct a model of approximated probabilities, further improving the efficiency of the algorithm. Despite our approach being computationally heavier than dense networks or CNN-based approaches, we were able to sample larger systems of up to spins in case of the Ising model. The Effective Sample Size of our sampler is times larger than that of the previous state-of-the-art neural sampler when trained for the $128 \times…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
