Abstract
Sampling from unnormalized probability distributions is a fundamental task in Bayesian inference and statistical mechanics, often hindered by complex, multi-modal energy landscapes. Traditional neural samplers trained with reverse KL divergence frequently suffer from mode collapse. We introduce Reverse Diffusive KL Divergence (DiKL), a novel objective that minimizes the KL divergence between model and target distributions across a range of noise levels. By effectively "blurring" the distributions, DiKL bridges distant modes during training, allowing for robust mode coverage and efficient one-step generation. We demonstrate that DiKL achieves superior mode capture on high-dimensional benchmarks and provides a significant speedup over state-of-the-art diffusion-based samplers.
Introduction
Sampling from unnormalized distributions $p(x) = \frac{1}{Z} \exp(-E(x))$ is critical for understanding physical systems and performing Bayesian inference. While Markov Chain Monte Carlo (MCMC) is a standard approach, its efficiency degrades in high-dimensional spaces with multiple isolated modes. Neural samplers offer a faster alternative by learning to map simple noise to the target distribution. However, standard training objectives like reverse KL divergence are "mode-seeking," often causing the model to collapse onto a single mode of a multi-modal target.
Methodology
The proposed Reverse Diffusive KL Divergence (DiKL) addresses mode collapse by considering the distributions along a diffusion trajectory. Instead of matching the "clean" target $p_d$ directly, the model $p_\theta$ is trained to match the target across various noise levels $\sigma$.
As shown in Figure 1, convolving the target with Gaussian kernels of increasing scale transforms sharp, isolated modes into a broader, more connected density. This "diffusive" approach makes the global structure of the distribution more accessible to the optimizer. To compute gradients without direct samples from the target, the authors employ a Mixed Score Identity (MSI) to estimate the target's score and Denoising Score Matching (DSM) for the model's score. The resulting sampler is a one-step generator $g_\theta(z)$, providing extreme inference speed.
Key Insights: Noise as a Bridge
The primary advantage of DiKL is its ability to "convexify" the energy landscape at high noise levels. At high noise levels, two distant modes merge into one large cloud, allowing the model to "see" the connection between them before refining its focus as the noise decreases.
Figure 2 illustrates how the KL divergence landscape changes with noise. At lower noise levels, the landscape may have sharp minima corresponding to individual modes, leading to collapse. At higher noise levels, these modes merge, creating a broader basin that facilitates global exploration. As training progresses and noise is reduced, the model refines its fit to the true, multi-modal target.
Experimental Results
DiKL was evaluated on several benchmarks, including MoG-40 (a 2D mixture of 40 Gaussians) and Many-Well-32 (a 32D target with $2^{32}$ modes). In both cases, DiKL successfully captured all modes with accurate weights, whereas standard KL methods failed.
On physical systems like Lennard-Jones-13 (LJ-13), DiKL matched the accuracy of state-of-the-art methods like FAB and iDEM while being significantly faster. For example, DiKL's batch sampling was ~1000x faster than iDEM (0.02s vs 19.7s for 1,000 samples), demonstrating the efficiency of one-step generation.
Discussion and Limitations
While DiKL is highly efficient and mathematically grounded, it has limitations. The use of an implicit one-step generator means the exact probability density $p_\theta(x)$ is intractable, preventing post-hoc importance re-weighting. Additionally, for extremely complex landscapes like LJ-55, a one-step model may lack the expressive power of multi-step diffusion processes. Future work could involve integrating DiKL with sequential transport or multi-step architectures to further enhance flexibility.
Summary updated