Optimization Guarantees for Square-Root Natural-Gradient Variational Inference

Navish Kumar, Thomas Möllenhoff, Mohammad Emtiyaz Khan, Aurélien Lucchi

Abstract

Natural Gradient Descent (NGD) is widely used in Variational Inference (VI) for its empirical efficiency, yet a rigorous theoretical understanding of its convergence has remained elusive. This paper addresses the "theory-practice gap" by introducing a square-root (Cholesky) parameterization for Gaussian distributions. We demonstrate that this parameterization preserves the concavity of the objective function, allowing for the first proof of exponential convergence for NGD-based VI under concave log-likelihoods. Our analysis includes the derivation of a Riemannian Polyak-Łojasiewicz (PL) inequality and empirical validation across several benchmark datasets.

1. Introduction

Variational Inference (VI) serves as a cornerstone of modern Bayesian machine learning, providing a framework to approximate complex posterior distributions with simpler, tractable distributions, such as Gaussians. To optimize the Evidence Lower Bound (ELBO), practitioners frequently employ Natural Gradient Descent (NGD). Unlike standard Euclidean gradient descent, NGD accounts for the information geometry of the distribution space, typically resulting in faster convergence and better-conditioned updates.

Despite its practical success, providing convergence guarantees for NGD in VI has been historically difficult. The primary obstacle is the choice of parameterization: using standard mean and covariance parameters often causes the ELBO to lose its concavity, even when the underlying log-likelihood is well-behaved. Without concavity, standard optimization theory cannot guarantee fast or global convergence, leaving a significant gap between what researchers observe in practice and what can be proven mathematically.

2. The Square-Root Parameterization

The core contribution of this work is the proposal to parameterize the Gaussian covariance matrix $V$ using its square-root (specifically, the lower-triangular Cholesky factor $C$, where $V = CC^\top$). This shift is motivated by the observation that the loss of concavity in VI is often an artifact of the mathematical representation rather than the problem itself.

By adopting the square-root parameterization, the authors develop the Square-Root Variational Newton (SR-VN) algorithm. This approach ensures that the objective remains strongly concave, making it amenable to rigorous analysis. SR-VN effectively mimics the behavior of second-order Newton methods—which utilize Hessian information for optimal scaling—while avoiding the computationally prohibitive requirement of inverting large Hessian matrices.

3. Theoretical Framework

The authors establish a theoretical foundation for SR-VN through several key steps:

  1. Riemannian PL Inequality: They establish a local Riemannian Polyak-Łojasiewicz (PL) inequality for the ELBO under the square-root parameterization. In optimization theory, the PL inequality is a critical condition that allows for the proof of exponential convergence without requiring global strong convexity.
  2. Natural Gradient Flow Analysis: The authors analyze the continuous-time version of the algorithm, known as Natural Gradient (NG) Flow. They prove that under the proposed parameterization, the flow converges to the optimal solution at an exponential rate.
  3. Discrete-Time Guarantees: Moving from continuous flow to the actual iterative algorithm, the authors prove that SR-VN maintains a contractive error rate, providing the first rigorous proof of exponential convergence for NGD-based VI in this context.

4. Empirical Evaluation

To validate the theoretical findings, the authors evaluated SR-VN on a variety of benchmark datasets from the LIBSVM repository. The experiments focused on Bayesian logistic regression, a standard problem involving concave log-likelihoods.

  • Small-scale datasets: Australian-scale, Diabetes-scale, breast-cancer, and Mushrooms.
  • Large-scale datasets: MNIST, Covtype-scale, and Phishing.
  • High-dimensional datasets: Leukemia ($d > n$).

Key Results

  • Superior Convergence Speed: SR-VN demonstrated significantly faster convergence compared to Euclidean-based methods (e.g., BW-GD) and Wasserstein-based geometries. In some instances, NGD reached the optimal solution in a single step, whereas Euclidean methods required 10 iterations and Wasserstein methods required over 400.
  • Stability and Accuracy: SR-VN performs almost identically to the standard Variational Newton (VN) method regarding accuracy and ELBO optimization, but it offers superior stability and is easier to analyze theoretically.
  • Robustness: Interestingly, the method remained effective even when tested with non-convex regularizers, suggesting that the benefits of the square-root parameterization may extend beyond the strictly concave settings covered by the current theory.

5. Discussion and Limitations

While SR-VN provides a major step forward in the theoretical understanding of VI, the authors note some specific trade-offs. For example, while standard Newton methods can solve quadratic problems in exactly one step, the SR-VN update may require more than one step due to the specific geometry of the square-root parameterization.

Furthermore, the current convergence guarantees are centered on concave log-likelihoods. Extending these rigorous proofs to the non-convex landscapes common in deep learning remains a significant challenge for future research. Additionally, while the paper touches on stochastic updates, a comprehensive theoretical treatment of SR-VN in high-noise, stochastic settings is still required.

6. Conclusion

This work bridges the gap between the practical utility of Natural Gradient Descent and its theoretical foundations in Variational Inference. By demonstrating that the "theory-unfriendly" nature of VI is largely a matter of parameterization, the authors provide a path toward more stable, predictable, and efficient Bayesian inference algorithms. The square-root parameterization not only enables rigorous proofs of exponential convergence but also maintains the high performance required for large-scale machine learning tasks.

Summary updated

BibTeX
@article{kumar2025optimization,
  author = {Navish Kumar and Thomas Möllenhoff and Mohammad Emtiyaz Khan and Aurélien Lucchi},
  title = {{Optimization Guarantees for Square-Root Natural-Gradient Variational Inference}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure