Diffusion-warm sampling of the XY model enables fast thermalization at scale
Sehmimul Hoque, Roger G Melko, Pooya Ronagh
NeurIPS 2026
TL;DR. We propose a diffusion based sampling technique for the XY model which reduces thermalization time by an order of magnitude compared to traditional Monte Carlo techniques for extrapolated system sizes.
Abstract. We introduce a novel technique for scalable sampling of spin-system states with continuous symmetries using diffusion models. By applying our approach to the XY model, a fundamental continuous-spin model in condensed matter physics, we show that our technique addresses the shortfalls of the Markov chain Monte Carlo (MCMC) in generalization to varying system sizes. More specifically, we show that training a temperature-conditioned diffusion model on smaller-size XY model lattices enables the generation of accurate samples in larger lattice sizes. By tracking physically important observables of the model, such as spin correlations, our experiments demonstrate that diffusion sampling followed by few MCMC steps reduces the thermalization time by an order of magnitude relative to the standard MCMC with random initialization. Our study provides valuable insight as to how generative models can be used to study continuous-state condensed matter systems at scale.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes to train diffusion models for cross volume transfer for the 2D XY model. Specifically, the temperature-conditioned model is trained on a small lattice size, and used for sampling for larger lattice sizes. Since the implemented diffusion model cannot capture long-range correlations, the authors use it as a warm start for Wolff MCMC sampling. Focusing on sampling time, the proposed method accelerate the computation time an oder of magnitude, compared with the plan Wolff method.
Reviewers acknowledged the following points as strengths:
- The target problem is practically important.
- The proposed method is simple and intuitive
- Training only on a small lattice size is attractive
- Evaluated on phyhiscally relevanct observables.
However, they posed several major concerns, incluging
- Cost of training data generation, and training of diffusion modes are ignored, which might be unfair. Also, the complexity of the cluster algorithm should be discussed more precisely.
- Other observables, including winding number fluctuations, should be investigated for assessing the convergence.
- More analyses/ablation (suggested by reviewers) would stregthen the paper
- Lack of discussion on generalizability beyond the 2D XY model.
- Weak baseline (additional baselines are requested)
- Missing discussion on data-free training. The Wolff MCMC for a small lattice might be cheap, but pros/cons should be discussed.
- Limited novelty.
Reviewers provided a lot of constructive requests. Especially, addressing the comments on Methodological choice and misattribution of extrapolation failure will improve the paper, since the current argument can be misleading.
Final justification
The authors rebuttal addressed the reviewers' concerns except a relatively minor one, no demonstration on systems beyond the 2D XY-model. The additional experiments supported the usefulness of the approach, and all reviewers agree to accept the paper.
Read meta-review
Meta-review
This paper proposes to train diffusion models for cross volume transfer for the 2D XY model. Specifically, the temperature-conditioned model is trained on a small lattice size, and used for sampling for larger lattice sizes. Since the implemented diffusion model cannot capture long-range correlations, the authors use it as a warm start for Wolff MCMC sampling. Focusing on sampling time, the proposed method accelerate the computation time an oder of magnitude, compared with the plan Wolff method.
Reviewers acknowledged the following points as strengths:
- The target problem is practically important.
- The proposed method is simple and intuitive
- Training only on a small lattice size is attractive
- Evaluated on phyhiscally relevanct observables.
However, they posed several major concerns, incluging
- Cost of training data generation, and training of diffusion modes are ignored, which might be unfair. Also, the complexity of the cluster algorithm should be discussed more precisely.
- Other observables, including winding number fluctuations, should be investigated for assessing the convergence.
- More analyses/ablation (suggested by reviewers) would stregthen the paper
- Lack of discussion on generalizability beyond the 2D XY model.
- Weak baseline (additional baselines are requested)
- Missing discussion on data-free training. The Wolff MCMC for a small lattice might be cheap, but pros/cons should be discussed.
- Limited novelty.
Reviewers provided a lot of constructive requests. Especially, addressing the comments on Methodological choice and misattribution of extrapolation failure will improve the paper, since the current argument can be misleading.
Final justification
The authors rebuttal addressed the reviewers' concerns except a relatively minor one, no demonstration on systems beyond the 2D XY-model. The additional experiments supported the usefulness of the approach, and all reviewers agree to accept the paper.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the famous XY model from condensed matter physics. The authors propose speeding up the standard random-start + MCMC process used to obtain an ensemble of XY configs that follow a target Boltzman distribution with an ML-based warm-start + MCMC process that requires many fewer MCMC steps. The ML method is an equivariant diffusion model that is empirically shown to give acceptable results after only about 30 MCMC steps, much fewer than is required from a hot (random) start.
Strengths and weaknesses
The work seems to be of high technical quality and it is clearly written. I have some questions below that would help me assess the originality and significance of the work, which both seem good but perhaps not excellent enough for NeurIPS. I look forward to the authors' responses.
To summarize: the approach taken seems sound and empirically is shown to perform well. I am curious though why seemingly relevant work from a closely related field is not cited and whether this work is in some ways just applying a similar strategy as has been used in lattice qcd for many years to a related physics problem. I am also unclear how to judge the money plot given it seems to omit the costs of training and generating from the diffusion model.
Questions
Naively, this work sounds similar to the SU(3)-equivariant normalizing flow program being developed in the Lattice QCD community. Both are lattices (here 2d, there 3+1d), the symmetry here is global vs local there, both have target Boltzman distributions, thus I would think a lot of their approach would apply here. Can you comment on why you do not even mention that field's work?
Are there no physics-based approximate starts that you could also consider? Couldn't something based on the approximate Villain XY model be used instead of a true random start as the baseline comparison?
Shouldn't the performance comparison be total compute not MCMC steps? I.e., shouldn't the comparison also account for the training and generation compute used in the diffusion model?
Is there a reason that the tiling start cannot be followed up by Wolf MCMC like the other approaches? I don't expect that to compete with your ML model, but it seems like it'd be easy to try and make for a stronger comparison.
Limitations
yes
Final justification
I have kept my score as borderline accept. I am happy with the authors replies to my questions, though do share some of the concerns of the other referees -- but overall my leaning is towards acceptance.
Formatting concerns
none
3 comments
Rebuttal
Thank you very much for taking the time to review our work and for acknowledging its technical quality and clarity. Our responses are given below:
Q1:
We found references [1], [2], and [3] below that seem to be on the lattice QCD applications you mentioned, and we plan to cite them in the next version of our paper. We believe there are common ideas but also differentiating factors compared to our work. Ref. [1] is about variance reduction in measurements using flow models, whereas in the XY model observable measurement form direct samples is not computationally intensive. However, it demonstrates in its Fig. 2 that the variance reduction technique can be applied beyond the training size. Refs. [2] and [3] are about direct sampling, but do not use a model as a warm start for sampling from bigger systems. In [3] transfer learning for bigger sizes is demonstrated, but still involves training at the new size.
Q2:
In this work we have not looked into physics based warm start and we indeed plan to look into this in future work. However, we discussed among ourselves but we are not sure how to use the approximate Villain XY model to obtain a better comparison. We would highly appreciate if you could please give us some references on this. We thank you for your feedback.
Q3:
We have indeed included both the generation and MCMC time into account in our Figure 1 (right). The thermalization time for the Diffusion-warmed MCMC method is the sum of (1) time taken by the diffusion model to generate the samples and (2) time taken for Wolff-MCMC steps until the samples are thermalized. However, Figure 1 (right) does not take into account the training time for the diffusion model as this is a one-time fixed cost. The diffusion model is trained once on XY model samples at a range of temperatures. The time taken to train the diffusion model is house using the hardware and training parameters given in Appendix E.
However, in response to reviewer 1wuT's question, we have found the break-even point of for the system at and we plan to include the trend of the breakeven points at varying temperatures and system sizes as an improvement to our paper.
Q4:
The motivation for the comparison with tiling as given in Appendix C was to show that the diffusion model is learning the physics of the XY hamiltonian beyond a mere tiling effect. However, given your feedback, we have done a set of new experiments with the same diffusion model trained on samples, with inference at (low temperature). We considered two warm starts similar to the experiment in Appendix C: (1) diffusion at the inferred size, and (2) tiled start using samples. The number of Wolff steps required for thermalization are as follows:
| System size | Wolff steps required for diffusion initialization | Wolff steps required for tiled initialization |
|---|---|---|
| 40 | 10 | 35 |
| 60 | 13 | 75 |
| 80 | 20 | 120 |
| 100 | 25 | 170 |
We can see the the diffusion initialization is superior to the tiled-initialization at scale and we plan to include this result and analogous ones at varying temperatures in our revised daft.
References
[1] Abbott, Ryan, et al. ‘Variance Reduction in Lattice QCD Observables via Normalizing Flows’. arXiv [Hep-Lat], 2026.
[2] Albergo, Michael S., et al. ‘Flow-Based Sampling in the Lattice Schwinger Model at Criticality’. Physical Review D, vol. 106, no. 1, American Physical Society (APS), July 2022.
[3] Abbott, Ryan, et al. ‘Practical Applications of Machine-Learned Flows on Gauge Fields’. arXiv [Hep-Lat], 2024.
I am happy with the answers to my questions.
For 2, I was thinking along the lines of generating a cheap warm start whose long-wavelength spin-wave modes are approximately distributed correctly using the Gaussian zero-vortex limit of the Villain model (but maybe there's a reason that wouldn't work or is otherwise a bad idea).
Thank you for your clarification and we appreciate your suggestion. We will look into this and other physics inspired warm start baselines in future versions of the work.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces a hybrid "Diffusion-warmed MCMC" framework designed to accelerate the simulation of continuous-variable physical systems, specifically targeting the 2D XY model and its associated Berezinskii-Kosterlitz-Thouless (BKT) phase transition. Traditionally, exact sampling methods like Markov Chain Monte Carlo (MCMC) suffer from exponential thermalization times at low temperatures, as the algorithm struggles to explore state spaces hindered by massive topological energy barriers.
To bypass this bottleneck, the authors propose a pipeline that leverages the fast inference capabilities of Score-based Diffusion Models to generate a highly optimized initial state—a "warm start"—which is then handed off to the traditional Wolff MCMC algorithm for final equilibration.
Key Contributions
- Zero-Shot Size Extrapolation: The authors train a temperature-conditional diffusion model exclusively on small, computationally inexpensive lattices (e.g., ). During inference, the model is deployed to directly generate approximate physical configurations for significantly larger lattices (e.g., or ).
- Geometric and Physical Adaptations: To correctly process the periodic nature of the XY model's continuous variables, the model maps the angles into Cartesian coordinates (sine-cosine embeddings) and utilizes periodic convolutions to respect the lattice's boundary conditions. Additionally, it implements an annealed classifier-free guidance (CFG) schedule to accurately capture the variance across different temperature states.
- Order-of-Magnitude Acceleration: The diffusion model effectively resolves local spin-wave interactions and minimizes local energy, serving as a rapid dimensionality-reduction tool. While it may not perfectly resolve macroscopic topological defects upon size extrapolation, it places the system close enough to the target Boltzmann distribution that the Wolff MCMC algorithm only requires a few dozen steps to correct the remaining global winding numbers. This hand-off mechanism reduces the overall thermalization time by approximately an order of magnitude compared to standard MCMC methods starting from random noise.
Strengths and weaknesses
Quality
The execution features clever engineering (e.g., Cartesian mappings, annealed CFG), but the theoretical rigor is compromised by three issues:
- Architectural Inductive Bias: The score network relies on localized periodic convolutions. Its bounded effective receptive field makes it mathematically impossible to natively capture the global topological vortices required for the BKT transition during size extrapolation.
- Weak Baselines: Justifying size extrapolation against a naive copy-paste "tiling" baseline is a strawman comparison. A trivial mathematical baseline, such as bicubic interpolation followed by Wolff MCMC, is required to prove the network learns non-trivial physical priors.
- Hidden Computational Complexity: Claiming convergence in "approximately 30 Wolff steps" obscures the massive wall-clock computational footprint of large cluster updates at low temperatures.
Clarity
The methodological exposition is clean, but the presentation of results omits the system's most critical physical metric. The defining signature of the BKT transition is the universal jump in the helicity modulus (), which depends on global winding number fluctuations . Omitting and winding number distributions for the pure diffusion model prevents readers from determining whether the network learned topological physics or merely local smoothing.
Significance
Achieving a speedup for lattice spin models is practically valuable for computational physicists. However, the algorithmic ceiling is low. The pipeline relies on a convoluted data dependency (requiring MCMC to train a model to accelerate MCMC). This limits its long-term significance as the field rapidly shifts toward simulation-free, energy-driven generative models that optimize exact optimal transport paths without ground-truth data.
Originality
Applying score-based diffusion to continuous periodic angular variables is a novel domain application, but utilizing generative models as "warm starts" for MCMC is a well-established paradigm. The contribution is an incremental engineering synthesis rather than a theoretical leap.
Questions
1. The Missing Topological Litmus Test (Helicity Modulus & Winding Numbers)
- The Issue: The manuscript demonstrates that the diffusion model successfully minimizes local energy and captures short-range correlations . However, the defining macroscopic signature of the BKT phase transition is global topology. Currently, the paper omits the evaluation of the pure diffusion model's ability to generate non-trivial topological states.
- Actionable Request: Please calculate and plot the helicity modulus () across the critical temperature () and the distribution of topological winding numbers for the extrapolated macroscopic states generated solely by the diffusion model (prior to any Wolff MCMC steps).
2. Wall-Clock Transparency for Wolff MCMC Updates
- The Issue: The manuscript claims that the diffusion warm-start allows the system to thermalize in "approximately 30 MCMC steps." However, a single Wolff cluster update is not an operation; its computational complexity scales with the size of the generated cluster, which approaches at low temperatures. Using "step count" as a proxy for computational cost in this regime is physically misleading.
- Actionable Request: Please provide a wall-clock time ablation study (e.g., in seconds). Explicitly break down the total generation time into: (A) Time taken by the 500 reverse diffusion steps, and (B) Time taken by the 30 Wolff cluster updates. Compare this total time against the wall-clock time required for a standard random-initialized MCMC to reach the same topological equilibration.
3. A Fair Baseline for Size Extrapolation
- The Issue: Comparing the neural network's size extrapolation against a "tiling" baseline (which naively copy-pastes small lattices) is a strawman comparison, as tiling fundamentally shatters the continuous angular fields at the boundaries.
- Actionable Request: Please compare the diffusion-warmed MCMC against a simple mathematical upsampling baseline. Specifically, take a thermalized MCMC sample, apply standard bicubic interpolation to the continuous angle fields to upsample it to , and then run Wolff MCMC to fix the physics.
4. Discussion on Architectural Inductive Biases
- The Issue: The authors attribute the failure of the diffusion model to extrapolate macroscopic physics to the lack of long-wavelength spin waves in the training data. However, the score network relies on a few layers of localized periodic convolutions. The mathematical effective receptive field of this architecture is intrinsically bounded, making it computationally impossible to natively capture global topological vortices regardless of the training data.
- Actionable Request: No new experiments are required here. Instead, please add a paragraph to the Discussion/Limitations section acknowledging the localized inductive bias of the chosen CNN architecture. Discuss how globally attentive architectures (e.g., Diffusion Transformers or Fourier Neural Operators) might theoretically bridge this gap in future work.
5. Methodological Choice: Data-Driven Diffusion vs. Simulation-Free Energy-Based Methods
- The Issue: The 2D XY model possesses a perfectly known, analytically tractable Hamiltonian (energy function ). Despite this, the proposed method utilizes a data-driven diffusion model, which intrinsically relies on computationally expensive MCMC algorithms to generate its training set. This introduces a circular dependency: requiring MCMC to train a model whose sole purpose is to accelerate MCMC.
- Actionable Request: The authors need to explicitly justify their choice of a data-driven generative paradigm. Please add a discussion contrasting your approach with simulation-free, energy-based methods (such as Energy-based Normalizing Flows, Boltzmann Generators, or Energy-guided Schrödinger Bridges/Flow Matching). These frontier methods directly utilize the known Hamiltonian in their loss functions (e.g., via reverse KL divergence or path integrals) to optimize transport paths, completely bypassing the need for ground-truth MCMC training data.
Limitations
No. While the authors are upfront about the fact that their pure diffusion model fails to extrapolate to larger sizes (necessitating the MCMC corrector), they fundamentally misdiagnose why this failure occurs, and they omit the most critical physical limitations of their generated states.
Here are the constructive suggestions for improving the Limitations section of the manuscript:
- Misattribution of Extrapolation Failure (Data vs. Architecture): The authors currently imply that the model fails at larger sizes simply because it did not encounter long-wavelength spin waves during training on the lattice. They must acknowledge the fundamental mathematical limitation of their chosen architecture. A CNN with a few layers of convolutions possesses a strictly bounded effective receptive field. It is architecturally incapable of capturing global topological defects on large grids, regardless of the training data. The limitation should explicitly state that localized CNNs possess the wrong inductive bias for macroscopic phase transitions, and future work must explore globally-attentive models (e.g., DiT or FNO).
- Transparency on "Topological Blindness": The paper currently evaluates the diffusion model's success using local metrics (Energy, short-range ) while systematically ignoring global ones. The authors must explicitly state as a limitation that the pure diffusion model fails to cross topological sectors or generate correct winding number distributions for the BKT transition. Conceding that the neural network acts merely as a local spin-wave smoother, rather than a learner of macroscopic topological physics, is crucial.
- Hidden Scaling Costs in MCMC: The authors frame their success around reducing the required MCMC thermalization to "approximately 30 steps." They must acknowledge in the limitations that Wolff cluster updates do not scale as . Because cluster sizes approach at low temperatures, these "30 steps" harbor massive computational overhead. The limitation should address how this non-linear scaling affects the true wall-clock acceleration as system sizes grow toward the thermodynamic limit.
- Circular Data Dependency: The authors should acknowledge the fundamental limitation of their pipeline: relying on computationally expensive MCMC to generate the exact training data needed to accelerate MCMC. This should be contrasted with emerging simulation-free/energy-based methods (which bypass training data entirely but may suffer from optimization instability on periodic manifolds), clearly situating their work as a pragmatic but data-bound engineering compromise.
Final justification
The rebuttal addressed part of the initial questions, update the scores accordingly. Waiting for response for additional comments.
Formatting concerns
NO
1 comment
Rebuttal
We unfortunately find this AI-generated review significantly mischaracterizing our work, and suspect that the reviewer has not taken the time to validate the generated review by patiently reading our paper, evidenced by the following facts:
- Our work has been incorrectly categorized as ‘Use-inspired’, while it is a ‘General’ submission.
- It is very clear that we have not hidden the cost of MCMC steps from our Fig 1.
- Our score net of Fig. 10 is clearly not merely a CNN with kernels.
- We have not limited our results to local observables and have been unbiased in our research and transparent in our report.
- The helicity modulus across the phase transition plot, requested by the reviewer in Q1, is already given in Fig. 5.
We recommend that, in the future, AI-assisted reviews are limited to Q&A between the reviewer and the agent, tagged as AI-assisted reviews, and that full PDF / bulk text dumps are blocked.
We, nevertheless, provide thorough responses to the reviewer's questions in what follows.
Q1.
We have plotted the helicity modulus for samples generated solely by the diffusion model prior to any MCMC steps in Fig. 5 (right). The model was trained on a system and used to generate samples for systems. The topological winding number is closely related to the helicity modulus as shown in [1]. However it is more common in literature to study the helicity modulus as it has a sharp transition at the phase transition temperature point.
Q2.
We do report the wall-clock times for thermalization for both diffusion-warmed MCMC and standard randomly initialized MCMC as given in the right subplot of Fig. 1. The thermalization time reported for the Diffusion-warmed MCMC method is the sum of (1) time taken by the diffusion model to generate the samples and (2) time taken for Wolff-MCMC steps until the samples are thermalized. The full breakdown is provided as follows and will be added to the paper.
| System Size | Mean time for diffusion sampling (s) | Mean time for Wolff MCMC on diffusion samples (s) | Total time (s) |
|---|---|---|---|
| 60 | 695 | 177 | 872 |
| 80 | 891 | 634 | 1525 |
| 90 | 1390 | 650 | 2040 |
| 100 | 1516 | 899 | 2415 |
Q3.
We do not understand how the mentioned interpolation technique applies to our work; please elaborate. However, the tiling experiment of Appendix C was presented exactly to demonstrate that the diffusion model learns the physics of the system as opposed to naive extrapolations; e.g., from tiling system patches beside each other. We also refer the reviewer to the response to Q4 of reviewer pDin for further information.
Q4.
We disagree with this point as the score network comprises several stacked convolutions in the intermediate residual blocks as shown in Fig. 10. The first CNN layer which takes in the spin as input and the last CNN layer which produces the output have kernels, but the intermediate layers and residual units capture global features in addition to local features. Additionally, we have inferred the predicted vorticity from our models and observed that the diffusion model samples successfully capture the vortex density even without needing further MCMC steps. We plan to provide plots showing vortex density across different temperatures and system sizes in our revised draft, and here provide the system-size raw data at different temperatures near the phase transition.
| Beta | Vortex density of samples produced by MCMC | Vortex density of samples produced by diffusion (no MCMC) |
|---|---|---|
| 0.5 | 0.197 | 0.199 |
| 0.7 | 0.124 | 0.124 |
| 0.9 | 0.0524 | 0.0497 |
| 1.1 | 0.00989 | 0.0124 |
| 1.3 | 0.00216 | 0.00310 |
| 1.5 | 0.000485 | 0.000784 |
Q5.
The sampling time from the training system-size (20 x 20) took 14 hours on a 4 vCPU machine and since it is a one-time cost we do not agree with the reviewer's comment. We actually started this project by variational training using an unsupervised Boltzmann generator akin Ref [2], and faced mode collapses that inspired the approach reported in this paper. This is also why our introduction has thoroughly discussed this point:
“Variational training is generally done by importance sampling where samples are generated by the model during different steps of training and then weights are assigned depending on the probability of the sample and the Gibbs density. However, these models suffer from mode collapse in multimodal and high dimensional systems where some modes dominate the importance weights and thus causing low probability regions to be under-represented. Furthermore, the density of the samples produced by the model is also not readily available for some models and thus requires estimation of the density which can be computationally expensive. This can make training such models unstable and computationally very expensive.”
We believe our results, showing only training at is well enough, for capturing the physics of the XY model at scale using our approach is very interesting.
Limitation 1:
We disagree. Please refer to our response to Q4 since we have indeed demonstrated that our CNN architecture captures global features. We will mention Diffusion Transformers, Fourier Neural Operators and similar architectures in our conclusion as alternative approaches for future explorations.
Limitation 2:
We disagree. Beside expected energy and magnetization, we have tracked helicity modulus and spin-spin correlations at all ranges in our paper. Spin-spin correlation, , measures correlations between spins separated by any distance , and helicity modulus measures global correlations. Figs. 3 and 4 show at all choices of . Hence we do not ignore global observables. We also refer the reviewer to the vortex density calculations in response to their Q4.
Limitation 3:
We disagree. We have not hidden the scaling cost of MCMC steps. It is true that Wolff-MCMC-step cost scales with the size of the clusters formed, however this is already included in Fig. 1 (right).
Limitation 4:
We disagree. Please refer to our response to your Q5 for further details.
References
[1] Melko, R. G., et al. ‘Aspect-Ratio Dependence of the Spin Stiffness of a Two-dimensional XYmodel’. Physical Review B, vol. 69, no. 1, American Physical Society (APS), Jan. 2004.
[2] Jing, Bowen, et al. ‘Torsional Diffusion for Molecular Conformer Generation’. arXiv [Physics.Chem-Ph], 2023.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work studies the use of diffusion models to accelerate sampling in the 2D XY model. The authors train a temperature-conditioned diffusion model on small 20×20 lattices and apply it to larger lattice sizes. The generated configurations are then used as warm starts for Wolff MCMC updates. The main goal is to reduce the thermalization time compared with starting MCMC from random configurations. The paper evaluates the method using physical observables such as spin-spin correlations, energy, helicity modulus, magnetization, and heat capacity. The results show that diffusion-warmed MCMC can reach thermalized configurations faster than standard Wolff MCMC for the tested system sizes and temperatures.
Strengths and weaknesses
Strengths:
The paper addresses an important practical problem: reducing thermalization time for sampling continuous spin systems, using the 2D XY model as a meaningful test case.
The proposed diffusion-warmed MCMC idea is simple and intuitive. A diffusion model is used to generate a better initial configuration, and Wolff MCMC is then used to correct and thermalize the samples.
The evaluation uses physically relevant observables, including spin-spin correlations, energy, helicity modulus, magnetization, and heat capacity, which makes the numerical study connected to the physics of the XY model.
Weaknesses:
The paper does not provide a proper total cost comparison. The reported speedup appears to include diffusion inference and the final Wolff MCMC correction, but not the cost of generating training data and training the diffusion model. Since the main goal is to reduce simulation cost, an amortized or break-even cost analysis is needed.
The diffusion model alone does not produce fully accurate large-lattice samples, so the final correctness relies significantly on the subsequent Wolff MCMC steps.
The thermalization criterion is based on a limited set of observables and fixed tolerances, which may not be sufficient to establish full equilibration, especially near the BKT transition.
Questions
-
The paper reports a significant reduction in thermalization time, but the cost comparison seems to include only diffusion inference plus the final Wolff MCMC correction, not the cost of generating the training data and training the diffusion model. Since the main motivation is to reduce the total cost of simulation, authors should provide a full cost analysis, including training-data generation, model training, inference, and MCMC correction? It would also be useful to show a break-even estimate for how many simulations are needed before the upfront diffusion cost is amortized.
-
The diffusion-only samples show visible discrepancies in spin-spin correlations and thermodynamic observables for larger lattices, and the final agreement is obtained only after Wolff MCMC updates. It will be nice to see how much of the improvement comes specifically from the diffusion warm start only?
-
The thermalization criterion is based on convergence of a selected set of observables with fixed tolerances. Since convergence of a few observables does not necessarily imply full equilibration, especially near the BKT transition, authors may test additional physically relevant diagnostics such as vortex density, vortex-antivortex correlations, long-wavelength spin-wave modes, or stricter long-distance correlation measures?
-
The paper emphasizes size extrapolation from (20\times20) training lattices to larger systems. providing a more systematic scaling analysis showing how the speedup changes with lattice size, temperature, and tolerance level would straighten the paper?
-
Since the model is temperature-conditioned, the authors may refer earlier theory-/parameter-conditioned generative models for lattice field theory, including 10.21468/SciPostPhys.15.6.238 and 10.1103/PhysRevD.107.014512, among others.
Limitations
Limitations:
-
The generality of the approach is not fully established. The method is demonstrated only for the continuous, periodic XY model, where the diffusion process and network design are naturally suited to angular variables. It is not clear whether the same approach would work equally well for discrete spin systems, other continuous models, or more complex lattice field theories without significant modification. At-least some comment in the introduction would be nice.
-
The diffusion model by itself does not produce fully accurate large-lattice samples. The final agreement with reference observables relies on applying additional Wolff MCMC steps, so the method is better understood as a learned warm start rather than a standalone sampler.
Final justification
I appreciate for the new additional experiment performed for the proper analysis on thermalization time.
Formatting concerns
NA
2 comments
Rebuttal
Thank you very much for taking the time to review our work. Our responses are given below:
Q1:
In the cost comparison we indeed had only taken the inference and Wolff MCMC steps into account in our Fig 1. The time taken to train the model was hours on a Linux machine with a single Tesla 4 GPU, 4 vCPUs, and 15 GB RAM. The machine specs are already included in Appendix E but we will include the training time as well there. The total time taken to generate training data for the system on a grid of temperatures is hours on the same machine generating samples at each temperature.
However, we did not take the training time and training sample collection time into account in Fig 1, since we were not sure how to reflect it in a productive way, since we knew that this is just an upfront cost. We are very thankful to your idea on the break even estimate. Hence we did several experiments (described below) for a fixed temperature (). We will add more results at different temperatures in the next version of the work.
In the experiment we used the diffusion model trained on lattices and the target size chosen was . For the different number of samples generated by both randomly initialized MCMC and diffusion-warmed MCMC, we computed the thermalization time. However, the training time now for the diffusion model ( seconds) has been taken into account as a fixed offset in the thermalization time computation for the diffusion model. We observe that the thermalization time for diffusion-warmed MCMC (which is now sum of diffusion training time, diffusion inference time and time taken for MCMC steps until thermalization) crosses the thermalization time for randomly initialized MCMC when the number of samples used to compute thermalization time is .
Q2:
This is already demonstrated in figure (left) using the gray vertical dashed lines. We see that applying MCMC steps to the diffusion-warm samples is enough to estimate observable. In comparison the Wolff MCMC steps required starting with random initiatilization is at about . This demonstrates that samples generated by diffusion warmup converge in at least an order of magnitude fewer MCMC steps than those initialized from random configurations.
Q3:
We agree that convergence of a few observables does not imply thermalization, and in fact in section we mention: “While convergence of observables does not imply that a system has reached equilibrium, this is the best that can be done for such physics systems as there is no clear metric showing a system has thermalized”. This is why we tracked 4 observables (energy, magnetization, heat capacity and helicity modulus) for thermalization. We have performed additional experiments and computed vortex densities. We observed that the diffusion model samples (even without any MCMC steps) have vortex densities close to ground truth as shown in the following table for the system size at different temperatures across the phase transition point.
| Beta | Vortex density of samples produced by MCMC | Vortex density of samples produced by diffusion (no MCMC) |
|---|---|---|
| 0.5 | 0.197 | 0.199 |
| 0.7 | 0.124 | 0.124 |
| 0.9 | 0.0524 | 0.0497 |
| 1.1 | 0.00989 | 0.0124 |
| 1.3 | 0.00216 | 0.00310 |
| 1.5 | 0.000485 | 0.000784 |
Q4:
We have shown scaling analysis in figure 1 (right) showing the speedup in thermalization time provided by diffusion-warmed MCMC versus MCMC across system sizes ranging from to and at three different temperatures across the phase transition. However we acknowledge that the thermalization time was obtained at fixed tolerance as described in Appendix A. Should the paper get accepted we will provide more plots similar to figure 1 (right) varying the tolerance level.
Q5:
Thank you for your suggestion. We will cite papers about conditional generation of lattice field theory models including the two references mentioned.
Limitation 1:
We acknowledged the limitation that this work has been demonstrated only for the 2D XY model in our conclusion in the line “Additionally, it will be interesting to test this method for other systems beyond the XY model and other physical quantities like temperature extrapolation.” We will highlight this point in our introduction as well.
Limitation 2:
Completely agreed, hence the choice of our paper title.
I have raised my score, as the work is meaningful and the additional experiments are appreciated. However, the significance of this framing for the particular theory remains unclear, and I hope it will be explored further in future work.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank you for your reviews and for acknowledging the strengths of our paper. Our responses are given below:
Concern 1:
The training data generation for the 20×20 system and the training is done only once and thus we did not report it in our Fig 1. We have discussed the training time and data generation time in our response to reviewer 1wuT Q1. We also discussed break even point amortization analysis in the same response.
Concern 2:
In our work we track the helicity modulus which is the physical observable of interest that characterizes the non trivial winding of this problem. Please see our response to Q2. of reviewer 3Eag for more information on this.
Concern 3:
We have done some new analysis with break even amortization analysis (response to Q1 of reviewer 1wuT), vortex density (response to Q3 of reviewer 1wuT), timing comparison with tiled initialization versus diffusion-warm initialization (response to Q4 of reviewer pDin).
Concern 4:
In this work we have demonstrated our technique on the 2D XY model. In our conclusion we mention “Additionally, it will be interesting to test this method for other systems beyond the XY model and other physical quantities like temperature extrapolation”. We want to test our method on more systems in the next version of our work. We responded to this in response to Limitation 1 of reviewer 1wuT.
Concern 5:
We have done timing comparison with tiled initialization versus diffusion-warm initialization (response to Q4 of reviewer pDin). However, in future versions of the work we want to consider physics based baselines.
Concern 6:
We have discussed data free training in the introduction of our paper. Please see our response to Q5 of reviewer 3Eag for more details on this. Data free training has several advantages as it does not require MCMC. However, it can suffer from mode collapse. In fact, in this work we did try data free training, but faced mode collapse issues. The mode collapse issues inspired the approach in this work.
Concern 7:
We have discussed the novelty of our approach in the introduction of our paper. In prior works people have explored generative models to generate samples from the 2D XY model. However, they trained models at specific sizes and did not demonstrate reliable sampling at extrapolated sizes. Our diffusion-warm sampling technique is the first work to the best of our knowledge that demonstrates significant reduction in thermalization time from the Gibbs distribution of the 2D XY model for end to end sampling at extrapolated sizes.