Conditional Normalizing flow for Monte Carlo sampling in lattice scalar field theory

Ankur Singha, Dipankar Chakrabarti, V. AroraarXiv 2022 · DOI

Abstract

The cost of Monte Carlo sampling of lattice configurations is very high in the critical region of lattice field theory due to the high correlation between the samples. This paper suggests a Conditional Normalizing Flow (C-NF) model for sampling lattice configurations in the critical region to solve the problem of critical slowing down. We train the C-NF model using samples generated by Hybrid Monte Carlo (HMC) in non-critical regions with low simulation costs. The trained C-NF model is employed in the critical region to build a Markov chain of lattice samples with negligible autocorrelation. The C-NF model is used for both interpolation and extrapolation to the critical region of lattice theory. Our proposed method is assessed using the 1+1-dimensional scalar $\phi^4$ theory. This approach enables the construction of lattice ensembles for many parameter values in the critical region, which reduces simulation costs by avoiding the critical slowing down.

Introduction: Addressing Critical Slowing Down

In lattice field theory, researchers typically rely on Monte Carlo simulations, such as Hybrid Monte Carlo (HMC), to sample field configurations. However, these methods encounter a significant bottleneck known as critical slowing down near phase transitions. In these "critical regions," the samples generated by HMC become highly correlated, requiring increasingly long simulation times to produce independent configurations. This makes exploring critical physics—where the most interesting phenomena often occur—computationally prohibitive. This work proposes using machine learning to generate uncorrelated samples directly, bypassing the local update limitations of traditional algorithms.

Methodology: Conditional Generative Modeling

The authors utilize Normalizing Flows (NF), which transform simple probability distributions (e.g., Gaussian) into complex target distributions via invertible, differentiable mappings. The innovation lies in the Conditional architecture (C-NF).

Architecture of the Conditional Normalizing Flow (C-NF) model showing the transformation from latent space $z$ to physical space $x$ conditioned on $c$.

Training and Sampling Strategy

  1. Conditioning on Parameters: Instead of training separate models for each coupling constant ($\lambda$), a single model is trained with $\lambda$ as an input condition. This allows the model to learn the physics across a continuous parameter space.
  2. Efficient Training: The C-NF is trained using HMC-generated samples from non-critical regions, where HMC remains efficient and inexpensive.
  3. Interpolation and Extrapolation: Once trained, the model generates configurations in the critical region through interpolation (between training points) or extrapolation (beyond training points).
  4. Physical Guarantees: To ensure exactness, the C-NF is used as a proposal distribution for a Metropolis-Hastings (MH) algorithm. This "C-NF + MH" framework ensures that the final samples follow the precise physical distribution of the theory, correcting any potential model biases.

The method was benchmarked on a 1+1-dimensional scalar $\phi^4$ theory on an $8 \times 8$ lattice. Training data consisted of 10,000–15,000 HMC configurations from non-critical $\lambda$ values, while evaluation focused on the critical region ($\lambda \in [4.1, 5.0]$).

Results: Performance and Accuracy

The C-NF approach successfully eliminates critical slowing down. While HMC autocorrelation times spike in the critical region, the integrated autocorrelation time ($\tau_{int}$) for the C-NF approach remained near 1.0, indicating perfectly uncorrelated samples.

Comparison of physical observables: (a) order parameter $\langle \tilde{\phi}^2 \rangle$ and (b) susceptibility $\chi$ vs $\lambda$. The C-NF+MH results (green) closely match the HMC baseline (blue), while the Naive C-NF (red) shows bias.

Key Insights

  • Physical Accuracy: As shown in the figures, observables like the order parameter $\langle \tilde{\phi}^2 \rangle$ and susceptibility $\chi$ calculated via C-NF + MH match HMC baselines within statistical error. The "Naive C-NF" (without the MH step) exhibits visible biases, highlighting the necessity of the MH correction.
  • Computational Efficiency: Training took approximately 5–6 hours on a Tesla P100 GPU. Once trained, generating a Markov Chain of $10^5$ configurations took only 5–7 minutes, a massive speedup compared to the time required for HMC to produce an equivalent number of independent samples in the critical region.
  • Global Sampling: Unlike local HMC updates, the C-NF generates entire lattice configurations at once, which inherently decouples the samples from their predecessors.

Conclusion and Future Outlook

This study demonstrates that Conditional Normalizing Flows can effectively mitigate critical slowing down in scalar field theories. By learning the manifold of field configurations as a function of physical parameters, the model provides a scalable way to explore critical regions.

Future work will focus on scaling these techniques to larger lattices and more complex gauge theories, such as Quantum Chromodynamics (QCD). These theories present additional challenges, as the generative models must respect or learn complex internal symmetries to remain efficient.

Summary updated

BibTeX
@misc{singha2022conditional,
  author = {Ankur Singha and Dipankar Chakrabarti and V. Arora},
  title = {{Conditional Normalizing flow for Monte Carlo sampling in lattice scalar field theory}},
  year = {2022},
  eprint = {2207.00980},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.00980},
}
Figure