Evaluating generative samplers for lattice field theory by scale

Satoshi Iso, Lingxiao WangarXiv 2026 · arXiv

TL;DR

Effective Sample Size (ESS) is the standard metric for evaluating generative models in lattice field theory, but it is often misleading because it is dominated by short-distance noise. This paper introduces a scale-resolved diagnostic to isolate errors by wavelength and proposes a "marginal Metropolis test" that maintains high sampling efficiency for physical observables even when global metrics suggest the model has failed.

What Problem Does This Paper Address?

In lattice field theory, we use generative models (like normalizing flows or diffusion models) to sample complex field configurations. However, these models face a "volume problem": as the physical size of the lattice grows, the overlap between the model's distribution and the true target distribution vanishes exponentially.

The standard diagnostic, Effective Sample Size (ESS), collapses toward zero in large volumes. This makes it appear that the sampler is useless. However, physicists primarily care about "long-distance" observables (like the mass of a particle or magnetic susceptibility). The authors argue that a model can have a terrible global ESS due to tiny, high-frequency errors at every lattice site, yet still be highly accurate for the long-distance physics that actually matters.

Methods

The authors propose two major innovations:

  1. Scale-Resolved Diagnostics ($D_2(\Lambda)$): They introduce the "overlap flow," based on the Rényi divergence of order two. By coarse-grained the fields (removing modes above a certain momentum cutoff $\Lambda$), they can see which scales are contributing to the model's failure. If the divergence drops as $\Lambda$ decreases, the errors are mostly "ultraviolet" (short-distance) and might not affect physical results.
  2. The Marginal Metropolis Test: Instead of performing a global Metropolis-Hastings test on the entire configuration—which almost always rejects in large volumes—they perform the test on a few "collective variables" (like total magnetization $M$).
  3. Composite Markov Chain: To ensure the rest of the configuration is also correct, they follow the marginal test with a few steps of a traditional local solver (like Hybrid Monte Carlo, HMC). This "composite" approach uses the generative model to get the big-picture physics right and the local solver to clean up the short-distance details.

Datasets

The study evaluates these methods on two primary systems:

  • Exactly Solvable Free Field Theory: Used to derive analytical bounds and prove that relaxation times for short-distance errors are independent of volume.
  • Two-Dimensional $\phi^4$ Theory: A standard benchmark for testing samplers near critical points (where physics becomes difficult to simulate). They used high-precision Monte Carlo ensembles as a "ground truth" benchmark.

Key Insights and Ideas

  • Relevant vs. Irrelevant Errors: Borrowing from renormalization group theory, the authors show that "relevant" mismatches (like a mass error) bias physical observables and survive coarse-graining. "Irrelevant" mismatches (like lattice artifacts) dominate the global ESS but vanish in the infrared.
  • ESS is an Aggregate, Not a Localizer: A low ESS tells you the model is off, but it doesn't tell you where or at what scale. Figure 1 illustrates how two samplers with the same global ESS can have completely different physical accuracy.
Figure 1: Comparison of relevant (mass) and irrelevant (lattice artifact) errors. While both have the same global D2 (top right), the irrelevant error vanishes at low cutoffs, while the relevant error persists.
  • The Marginal Advantage: The acceptance rate of a marginal test is always greater than or equal to the global test. In their tests, the marginal test stayed "order one" (highly efficient) even as the global test rate plummeted.

Key Results

  • Acceptance Rate Stability: In the $\phi^4$ theory at a lattice size of $L=64$, the global acceptance rate was essentially zero ($< 10^{-10}$), meaning a standard independence sampler would never accept a move. However, the marginal test on magnetization accepted 80% of proposals.
  • Bias Reduction: In the free field, they showed that using "local weights" (weighting only the modes an observable depends on) provides much more stable estimates than global reweighting.
Table I: Comparison of estimators. For the relevant mismatch, global weights are noisy and biased, while local weights accurately recover the true susceptibility (16.05 vs 16).
  • Volume-Independent Relaxation: For the free field, the number of HMC updates needed to reach a target accuracy for mode variances is independent of the volume, provided the correlation length is fixed.
FIG. 2. Composite chain in the free field (ξ = 4, ε0 = −0.46, ¯t = 1, 104 parallel chains). (a) The marginal test on x0 accepts with the exact rate 0.807 for all L (points: measured; dotted line: 1 −TV from Proposition 1); the full ratio test, shown with its exact acceptance rate, collapses. (b) Bias of G(kmin) against nref. Points: simulation; the two L = 16 points at nref = 20 and 30 are consistent with zero. Lines: Eq. (14) with the geometric approximation for E[Bk]. Dashed: the L independent bound (16). (c) Relaxation time τ(kmin) = −1/ log Et[cos2(ωkmint)] from Proposition 3(iv): it grows with L and saturates at τm.

Limitations and Future Work

  • Target Marginal Requirement: The marginal test requires knowing the target distribution of the collective variables (e.g., $p(M)$). While the authors show this can be estimated via "mean force" integration, it adds a computational overhead.
  • Coupling Effects: In interacting theories, high-frequency errors can "pull" the low-frequency modes during relaxation. The authors suggest relaxing the proposal before the test to mitigate this.
  • Scaling to Gauge Theories: While tested on scalar fields, the real challenge is applying this to gauge theories (like QCD), where choosing the right collective variables (e.g., topological charge or Polyakov loops) is more complex.

Summary updated

Abstract

Generative samplers for lattice field theory are commonly evaluated by their effective sample size (ESS). We show that a small global ESS need not imply inaccurate long-distance observables: errors spread over many short-distance modes can dominate this diagnostic. We introduce a scale-resolved diagnostic based on the overlap between coarse-grained model and target distributions. At the lattice cutoff, this overlap determines the asymptotic ESS fraction; lower cutoffs isolate long-wavelength errors. In the exactly solvable free theory, two samplers with comparable ESS yield a $32\%$ bias and no bias in the susceptibility, respectively. In two-dimensional $φ^4$ theory near criticality, trained diffusion samplers show the same separation of scales: their path-weight ESS fraction falls rapidly over the volumes studied, while low moments of the magnetization remain close to their target values. Varying the reference parameters substantially changes infrared observables, with little effect on the log-weight variance. Given the target magnetization distribution, a marginal Metropolis test maintains an acceptance rate of order one in our tests. Combined with exact local updates, it reduces the remaining mismatch, although residual bias remains at finite relaxation length. In the free field, uniformly bounded relative errors in the proposal mode variances give a volume-independent bound on the number of updates needed for a prescribed accuracy of the chain's stationary mode variances at fixed correlation length. The target marginal must be supplied or computed separately; estimating it from the samplers' own weights can inherit the poor global overlap.
BibTeX
@misc{iso2026evaluating,
  author = {Satoshi Iso and Lingxiao Wang},
  title = {{Evaluating generative samplers for lattice field theory by scale}},
  year = {2026},
  eprint = {2611.11108},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11108},
}
Figure