# Diffusion-warm sampling of the XY model enables fast thermalization at scale

*Sehmimul Hoque, Roger Melko, Pooya Ronagh*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155666) · [OpenReview](https://openreview.net/forum?id=3vCVCEk7Px) · [alphaXiv](https://www.alphaxiv.org/abs/2606.30773) · [Open on the map](../papers.html#p155666)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Neural Sampling for Physical Systems](../pgroup/358.md) · Type: new method · Keywords: diffusion models, spin system sampling, XY model, MCMC thermalization, generative sampling, condensed matter physics

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Flow Matching and Diffusion › Molecular Generation

## Summary
Diffusion-warm sampling uses temperature-conditioned diffusion models trained on small XY model lattices to generate accurate large-lattice samples, reducing thermalization time by an order of magnitude compared to standard MCMC.

## Explained to a 5-year-old
The paper studies a puzzle where each piece can spin in any direction. The old way to solve it is to move pieces one by one, which is slow for big puzzles. Scientists made a smart drawing tool that learns how to draw small puzzles and then helps draw big puzzles quickly. They then only need to move a few pieces to finish the big puzzle. This makes solving big puzzles much faster.

## Explained to a 5-year-old, longer
Imagine a board with many little magnets that can point in any direction, like tiny compass needles. Solving the puzzle means finding a good arrangement of all these magnets that matches the rules of physics. The usual method is to change one magnet at a time many times, which takes a long time when the board is huge. The researchers created a new helper that looks at many small boards and learns how they should look. This helper can guess a good arrangement for a huge board almost right away. After the helper gives a guess, they only need to tweak a few magnets to make everything perfect. This combination of guessing and a few tweaks makes solving huge boards much quicker and easier.

## For a technical reader
The paper proposes a method that trains a diffusion model conditioned on temperature to generate spin configurations for a physical model. These generated configurations serve as an informed starting point for a short MCMC run, dramatically cutting the time needed to reach equilibrium. Experiments on the XY model show a tenfold speedup over traditional MCMC with random initialization. The approach is generic and could be applied to other continuous-spin systems.

## Problem
Sampling equilibrium states of continuous-spin systems at large scales is computationally expensive, and traditional Markov chain Monte Carlo methods often fail to generalize from small to larger system sizes.

## Method
The approach trains a temperature-conditioned diffusion model on samples from smaller XY model lattices and then uses its generated samples as a warm start for a few Markov chain Monte Carlo steps, combining generative sampling with MCMC refinement.

## Results
The approach achieves roughly a ten-fold reduction in thermalization time compared to standard MCMC with random initialization, while maintaining accurate spin correlations.

## Contributions
A scalable sampling framework that leverages diffusion models to generate warm starts for MCMC, enabling accurate extrapolation from small to large continuous-spin systems, and a demonstration of its efficiency on the XY model.

## Practical relevance
This work opens a pathway for using generative models to efficiently explore large-scale continuous-state physical systems, accelerating research in condensed-matter science.

## Research questions this paper is counted under

- [How can we reduce the computational burden of Monte Carlo sampling for high-dimensional physical systems?](../q/665.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155666)
