[Paper Review] Multivariate Gaussian Variational Inference by Natural Gradient Descent
This paper presents a natural gradient descent (NGD) method for multivariate Gaussian variational inference using a hybrid parameterization of mean and inverse covariance matrix. By leveraging the Fisher information matrix and matrix calculus with Kronecker algebra, the approach efficiently handles the symmetric and sparse structure of the inverse covariance, enabling stable, sparsity-preserving optimization with closed-form updates that improve convergence and computational efficiency.
This short note reviews so-called Natural Gradient Descent (NGD) for multivariate Gaussians. The Fisher Information Matrix (FIM) is derived for several different parameterizations of Gaussians. Careful attention is paid to the symmetric nature of the covariance matrix when calculating derivatives. We show that there are some advantages to choosing a parameterization comprising the mean and inverse covariance matrix and provide a simple NGD update that accounts for the symmetric (and sparse) nature of the inverse covariance matrix.
Motivation & Objective
- To develop an efficient optimization method for multivariate Gaussian variational inference by exploiting natural gradient descent.
- To analyze the Fisher information matrix (FIM) across different Gaussian parameterizations, particularly focusing on symmetry and sparsity.
- To demonstrate that the hybrid parameterization (mean and inverse covariance) offers computational and numerical advantages over alternative representations.
- To derive a closed-form NGD update that respects the symmetric and sparse structure of the inverse covariance matrix.
- To preserve sparsity in the inverse covariance during optimization, enabling scalability to large-scale problems.
Proposed method
- Derives the Fisher information matrix (FIM) for multiple Gaussian parameterizations, including mean and inverse covariance, using matrix calculus with differentials.
- Applies vectorization and Kronecker product identities to compute derivatives of matrix expressions, especially for symmetric matrices.
- Uses the vech operator and duplication matrix to handle symmetric matrix parameterization without redundancy.
- Proposes a hybrid NGD update where the inverse covariance is updated via the Hessian of the variational loss: $\Sigma^{-1} \leftarrow \frac{\partial^2 V}{\partial \mu^T \partial \mu}$.
- Implements a two-step update: $\Sigma^{-1} \delta\mu = -\frac{\partial V}{\partial \mu^T}$ followed by $\Sigma^{-1} \leftarrow \frac{\partial^2 V}{\partial \mu^T \partial \mu}$, ensuring symmetry and sparsity.
- Leverages factorization of the likelihood to maintain sparsity in the inverse covariance, as $\Sigma^{-1} = \sum_k \mathbf{P}_k^T \frac{\partial^2 V_k}{\partial \mu_k^T \partial \mu_k} \mathbf{P}_k$, preserving the sparsity pattern across updates.
Experimental results
Research questions
- RQ1How does the choice of parameterization (mean, covariance, or inverse covariance) affect the efficiency and stability of natural gradient descent in multivariate Gaussian variational inference?
- RQ2Can the symmetric structure of the covariance and inverse covariance matrices be properly accounted for in gradient computation without introducing redundancy?
- RQ3Does a hybrid parameterization of mean and inverse covariance lead to simpler, more stable, and sparsity-preserving NGD updates?
- RQ4What is the role of the Fisher information matrix in shaping the natural gradient update for Gaussian variational families?
- RQ5How can sparsity in the inverse covariance matrix be preserved during optimization to enable scalability in high-dimensional problems?
Key findings
- The hybrid parameterization using mean and inverse covariance yields a more natural and computationally efficient NGD update compared to alternative parameterizations.
- The NGD update for the inverse covariance is derived as $\Sigma^{-1} \leftarrow \frac{\partial^2 V}{\partial \mu^T \partial \mu}$, which simplifies the update and avoids redundant matrix terms.
- The method inherently preserves the sparsity of the inverse covariance matrix, as the Hessian update inherits the sparsity pattern from the factorized likelihood structure.
- The update scheme avoids explicit computation of the full Fisher information matrix, instead using local derivatives of the variational loss to compute the natural gradient efficiently.
- The approach enables scalable inference in high-dimensional settings, as demonstrated in applications to robotics and large-scale probabilistic models.
- The use of matrix calculus with vectorization and Kronecker algebra enables systematic derivation of gradients and Hessians for symmetric matrices without manual duplication.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.