Data Free Training of Diffusion Models for Lattice Field Theories
Authors: Dennis Grinwald, Ankur Singha, Khaled Kahouli, Karl Jansen, Shinichi Nakajima
Organizations: Berlin Institute for the Foundations of Learning and Data (BIFOLD), Germany · Technische Universität Berlin, Germany · Deutsches Elektronen-Synchrotron (DESY), Platanenallee 6, 15738 Zeuthen, Germany · Computation-Based Science and Technology Research Center, The Cyprus Institute, Nicosia, Cyprus · RIKEN Center for Advanced Intelligence Project (AIP), Japan
Sampling equilibrium field configurations remains a major computational bottleneck in lattice field theory, motivating the development of generative samplers that can produce independent configurations. Diffusion models are promising for this purpose, but their standard denoising score matching objective requires samples from the target distribution, seemingly reintroducing the original sampling problem. Here, we show that diffusion models can instead be trained from their own generated samples using the target score identity, provided access to the unnormalized probability density. Importance-weighted formulations of this identity yield a consistent target throughout training, while unweighted variants define a self-consistent fixed-point training scheme. We benchmark the different approaches in two-dimensional φ4 theory and identify effective choices that enable efficient training and sampling across the symmetric, critical, and broken phases. Ultimately, our data-free training approach achieves comparable performance to training on HMC reference data.
Figures & tables
Figure 1: Score estimator variance vs. diffusion time t ( L=4 , symmetric). While DSI and TSI diverge at either end of the time interval, CVSI variance stays low.
Figure 2: ESS comparison of our data-free CVSI training (red circle), TSI (orange triangle) and IW-TSI (purple inverted triangle), as well as the oracle data-driven DSI (blue square), at criticality. Error bars show 1 σ confidence intervals.
Figure 3: Free-energy estimation error βF−βFTI at criticality.
L
phase
βF/∣ΛL∣
fTI
ESS (%)
z
4
symmetric
−0.687128(13)
−0.687127(39)
99.8
−0.03
critical
−0.759598(22)
−0.759610(54)
98.8
+0.21
broken
−0.828053(29)
−0.827985(67)
98.9
−0.93
8
symmetric
−0.670360(7)
−0.670380(17)
99.0
+1.09
critical
−0.721223(9)
−0.721248(25)
96.7
+0.94
broken
−0.787032(11)
−0.787052(35)
97.4
+0.56
Table 1: Free energy per site f=βF/∣ΛL∣ , its TI reference fTI , , ESS, and the compatibility z -score. Errors in parentheses are 1σ on the last digits. Symmetric, critical, and broken pools use N=50,000 .
Figure 4: Estimation errors for the mean absolute magnetization ⟨∣m∣⟩ , the susceptibility of the absolute magnetization χ∣M∣ , the magnetic susceptibility χM , and the fourth-order Binder cumulant U4 .
Figure 5: Training dynamics of the ESS for N=5000 samples.
Figure 6: ESS comparison of data-free and data-driven training.
Figure 7: Free-energy estimator errors βF−βFTI .
Figure 8: Magnetization at L=8 , broken phase, over the self-learning loop. Raw samples (light red) and reweighted (red) approach the HMC reference (grey).
Implicit score matching provides a computationally efficient approach for training diffusion models and generating high-quality samples from complex distributions. In this work, we develop a score-matching framework for SU(N) lattice gauge theories, which can be extended to other Lie groups. We apply the method to SU(3) gauge configurations with the Wilson gauge action in two and four dimensions and assess the quality of the generated samples by comparison with Hybrid Monte Carlo (HMC) simulations. We show that the diffusion models can be successfully trained and applied for sampling the Wilson gauge action. For large values of inverse coupling, accurate reverse-time integration requires predictor-corrector schemes, for which we introduce a corrector based on Hamiltonian molecular dynamics. While the corrector significantly improves sampling quality, it also increases the computational cost. We outline several strategies for improving sampling efficiency.
Javad Komijani, Marina K. Marinkovic, Lara Turgut
Institute for Theoretical Physics, ETH Zurich, 8093 Zurich, Switzerland
Diffusion models generate samples by denoising along the score of a perturbed target distribution. In practice, one trains a neural diffusion model, which is computationally expensive. Recent work suggests that score matching implicitly smooths the empirical score, and that this smoothing bias promotes generalization by capturing low-dimensional data geometry. We propose moment-matched score-smoothed overdamped Langevin dynamics (MM-SOLD), a training-free interacting particle sampler that enforces the target moments throughout the sampling trajectory. We prove that, in the large-particle limit, the empirical particle density converges to a deterministic limit whose one-particle stationary marginal is a Gibbs--Boltzmann density obtained by exponentially tilting a naive score-smoothed diffusion target. The mean and covariance of this distribution agree with the empirical moments of the training data. Experiments on 2D distributions and latent-space image generation show that MM-SOLD enables fast, robust, training-free sampling on CPUs, with sample fidelity and diversity competitive with neural diffusion baselines.
Zhenyu Yao, Daniel Paulin
College of Computing and Data Science Nanyang Technological University
Computational sampling has been central to the sciences since the mid-20th century. While machine-learning-based approaches have recently enabled major advances, their behavior remains poorly understood, with limited theoretical control over when and why they succeed. Here we provide such insight for diffusion models-a class of generative schemes highly effective in practice-by analyzing their application to the O(n) model of statistical field theory in the Gaussian limit n→∞. In this analytically tractable setting, we show that training a score model with a one-layer network architecture matching the exact solution exhibits a form of critical slowing down in parameter learning. This slowing down also impacts the generation process, indicating that the well-known difficulties of sampling near criticality persist even for learned generative models. To overcome this bottleneck, we demonstrate the power of combining architectural depth with physical locality. We find that using a two-layer architecture drastically reduces the critical slowing down, with the training time scaling logarithmically rather than quadratically with system size. By introducing a local score approximation we show that this acceleration in training time can be achieved without increasing the number of neural network parameters. Taken together, these results demonstrate that diffusion models can overcome the critical slowing down through appropriate architectural design, and establish a controlled framework for understanding and improving learned sampling methods in statistical physics and beyond.
Luca Maria Del Bono, Giulio Biroli, Patrick Charbonneau +1
Dipartimento di Fisica, Sapienza Università di Roma, Piazzale Aldo Moro 5, Rome 00185, Italy · CNR-Nanotec, Rome unit, Piazzale Aldo Moro 5, Rome 00185, Italy · Laboratoire de Physique Statistique, École normale supérieure, PSL Research University, 24 rue Lhomond, 75005 Paris, France +3