Skip to main content
QUICK REVIEW

[Paper Review] Detecting and Mitigating Mode-Collapse for Flow-based Sampling of Lattice Field Theories

Kim A. Nicoli, Christopher J. Anders|arXiv (Cornell University)|Jan 1, 2023
Theoretical and Computational PhysicsPhysics and Astronomy1 citations
TL;DR

This paper identifies and addresses mode-collapse in normalizing flows used for sampling lattice field theories, where flows fail to represent all physical modes due to reverse-KL training. It proposes forward-KL training and estimator combination to reduce bias, demonstrating significantly improved free energy estimation with lower error than HMC in a 2D ϕ⁴ theory.

ABSTRACT

We study the consequences of mode-collapse of normalizing flows in the context of lattice field theory. Normalizing flows allow for independent sampling. For this reason, it is hoped that they can avoid the tunneling problem of local-update MCMC algorithms for multi-modal distributions. In this work, we first point out that the tunneling problem is also present for normalizing flows but is shifted from the sampling to the training phase of the algorithm. Specifically, normalizing flows often suffer from mode-collapse for which the training process assigns vanishingly low probability mass to relevant modes of the physical distribution. This may result in a significant bias when the flow is used as a sampler in a Markov-Chain or with Importance Sampling. We propose a metric to quantify the degree of mode-collapse and derive a bound on the resulting bias. Furthermore, we propose various mitigation strategies in particular in the context of estimating thermodynamic observables, such as the free energy.

Motivation & Objective

  • To identify the root cause of mode-collapse in normalizing flows trained via reverse-KL divergence in lattice field theories.
  • To quantify the bias introduced by mode-collapse in physical observable estimators.
  • To propose forward-KL training as a mitigation strategy, especially for thermodynamic observables like free energy.
  • To develop a metric to assess the degree of mode-collapse in trained flows.
  • To demonstrate improved free energy estimation using combined flow estimators and forward-KL training.

Proposed method

  • Uses reverse-KL minimization for standard flow training, which is prone to mode-collapse due to weak penalty on missing modes.
  • Proposes forward-KL training as an alternative, which enforces maximum likelihood and reduces mode-collapse by penalizing missing modes.
  • Introduces a theoretical bound on the bias of observable estimators due to mode-collapse, enabling a quantifiable metric for mode-collapse severity.
  • Employs pre-sampled HMC configurations as ground-truth data for forward-KL training, enabling use in free energy estimation without additional chains.
  • Combines multiple flow-based estimators to reduce variance and improve accuracy in free energy estimation.
  • Validates methods on a 2D ϕ⁴ scalar theory with lattice volumes up to N=100, using HMC as reference.

Experimental results

Research questions

  • RQ1How does reverse-KL training in normalizing flows lead to mode-collapse in lattice field theories?
  • RQ2What is the theoretical bound on the bias introduced by mode-collapse in physical observable estimators?
  • RQ3Can forward-KL training significantly reduce mode-collapse compared to reverse-KL in flow-based sampling?
  • RQ4Is forward-KL training viable for thermodynamic observables like free energy when HMC samples are available?
  • RQ5Can combining multiple flow-based estimators reduce bias and improve accuracy in free energy estimation?

Key findings

  • Forward-KL training reduces mode-collapse significantly compared to reverse-KL, as shown by a lower bias metric and improved coverage of physical modes.
  • The theoretical bias bound accurately quantifies the impact of mode-collapse, with a maximum observed bias of approximately 0.73 in the 2D ϕ⁴ model.
  • Flow-based free energy estimation with forward-KL training achieved errors several orders of magnitude smaller than HMC, despite using only 1M samples.
  • The combination of multiple flow estimators further reduced variance and improved accuracy, outperforming single-flow estimators.
  • Training with 50M pre-sampled HMC configurations enabled effective forward-KL training, making it feasible for free energy estimation without additional HMC chains.
  • The method demonstrated robust performance across lattice volumes up to N=100, with training times up to 55 hours on A100 GPUs.

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.