Abstract
Sampling from unnormalized Boltzmann densities is a fundamental challenge in machine learning and statistics. This paper provides a rigorous mathematical foundation for this task by analyzing the paths that connect simple prior distributions to complex targets. The authors identify a critical "teleportation-of-mass" problem in standard linear interpolation methods and propose a novel "gradient flow interpolation" based on Langevin dynamics that is both theoretically well-behaved and empirically superior.
Introduction
Generative modeling often involves learning a flow or a curve in the space of probability measures to transform a simple distribution, such as a Gaussian, into a target distribution $\rho_D \propto e^{-f_D}$. A common choice is the linear interpolation of energy functions. However, this paper demonstrates that such paths often result in "teleportation," where mass vanishes in the source and reappears in the target modes only at the very end of the process. This leads to exploding velocity fields that are difficult for neural networks to learn accurately.
The Teleportation Problem in Linear Interpolation
The authors provide a precise mathematical critique of linear interpolation. In density space, this corresponds to a multiplicative interpolation that is "non-smooth" from a particle transport perspective. As the interpolation parameter $t$ approaches 1, the energy required to move particles—represented by the $L_2$ norm of the velocity field—spikes violently.
This explosion is particularly severe as the distance $m$ between modes increases. The authors show that the $L_2$ norm of the velocity field grows exponentially with this distance, a phenomenon captured in the log-linear relationship between $m$ and the terminal velocity norm.
Methodology: Gradient Flow Interpolation
To resolve the teleportation issue, the authors bridge the gap between Fisher-Rao flows and Wasserstein geometry. They prove that under mild conditions (specifically a partial Poincaré inequality), curves of Boltzmann densities are absolutely continuous in Wasserstein space, guaranteeing the existence of an integrable velocity field.
They propose a new parametrization called Gradient Flow Interpolation: $$f_t = \frac{T-t}{T}f_D + t\psi_t$$ By fixing the velocity field $v_t$ to be the gradient of the difference between the current and prior energies, the path resembles the Wasserstein gradient flow of the Kullback-Leibler (KL) divergence. This approach, inspired by the Fokker-Planck equation related to Langevin dynamics, naturally produces smoother, more well-behaved transport of mass.
Experimental Results
The methods were evaluated on challenging synthetic benchmarks, including a 40-mode Gaussian Mixture Model (GMM) and an 8-dimensional Many-Well distribution. The proposed Gradient Flow Interpolation significantly outperformed linear and previously proposed "learned" interpolations across several metrics.
Quantitative Performance
| Method | ESS $\uparrow$ (GMM) | NLL $\downarrow$ (GMM) | Energy Distance $\downarrow$ (GMM) |
|---|---|---|---|
| Linear ($\sigma=30$) | 0.183 | 8.657 | 0.247 |
| Learned ($\sigma=30$) | 0.922 | 6.913 | 0.121 |
| Gradient Flow ($\sigma=1$) | 0.992 | 6.864 | 0.0021 |
Key Insights
- Robustness to Prior: Standard methods are highly sensitive to the scale ($\sigma$) of the starting Gaussian. The proposed gradient flow is significantly more robust to this choice, maintaining high performance even when the prior is not perfectly tuned.
- Geometric Alignment: By using a path inspired by Langevin SDEs, the mass is "pushed" according to the geometry of the target density, ensuring that all modes are captured with high precision.
Conclusion and Future Work
This work establishes a rigorous foundation for sampling from Boltzmann densities by identifying and addressing the limitations of energy-based interpolation. While the gradient flow method shows superior performance and robustness, future work remains to scale these solutions to higher-dimensional spaces like image generation and to optimize training efficiency. The authors suggest that combining uniform sampling with trajectory-based sampling could further improve the evaluation of the loss function.
Summary updated