Abstract
We consider extensions of the Shannon relative entropy, referred to as $f$-divergences. Three classical related computational problems are typically associated with these divergences: (a) estimation from moments, (b) computing normalizing integrals, and (c) variational inference in probabilistic models. These problems are related to one another through convex duality, and for all them, there are many applications throughout data science, and we aim for computationally tractable approximation algorithms that preserve properties of the original problem such as potential convexity or monotonicity. In order to achieve this, we derive a sequence of convex relaxations for computing these divergences from non-centered covariance matrices associated with a given feature vector: starting from the typically non-tractable optimal lower-bound, we consider an additional relaxation based on "sums-of-squares", which is now computable in polynomial time as a semidefinite program. We also provide computationally more efficient relaxations based on spectral information divergences from quantum information theory. For all of the tasks above, beyond proposing new relaxations, we derive tractable convex optimization algorithms, and we present illustrations on multivariate trigonometric polynomials and functions on the Boolean hypercube.
Introduction
In machine learning and signal processing, measuring the difference between probability distributions is a fundamental task. This is typically achieved using $f$-divergences, a broad family of measures that includes the Kullback-Leibler (KL) divergence, Pearson $\chi^2$, and Hellinger distance. These measures are central to three core challenges: estimating divergences from moments, calculating partition functions (normalizing constants), and performing variational inference.
However, these tasks often suffer from the "curse of dimensionality," making them NP-hard for complex multivariate distributions. Traditional spectral relaxations often lack the necessary tightness for accurate estimation. This paper introduces a hierarchy of convex relaxations that bridge the gap between accuracy and computational efficiency.
Theoretical Framework: $f$-Divergences
An $f$-divergence between two distributions $P$ and $Q$ is defined using a convex function $f$ such that $f(1)=0$. Common examples and their corresponding functions are summarized in the table below.
The behavior of these $f(t)$ functions is crucial for the stability and convexity of the resulting optimization problems. As shown in Figure 1, these functions are convex and reach their minimum at $t=1$, a property that the proposed relaxations are designed to preserve.
Proposed Relaxations
The paper proposes three levels of convex formulations, ordered by their computational cost and accuracy:
- Optimal Lower Bound ($D^{OPT}$): The theoretically tightest bound, which is unfortunately non-tractable (NP-hard) to compute in general.
- Sum-of-Squares (SOS) Relaxation ($D^{SOS}$): This replaces the hard maximization problem with a "Sum-of-Squares" approach. By representing non-negative functions as quadratic forms of feature vectors, the problem becomes a Semidefinite Program (SDP), which can be solved in polynomial time.
- Quantum/Spectral Relaxation ($D^{QT}$): A further relaxation based on "maximal" information divergences from quantum information theory. This is the "sweet spot" of the paper—it is computationally more efficient than SOS because it relies on spectral decompositions (eigenvalues), yet it remains much tighter than previous "standard" quantum relaxations.
A key technical contribution is a new unconstrained variational formulation for $f$-divergences. Unlike previous constrained versions, this new form allows for more stable optimization using Kelley’s method (a cutting-plane algorithm).
Key Insights and Results
The paper evaluates these methods on mathematical benchmarks, including multivariate trigonometric polynomials and functions on the Boolean hypercube. Key findings include:
- Tightness in 1D: For univariate trigonometric polynomials, the SOS relaxation is shown to be numerically identical to the true value.
- Quantum-Classical Link: The spectral relaxation of a classical divergence is mathematically identical to the "maximal" divergence used in quantum mechanics, providing a physical and geometric grounding for the proposed relaxations.
- Efficiency vs. Accuracy: While $D^{SOS}$ is technically the most accurate, experiments showed that $D^{QT}$ provides nearly identical results at a much lower computational cost, making it the optimal choice for many practical engineering tasks.
Conclusion
This work provides a sophisticated bridge between information theory, convex optimization, and quantum information theory. By leveraging SOS optimization and quantum-inspired spectral methods, it offers a hierarchy of tractable relaxations for $f$-divergences that maintain fundamental properties like joint convexity and monotonicity. Future research will focus on scaling these methods to even higher dimensions and analyzing their performance with finite-sample data.
Summary updated