Skip to main content
QUICK REVIEW

[Paper Review] Handling the Positive-Definite Constraint in the Bayesian Learning Rule

Lin Wu, Mark Schmidt|arXiv (Cornell University)|Feb 24, 2020
Gaussian Processes and Bayesian InferenceComputer Science35 references4 citations
TL;DR

This paper proposes a Riemannian-gradient-based modification to the Bayesian learning rule that naturally enforces positive-definite constraints on covariance matrices in variational inference. By leveraging block-coordinate natural parameterizations, the method ensures constraints are satisfied without line searches, enabling faster convergence and improved stability in Gaussian and mixture-of-Gaussian approximations, with minimal computational overhead.

ABSTRACT

The Bayesian learning rule is a natural-gradient variational inference method, which not only contains many existing learning algorithms as special cases but also enables the design of new algorithms. Unfortunately, when variational parameters lie in an open constraint set, the rule may not satisfy the constraint and requires line-searches which could slow down the algorithm. In this work, we address this issue for positive-definite constraints by proposing an improved rule that naturally handles the constraints. Our modification is obtained by using Riemannian gradient methods, and is valid when the approximation attains a \emph{block-coordinate natural parameterization} (e.g., Gaussian distributions and their mixtures). We propose a principled way to derive Riemannian gradients and retractions from scratch. Our method outperforms existing methods without any significant increase in computation. Our work makes it easier to apply the rule in the presence of positive-definite constraints in parameter spaces.

Motivation & Objective

  • To address the issue of the Bayesian learning rule violating positive-definite constraints on covariance matrices during optimization.
  • To eliminate the need for backtracking line searches that slow down convergence in constrained parameter spaces.
  • To develop a principled method for deriving Riemannian gradients and retractions from first principles for constrained variational inference.
  • To ensure the updated parameters remain within the positive-definite manifold while maintaining computational efficiency.
  • To enable robust application of the Bayesian learning rule in high-dimensional models with covariance constraints, such as in deep learning and probabilistic graphical models.

Proposed method

  • The method reformulates the Bayesian learning rule using Riemannian gradient descent on the manifold of positive-definite matrices.
  • It introduces a modified update rule that incorporates Riemannian geometry to naturally preserve the positive-definite constraint.
  • The approach is derived from block-coordinate natural (BCN) parameterizations, where the Fisher information matrix has a block-diagonal structure.
  • The method computes Riemannian gradients and retractions from scratch, ensuring the update remains on the manifold without projection or line search.
  • For Gaussian and mixture-of-Gaussian approximations, the modified rule requires only a small, constant overhead compared to the original rule.
  • The method is validated on deep learning and Bayesian logistic regression, showing improved numerical stability and faster convergence.

Experimental results

Research questions

  • RQ1Can the Bayesian learning rule be modified to naturally enforce positive-definite constraints on covariance matrices without relying on line searches?
  • RQ2How can Riemannian geometry be systematically applied to derive constrained updates in variational inference?
  • RQ3Does the proposed method maintain computational efficiency while improving convergence and stability in high-dimensional settings?
  • RQ4Can the method be applied to complex models such as Bayesian neural networks with full-covariance approximations?
  • RQ5How does the Riemannian update compare to existing constrained optimization techniques in terms of step size selection and memory usage?

Key findings

  • The proposed method achieves faster convergence than the original Bayesian learning rule and baseline methods in both synthetic and real-world Bayesian inference tasks.
  • The method allows for larger step sizes compared to unconstrained transformation methods, improving optimization stability and reducing iteration cost.
  • In memory-constrained settings, the proposed method requires less memory than the transformation-based approach of Salimbeni et al. (2018).
  • When the standard gradient is precomputed, the proposed update is at least 6–10 times faster than the baseline method in terms of computational cost per iteration.
  • The method successfully resolves an implementation issue in the VOGN algorithm for deep learning, ensuring positive-definite covariance updates.
  • The method maintains high accuracy in approximating complex posteriors, such as mixtures of Gaussians and heavy-tailed distributions, even in high-dimensional spaces (e.g., 300 dimensions).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.