Abstract
Sampling from a target probability distribution $\pi$ is a fundamental challenge in computational statistics and machine learning. This task is frequently framed as an optimization problem over the space of probability distributions, where the goal is to minimize a divergence from $\pi$ using gradient flows under an appropriate metric. This paper demonstrates that within the broad family of Bregman divergences, the Kullback–Leibler (KL) divergence is the unique member whose gradient flow does not require knowledge of the target distribution's normalizing constant. This finding provides a theoretical justification for the ubiquity of KL divergence in sampling algorithms and highlights the inherent difficulties in employing alternative divergences.
Introduction
In Bayesian inference and machine learning, we often need to sample from a complex target distribution $\pi$. In most practical scenarios, $\pi$ is only known up to a normalizing constant $Z$, such that $\pi(x) = \tilde{\pi}(x)/Z$. Because calculating $Z$ involves an intractable integral over the state space, sampling algorithms must ideally rely only on the unnormalized density $\tilde{\pi}$ or its gradient.
A powerful framework for this task is to treat sampling as a functional optimization problem. By defining a divergence $D(\mu || \pi)$ between a moving distribution $\mu$ and the target $\pi$, we can derive a gradient flow—a differential equation describing the steepest descent of the divergence. The Reverse Kullback-Leibler (KL) divergence is the standard choice for this framework because its gradient flow depends on $\nabla \log \pi$, a term where the constant $Z$ conveniently vanishes. This paper asks a critical theoretical question: Is the KL divergence the only divergence that possesses this property, or are there other Bregman divergences that could be used to sample without knowing $Z$?
The Uniqueness of KL Divergence
Theoretical Framework
The author focuses on the family of Bregman divergences, which are generated by a convex functional $\Phi$. This family is significant because it includes many divergences used in robust statistics, such as $\beta$-divergences. For a gradient flow to be implementable without $Z$, the first variation of the divergence must be "scale-invariant" in a specific sense: the difference between the divergence to a scaled target $c\pi$ and the original target $\pi$ must be independent of the current distribution $\mu$.
The Proof
Through functional analysis, the author derives a functional equation that must be satisfied for this independence to hold: $$\Phi'(e^{z_1}) - \Phi'(e^{z_1+z_2}) = K$$ By applying a classic 1962 theorem by Friedman regarding the solutions to such functional equations, the author proves that the only functional $\Phi$ satisfying this condition is the negative entropy functional. This functional uniquely generates the Kullback-Leibler divergence.
Key Result: Proposition 1
The paper’s central contribution is Proposition 1, which formally states that the KL divergence is the only Bregman divergence such that the gradient flow is invariant to the scaling of the target distribution. Consequently, any attempt to use other Bregman divergences (like $\alpha$ or $\beta$-divergences) for gradient flow sampling fundamentally requires the normalizing constant. If one replaces $\pi$ with $\tilde{\pi}$ in those flows, the resulting dynamics will not converge to the correct target distribution.
Discussion and Context
This result completes a theoretical puzzle. Recent research (Chen et al., 2023) established that KL is the unique divergence with this property within the family of $f$-divergences. Since KL is famously the only divergence that belongs to both the $f$-divergence and Bregman divergence families, this paper confirms that KL occupies a truly singular position in the landscape of gradient-based sampling.
While this suggests a "hard barrier" for using other divergences, the author notes two important caveats:
- Kernel Discrepancies: The proof does not apply to kernel-based discrepancies like Maximum Mean Discrepancy (MMD) or Stein Discrepancies. These methods often successfully avoid the normalizing constant and remain viable alternatives to KL-based flows.
- Approximation Methods: Although exact gradient flows for non-KL Bregman divergences require $Z$, researchers are beginning to develop approximations (using techniques like mollifiers or jump processes) that allow for the use of divergences like $\chi^2$ without explicit knowledge of the normalizing constant.
Conclusion
The dominance of the Kullback–Leibler divergence in sampling algorithms like Unadjusted Langevin Dynamics (ULA) and Stein Variational Gradient Descent (SVGD) is not merely a matter of historical preference. It is a mathematical necessity within the Bregman and $f$-divergence families. For researchers seeking to exploit the heavy-tail robustness of other divergences, this work clarifies that they must either compute the normalizing constant or rely on approximation-based alternatives.
Summary updated