pith. sign in

Sampling two-dimensional spin systems with transformers

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
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 $180 \times 180$ spins in case of the Ising model. The Effective Sample Size of our sampler is $\sim 20$ times larger than that of the previous state-of-the-art neural sampler when trained for the $128 \times 128$ Ising model at critical temperature. Finally, we also test our algorithm on the 2D Edwards-Anderson model, where we train $64\times 64$ spin systems.

fields

cs.LG 1

years

2026 1

verdicts

UNVERDICTED 1

representative citing papers

Variational Autoregressive Networks with probability priors

cs.LG · 2026-05-15 · unverdicted · novelty 5.0

Incorporating probability priors into variational autoregressive networks reduces training burden and enables larger system sizes for sampling in the Ising and Edwards-Anderson models.

citing papers explorer

Showing 1 of 1 citing paper.

  • Variational Autoregressive Networks with probability priors cs.LG · 2026-05-15 · unverdicted · none · ref 28 · internal anchor

    Incorporating probability priors into variational autoregressive networks reduces training burden and enables larger system sizes for sampling in the Ising and Edwards-Anderson models.