arXiv:2610.39568cond-mat.stat-mechOct 2026

Manuscript Offprint

arXiv:2610.39568

Diffusion models for the O(3)O(3) nonlinear sigma model

Daniel Schubring

Abstract

A score-based diffusion model is trained on the two-dimensional classical Heisenberg model, the lattice representation of the O(3)O(3) nonlinear sigma model. Neural networks are trained on three different coarse-grainings of the same training set to implement a multiscale sampling scheme that modestly improves both the accuracy and computational cost of direct sampling on the finest lattice. Stein (or Schwinger–Dyson) diagnostics for the two-point correlation function are introduced to assess the quality of the learned score without relying on reverse diffusion sampling. These diagnostics are also incorporated into an additional training loss. We discuss several technical considerations relevant to implementing diffusion models on S2S^2. These include a consideration of lifting the network input to S3S^3, as in the CP1CP^1 representation, and developing a boundary-layer approximation to the short-time spherical heat kernel that extends its usefulness to larger diffusion times.

1 Introduction

Lattice field theory provides a nonperturbative framework for studying quantum field theories, with physical observables conventionally evaluated using Markov chain Monte Carlo (MCMC) methods. Despite their successes, conventional MCMC algorithms can suffer from long autocorrelation times as the continuum limit is approached, a manifestation of critical slowing down [1]. In theories with nontrivial topology, transitions between topological sectors may become strongly suppressed, leading to the additional problem of topological freezing [2–9].

To address these issues, generative machine-learning techniques have been investigated as alternatives or complements to conventional MCMC methods [10–15]. In particular, score-based diffusion models (DMs) [16–25] have recently been applied to lattice field theories including scalar ϕ4\phi^4 theory [26–28], two-dimensional U(1)U(1) gauge theory [27–29], the XY model [30], frustrated spin glasses [31], and non-Abelian gauge theories [32,33].

While diffusion models offer a promising approach to mitigating critical slowing down and topological freezing, their computational cost remains a challenge. Generating configurations requires integrating ordinary or stochastic differential equations involving many evaluations of a learned score function, which can be considerably more expensive than conventional MCMC updates. Here we investigate the tradeoffs between computational cost and accuracy in diffusion models for lattice field theories, using the two-dimensional O(3)O(3) nonlinear sigma model [34–39], also known as the classical Heisenberg model [40,41], as a test case.

The O(3)O(3) model shares several qualitative features with four-dimensional Yang–Mills theory, including asymptotic freedom, emergence of a mass gap, and topological instantons, making it a

*daschubring@gmail.com useful testing ground for methods developed to study nonperturbative gauge theories (see, e.g., [42]). The O(3)O(3) model involves an S2S^2-valued field, but it may equivalently be expressed in terms of an S3S^3-valued field with gauge redundancy, in which case it is known as the CP1CP^1 model. The latter interpretation admits a large-NN generalization, the CPN−1CP^{N-1} model [43–45], which exhibits severe topological freezing in conventional Monte Carlo simulations [6–9]. In contrast, the CP1CP^1 or O(3)O(3) model case we study here does have efficient MCMC methods [38]. This makes it a useful benchmark for assessing diffusion-based sampling methods with potential applications to the higher CPN−1CP^{N-1} family and the qualitatively related 4D lattice gauge theories.

Using the O(3)O(3) model, we investigate two complementary methodological questions motivated by the computational cost of score evaluations. First, we explore superresolution methods and multiscale sampling [46–55], see Fig. 3 and Fig. 6. The diffusion model is used to generate coarse-grained configurations on a smaller, cheaper lattice, and then the results are super-resolved to the original lattice. Second, limiting the number of score evaluations may require large integration step sizes, introducing discretization errors that can be comparable to those arising from the neural network imperfectly learning the score. To evaluate the learned score independently of the discretization error, we introduce diagnostics based on Stein identities [56–59], which are also known as Schwinger-Dyson identities in a field-theory context [60,61].

Additional technical challenges in applying diffusion models to the O(3)O(3) model arise because its fields take values on the nonlinear manifold S2S^2. Diffusion models can be naturally extended to Riemannian manifolds by replacing the Gaussian transition kernel with the heat kernel associated with the manifold [62–66]. However, heat kernels are generally not available in closed form, and practical approximations are needed for numerical calculations. The case of S2S^2 presents particular difficulties that do not arise for Lie group manifolds. As previously noted in the machine-learning literature [67], the short-time asymptotic expansion of the spherical heat kernel becomes singular near the antipodal point. We develop a separate boundary-layer expansion to obtain an accurate approximation in this region. A further complication is that S2S^2 has a non-trivial tangent bundle, and we discuss the implications for the choice of neural network architecture.

An outline of the paper is as follows. In Sec. 2, we review the lattice formulation of the O(3)O(3) model and also describe the basic setup of our numerical results with diffusion models. In Sec. 3, we review diffusion models on Riemannian manifolds, focusing on practical aspects of evaluating the heat kernel and its score on S2S^2. In Sec. 4, we introduce Stein diagnostics that probe the accuracy of the learned score in reproducing two-point correlations, and show how these can be incorporated into the training loss to improve short-distance correlations. In Sec. 5, we describe our superresolution methods and present numerical results using DMs trained at three different levels of coarse graining. Finally, in Sec. 6, we summarize our findings and discuss future directions.