Skip to main content
QUICK REVIEW

[Paper Review] Learning Interpolations between Boltzmann Densities

Bálint Máté, François Fleuret|arXiv (Cornell University)|Jan 18, 2023
Gaussian Processes and Bayesian InferenceComputer Science5 citations
TL;DR

This paper proposes a novel training objective for continuous normalizing flows that replaces the reverse KL-divergence by learning interpolations between Boltzmann densities via a time-dependent vector field and energy function interpolation. The method minimizes the violation of the continuity equation, reducing mode collapse and improving training efficiency on multimodal targets like Gaussian mixtures and quantum mechanical double-well potentials.

ABSTRACT

We introduce a training objective for continuous normalizing flows that can be used in the absence of samples but in the presence of an energy function. Our method relies on either a prescribed or a learnt interpolation $f_t$ of energy functions between the target energy $f_1$ and the energy function of a generalized Gaussian $f_0(x) = ||x/σ||_p^p$. The interpolation of energy functions induces an interpolation of Boltzmann densities $p_t \propto e^{-f_t}$ and we aim to find a time-dependent vector field $V_t$ that transports samples along the family $p_t$ of densities. The condition of transporting samples along the family $p_t$ is equivalent to satisfying the continuity equation with $V_t$ and $p_t = Z_t^{-1}e^{-f_t}$. Consequently, we optimize $V_t$ and $f_t$ to satisfy this partial differential equation. We experimentally compare the proposed training objective to the reverse KL-divergence on Gaussian mixtures and on the Boltzmann density of a quantum mechanical particle in a double-well potential.

Motivation & Objective

  • Address the mode collapse issue in normalizing flows trained with reverse KL-divergence when estimating expectations under multimodal target densities.
  • Overcome the limitation of reverse KL by introducing a physics-inspired training objective based on continuous transport along interpolated energy functions.
  • Enable training without access to true samples, relying only on energy function evaluations and their gradients.
  • Improve both sample quality and training speed by optimizing a time-dependent vector field to satisfy the continuity equation along a learned energy interpolation.
  • Demonstrate the method's effectiveness on challenging targets such as multimodal Gaussians and quantum mechanical Boltzmann densities.

Proposed method

  • Define a time-dependent energy function $ f_t = (1-t)f_0 + t f_1 + t(1-t)f^ heta(t) $, where $ f_0 $ is a generalized Gaussian and $ f_1 $ is the target energy function.
  • Induce a family of Boltzmann densities $ p_t \propto e^{-f_t} $, and learn a time-dependent vector field $ V_t $ to transport samples along this family.
  • Formulate the condition for proper transport as the continuity equation $ \partial_t p_t + \nabla \cdot (p_t V_t) = 0 $, which links $ V_t $ and $ p_t $.
  • Optimize $ V_t $ and $ f_t $ by minimizing the pointwise violation of the continuity equation, using a loss function $ \mathcal{L} = \int \mathcal{E} + \mathcal{E}^2 \, dt $, where $ \mathcal{E} $ is the residual error.
  • Parametrize $ f_t $ and $ V_t $ using neural networks (MLPs) with shared architecture across time, and use automatic differentiation for gradients.
  • Train using Adam optimizer with cosine learning rate decay, and integrate flows via 4th-order Runge-Kutta with 50 steps.

Experimental results

Research questions

  • RQ1Can a continuity equation-based training objective reduce mode collapse in normalizing flows when only energy function evaluations are available?
  • RQ2How does the performance of the proposed method compare to reverse KL-divergence minimization in terms of KL divergence, effective sample size, and mode coverage?
  • RQ3Does learning a non-linear interpolation $ f_t $ between base and target energy functions improve performance over linear interpolation?
  • RQ4To what extent does the method scale in training speed and sample quality on high-dimensional multimodal targets?
  • RQ5Can the method generalize to complex physical systems, such as the Boltzmann density of a quantum particle in a double-well potential?

Key findings

  • The proposed method achieves significantly lower KL divergence than reverse KL training on both Gaussian mixture and quantum double-well targets.
  • The method improves effective sample size by up to 2.5× compared to reverse KL on the Gaussian mixture benchmark.
  • Mode coverage is substantially improved, with the flow learning all four modes of the 2D Gaussian mixture without collapse.
  • Training converges faster and is more stable, with models trained in only 10,000 iterations achieving better results than reverse KL models trained for 250,000 iterations.
  • The use of a learned non-linear interpolation $ f_t $ outperforms linear interpolation, especially in high-curvature regions of the energy landscape.
  • The method naturally fits into the PINN framework, with the continuity error serving as a residual loss, suggesting broader applicability to PDE-constrained learning.

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.