Infinite-dimensional gradient-based descent for alpha-divergence minimisation.

Kamelia Daudel, randal douc, François PortierOpenReview 2023

TL;DR

This paper introduces a new gradient-based optimization algorithm, the $(\alpha, \Gamma)$-descent, for minimizing $\alpha$-divergences in Bayesian inference. It extends standard variational methods by allowing optimization over measures and introduces a novel "Power Descent" algorithm that shows improved performance and scalability, especially in high-dimensional settings, compared to existing methods like Entropic Mirror Descent.

What Problem Does This Paper Address?

In Bayesian statistics, approximating complex posterior distributions is a common challenge. Variational Inference (VI) tackles this by optimizing a simpler "variational" distribution to minimize a divergence (like KL-divergence) between it and the true posterior. However, traditional VI methods often rely on specific divergence choices and can struggle with high-dimensional models or when the variational family is restricted. This paper aims to generalize VI by:

  1. Expanding the optimization space: Instead of just optimizing parameters of a fixed variational family, they optimize over measures, allowing for more flexible approximations.
  2. Generalizing the divergence: They use the broader $\alpha$-divergence family, which includes KL-divergence as a special case, offering more flexibility.
  3. Introducing a new algorithm: They propose the $(\alpha, \Gamma)$-descent, which is a gradient-based method that can handle these generalized divergences and optimization spaces, and specifically introduce the "Power Descent" as a practical and effective instance of this framework.

Methods

The core contribution is the $(\alpha, \Gamma)$-descent algorithm. This is an iterative procedure that updates a measure $\mu$ (representing the variational approximation) by applying a transformation $\Gamma$ to a gradient-derived quantity.

  • Generalization of Variational Inference: Instead of optimizing a density $q(y) = p(y|\theta)$ over parameters $\theta$, they optimize a measure $\mu$ on a parameter space $\mathcal{T}$, where the variational density is implicitly defined as $q(y) \propto \int_{\mathcal{T}} k(\theta, y) \mu(d\theta)$, with $k$ being a kernel.
  • $\alpha$-Divergence Minimization: The objective is to minimize $D_\alpha(Q||P)$, a generalized form of KL-divergence, between the target posterior $P$ and the variational distribution $Q$.
  • $(\alpha, \Gamma)$-Descent: This algorithm iteratively updates the measure $\mu$. It involves an "expectation step" to compute intermediate quantities and an "iteration step" that applies a function $\Gamma$ (which can be chosen in various ways) to these quantities to update $\mu$.
  • Power Descent: A specific instance of the $(\alpha, \Gamma)$-descent where $\Gamma(v) = [(a-1)v+1]^{\eta/(1-a)}$ for $a>1$. This is shown to be more stable and scalable than standard Entropic Mirror Descent, especially as the dimensionality of the problem increases.
  • Stochastic Formulation: They also develop a stochastic version of the $(\alpha, \Gamma)$-descent, which is crucial for large-scale applications as it avoids computing intractable integrals by using mini-batches of samples. This stochastic version can optimize mixture model weights without needing to know the underlying distribution of the variational parameters.

Datasets

The paper uses the following datasets for evaluation:

  • Toy Example: A synthetic dataset generated from a mixture of two d-dimensional Gaussian densities. This is used to demonstrate the performance of different $(\alpha, \Gamma)$-descent variants (Power Descent vs. Mirror Descent) across varying dimensions.
  • Bayesian Logistic Regression: The Covertype dataset, a real-world dataset with 581,012 data points and 54 features, is used to evaluate the algorithm on a practical machine learning task.

Key Insights and Ideas

  • Flexibility through Measures: Optimizing over measures, rather than just parametric densities, offers a more principled and potentially more powerful way to approximate complex distributions.
  • Power Descent's Scalability: The introduction of the "Power Descent" algorithm is a significant practical contribution. It demonstrates superior performance and stability compared to Entropic Mirror Descent, particularly in high-dimensional settings where Mirror Descent can fail. This suggests that the choice of the $\Gamma$ function is critical for algorithm performance.
  • Unified Framework: The $(\alpha, \Gamma)$-descent framework elegantly unifies existing methods like Entropic Mirror Descent and introduces new ones like Power Descent under a single, generalizable structure.
  • Stochastic Optimization for Mixture Models: The stochastic version of the algorithm is particularly useful for optimizing mixture models, as it can learn the mixture weights without explicit knowledge of the underlying parameter distributions, making it a "black-box" method.

Key Results

  • Convergence Guarantees: The paper provides theoretical convergence guarantees for the $(\alpha, \Gamma)$-descent algorithm under various conditions, including rates for both exact and stochastic versions.
  • Empirical Performance:
    • Toy Example: The 0.5-Power Descent consistently outperformed the 0.5-Mirror Descent, and crucially, it did not diverge in high dimensions (d=32) where the 0.5-Mirror Descent failed. The 1-Mirror Descent also showed slower convergence and divergence issues in higher dimensions compared to the 0.5-Power Descent.
  • Bayesian Logistic Regression: On the Covertype dataset, the 0.5-Power Descent algorithm outperformed a state-of-the-art Adaptive Importance Sampling (AIS) algorithm in terms of both accuracy and log-likelihood.

Limitations and Future Work

  • Theoretical Assumptions: While the $(\alpha, \Gamma)$-descent is general, its theoretical convergence proofs rely on certain assumptions about the function $\Gamma$ and the problem's properties (e.g., smoothness, boundedness). The paper explores specific choices of $\Gamma$ that satisfy these, but finding optimal $\Gamma$ for all tasks might still be an open question.
  • Choice of $\alpha$ and $\Gamma$: The paper notes that the optimal choice of $\alpha$ and the specific $\Gamma$ function can depend on the learning task and is an area of ongoing research.
  • Variance Reduction: The authors suggest exploring more advanced Monte Carlo methods for variance reduction in the estimation of intermediate quantities, which could further improve the efficiency of the stochastic algorithm.
  • Exploration Step: For the complete exploitation-exploration algorithm, they mention that various "Exploration Steps" could be envisioned, suggesting further research into how to best explore the parameter space.
  • Stochastic Convergence Rates: While the stochastic version achieves an $O(1/\sqrt{N})$ bound, bridging the gap to $O(1/N)$ typically requires stronger smoothness and strong-convexity assumptions, which the authors have bypassed. Investigating how to achieve $O(1/N)$ convergence under weaker assumptions is a direction for future work.

Summary updated

BibTeX
@misc{daudel2023infinite,
  author = {Kamelia Daudel and randal douc and François Portier},
  title = {{Infinite-dimensional gradient-based descent for alpha-divergence minimisation.}},
  year = {2023},
  url = {https://openreview.net/forum?id=BegYNU91GLU},
  howpublished = {OpenReview},
}
Figure