Manifold Optimisation Assisted Gaussian Variational Approximation

Bingxin Zhou, Junbin Gao, Minh-Ngoc Tran, Richard Gerlach

Introduction

In Bayesian machine learning, approximating complex posterior distributions is a fundamental challenge. Variational Inference (VI) addresses this by transforming the inference problem into an optimization task, typically employing a Gaussian distribution as a proxy. However, as the dimensionality of the data increases, the computational cost of managing a full Gaussian covariance matrix becomes prohibitive, growing quadratically with the number of parameters. To mitigate this, researchers often utilize a "low-rank plus diagonal" (LR+D) covariance structure. While efficient, this structure introduces significant optimization hurdles that this paper seeks to resolve through the lens of differential geometry.

Challenges in Gaussian Variational Approximation

The LR+D structure, though computationally scalable, suffers from two primary deficiencies: non-identifiability and optimization instability.

Non-identifiability arises because the factor matrices in the LR+D structure are not unique; multiple different matrices can represent the same covariance structure due to rotational invariance. This redundancy creates a "flat" or degenerate search space that can mislead standard optimization algorithms.

Optimization Instability occurs because standard Euclidean stochastic gradient descent (SGD) does not inherently respect the geometric constraints of the parameter space. During the training process, Euclidean updates may push parameters into non-feasible regions—for instance, making a matrix rank-deficient—which leads to model collapse and poor convergence.

The Riemannian Manifold Framework

The authors propose a robust geometric framework that shifts optimization from flat Euclidean space to curved Riemannian manifolds. By constraining the covariance matrix optimization to specific manifolds, the researchers address the core issues of GVA.

Manifold Constraints

The paper implements two specific geometric constraints:

  1. Stiefel Manifold: This constraint forces the factor matrix to maintain orthonormal columns, ensuring stability.
  2. Grassmann Manifold: This treats the factor matrix as a representative of a subspace (an equivalence class). Mathematically, this approach eliminates rotational redundancy by treating all equivalent rotations as a single point on the manifold, effectively resolving the non-identifiability problem.

Geometric Operations

To perform optimization on these curved surfaces, the authors utilize two key operations:

  • Retraction Mapping: This operation maps a tangent vector back onto the manifold surface, ensuring that every update remains within the feasible parameter space.
  • Vector Transport: This allows the algorithm to move gradient information between different points on the curved surface, which is essential for maintaining momentum and adaptive learning rates.

Adaptive Riemannian Optimizers

A significant contribution of this work is the development of adaptive Riemannian optimizers. While traditional manifold-based optimizers often rely on fixed learning rates, the authors "port" successful Euclidean adaptive schemes to the manifold setting. They introduce RGD-RMSProp and RGD-AdaDelta, which allow for dynamic step sizes tailored to the geometry of the landscape. This is particularly crucial in high-dimensional tasks where different parameters may require vastly different scales of updates.

Experimental Evaluation

The proposed methods were evaluated across three distinct benchmarks, demonstrating superior performance over traditional Euclidean and natural-gradient-based methods.

  1. Simulation Study: Using a non-linear regression task (P-splines), the authors found that while Euclidean methods often failed to converge or became trapped in poor local optima, the manifold-based methods remained stable and consistently achieved better lower bounds.
  2. Ionosphere Dataset: In this binary classification task, the RGD-RMSProp optimizer achieved a test error of 7.09%, outperforming established baselines like VAFC and SLANG.
  3. Leukemia Cancer Dataset: This high-dimensional "p >> n" scenario (7,120 predictors, 38 samples) highlighted the scaling capabilities of the framework. The Grassmann-based RGD-AdaDelta was significantly faster than Stiefel-based versions. Notably, while the competing SLANG method failed to converge within 96 hours, the proposed manifold-assisted methods completed the task in approximately 1.7 hours.

Conclusion

By redefining the optimization landscape through Riemannian geometry, the authors provide a principled solution to the long-standing issues of non-identifiability and instability in Gaussian Variational Approximation. The "Aha" moment lies in the use of the Grassmann manifold to collapse redundant search spaces into single points, simplifying the optimization path. While manifold operations introduce a higher computational cost per iteration, the gains in stability, convergence speed, and accuracy—especially in high-dimensional settings—make this a significant advancement for Bayesian inference. Future work may extend these geometric principles to other variational families and complex models like normalizing flows.

Summary updated

BibTeX
@article{zhou2021manifold,
  author = {Bingxin Zhou and Junbin Gao and Minh-Ngoc Tran and Richard Gerlach},
  title = {{Manifold Optimisation Assisted Gaussian Variational Approximation}},
  journal = {J. Comput. Graph. Stat.},
  year = {2021},
  doi = {10.1080/10618600.2021.1923516},
}
Figure