Skip to main content
QUICK REVIEW

[Paper Review] Introduction to Normalizing Flows for Lattice Field Theory

Michael S. Albergo, Denis Boyda|arXiv (Cornell University)|Jan 20, 2021
Computational Physics and Python ApplicationsComputer Science23 references15 citations
TL;DR

This paper introduces normalizing flows as a machine learning method for efficiently sampling Boltzmann distributions in lattice field theories, including scalar and U(1) gauge theories. By leveraging invertible, differentiable transformations and encoding physical symmetries like gauge invariance and translational invariance, the approach enables exact likelihood evaluation and direct sampling, with subsequent MCMC correction ensuring unbiased statistics. The method achieves high acceptance rates (~24%) in U(1) gauge theory and accurately reproduces topological susceptibility (1.22 ± 0.05), matching HMC benchmarks.

ABSTRACT

This notebook tutorial demonstrates a method for sampling Boltzmann distributions of lattice field theories using a class of machine learning models known as normalizing flows. The ideas and approaches proposed in arXiv:1904.12072, arXiv:2002.02428, and arXiv:2003.06413 are reviewed and a concrete implementation of the framework is presented. We apply this framework to a lattice scalar field theory and to U(1) gauge theory, explicitly encoding gauge symmetries in the flow-based approach to the latter. This presentation is intended to be interactive and working with the attached Jupyter notebook is recommended.

Motivation & Objective

  • To develop a scalable, differentiable sampling method for lattice field theories using normalizing flows.
  • To incorporate physical symmetries—such as local gauge invariance and translational invariance—into the flow architecture to reduce model complexity.
  • To enable exact likelihood evaluation and direct sampling via invertible, continuous transformations.
  • To correct flow-based approximations using MCMC, ensuring statistically unbiased ensembles.
  • To demonstrate the method on both scalar φ⁴ theory and U(1) lattice gauge theory with quantitative validation.

Proposed method

  • Uses normalizing flows as invertible, differentiable transformations f: z → x, where z is a simple prior and x is the target field configuration.
  • Employs coupling layers with masked coupling to build expressive, tractable flows, with Jacobian determinant computed via autodifferentiation.
  • Imposes equivariance constraints to enforce lattice translational symmetry and local U(1) gauge invariance in the flow architecture.
  • Applies MCMC correction (e.g., Metropolis independence sampler) to the flow-generated samples to achieve exact sampling from the target Boltzmann distribution.
  • Uses the log-likelihood ratio between model density q(x) and target p(x) as a surrogate for the action, enabling training via variational inference.
  • Employs PyTorch for end-to-end training with Adam optimization and tracks training metrics via live-plotting during training.

Experimental results

Research questions

  • RQ1Can normalizing flows be effectively used to sample complex lattice field theories with high-dimensional, constrained configurations?
  • RQ2How can physical symmetries such as gauge invariance and translational invariance be embedded into normalizing flow architectures to improve sample quality and reduce model complexity?
  • RQ3To what extent can flow-based models approximate the true Boltzmann distribution in lattice field theories, and how well do MCMC corrections ensure statistical bias removal?
  • RQ4What is the performance of the method in sampling topologically nontrivial sectors, such as in U(1) gauge theory, compared to standard HMC?
  • RQ5Can the method reproduce key observables like topological susceptibility with high accuracy and low error?

Key findings

  • The method achieves a Metropolis acceptance rate of 24.4% in U(1) gauge theory, indicating effective proposal quality from the flow model.
  • The topological susceptibility was measured as 1.22 ± 0.05, in excellent agreement with the HMC benchmark of 1.23 ± 0.02.
  • The model's log-likelihood q(x) showed strong correlation (slope ~1) with the true action S(x), confirming accurate density approximation.
  • Training dynamics showed consistent convergence of the effective sample size and loss, with stable behavior over 10 training eras.
  • The use of symmetry-informed flows reduced model complexity and improved generalization, as evidenced by stable training and accurate observables.
  • The framework successfully generated unbiased ensembles, with topological charge Q mixing rapidly over Markov chain time, avoiding topological freezing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.