mlsanityData to 14 Oct 2026

Variational Inference with Gaussian Score Matching

arXiv 2307.07849 ↗First posted 15 Jul 2023stat.ML cs.LGcited by 17

Not on the map. Why?

Abstract (arXiv)

Variational inference (VI) is a method to approximate the computationally intractable posterior distributions that arise in Bayesian statistics. Typically, VI fits a simple parametric distribution to the target posterior by minimizing an appropriate objective such as the evidence lower bound (ELBO). In this work, we present a new approach to VI based on the principle of score matching, that if two distributions are equal then their score functions (i.e., gradients of the log density) are equal at every point on their support. With this, we develop score matching VI, an iterative algorithm that seeks to match the scores between the variational approximation and the exact posterior. At each iteration, score matching VI solves an inner optimization, one that minimally adjusts the current variational estimate to match the scores at a newly sampled value of the latent variables. We show that when the variational family is a Gaussian, this inner optimization enjoys a closed form solution, which we call Gaussian score matching VI (GSM-VI). GSM-VI is also a ``black box'' variational algorithm in that it only requires a differentiable joint distribution, and as such it can be applied to a wide class of models. We compare GSM-VI to black box variational inference (BBVI), which has similar requirements but instead optimizes the ELBO. We study how GSM-VI behaves as a function of the problem dimensionality, the condition number of the target covariance matrix (when the target is Gaussian), and the degree of mismatch between the approximating and exact posterior distribution. We also study GSM-VI on a collection of real-world Bayesian inference problems from the posteriorDB database of datasets and models. In all of our studies we find that GSM-VI is faster than BBVI, but without sacrificing accuracy. It requires 10-100x fewer gradient evaluations to obtain a comparable quality of approximation.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 15 Jul 2023.

Builds on

21 of 35 references.

References · 21

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2016Variational Inference: A Review for Statisticianscited by 1,472
  3. 2015Automatic differentiation in machine learning: a surveycited by 855
  4. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  5. 2013Black Box Variational Inferencecited by 319
  6. 2013Expectation Propagation for approximate Bayesian inferencecited by 174
  7. 2016Automatic Differentiation Variational Inferencecited by 159
  8. 2020Stochastic Polyak Step-size for SGD: An Adaptive Learning Rate for Fast Convergencecited by 137
  9. 2019Fast and Simple Natural-Gradient Variational Inference with Mixture of Exponential-family Approximationscited by 51
  10. 2020Markovian Score Climbing: Variational Inference with KL(p||q)cited by 46
  11. 2019Training Neural Networks for and by Interpolationcited by 45
  12. 2020Advances in Black-Box VI: Normalizing Flows, Importance Weighting, and Optimizationcited by 37
9 more
  1. 2021Challenges and Opportunities in High-dimensional Variational Inferencecited by 35
  2. 2019Provable Smoothness Guarantees for Black-Box Variational Inferencecited by 29
  3. 2021Pathfinder: Parallel quasi-Newton variational inferencecited by 26
  4. 2022A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Modelscited by 22
  5. 2019Provable Gradient Variance Guarantees for Black-Box Variational Inferencecited by 21
  6. 2021Stochastic Polyak Stepsize with a Moving Targetcited by 19
  7. 2016Operator Variational Inferencecited by 16
  8. 2019Variational approximations using Fisher divergencecited by 13
  9. 2019Posterior inference unchained with EL_2Ocited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 4; 2026: 7.

17 papers.

Sort:

  1. 2024Batch and match: black-box variational inference with a score-based divergencecited by 22
  2. 2025Proper scoring rules for estimation and forecast evaluationcited by 18
  3. 2024FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detectioncited by 14
  4. 2024EigenVI: score-based variational inference with orthogonal function expansionscited by 11
  5. 2024Batch, match, and patch: low-rank approximations for score-based variational inferencecited by 8
  6. 2024CriticAL: Critic Automation with Language Modelscited by 5
  7. 2025Position: Biology is the Challenge Physics-Informed ML Needs to Evolvecited by 4
  8. 2025Promoting Ensemble Diversity with Interactive Bayesian Distributional Robustness for Fine-tuning Foundation Modelscited by 3
  9. 2024Stochastic variance-reduced Gaussian variational inference on the Bures-Wasserstein manifoldcited by 2
  10. 2025Fisher meets Feynman: score-based variational inference with a product of expertscited by 2
  11. 2026Large-scale Score-based Variational Posterior Inference for Bayesian Deep Neural Networkscited by 1
  12. 2026Even More Guarantees for Variational Inference in the Presence of Symmetriescited by 1
5 more
  1. 2026Variational Smoothing and Inference for SDEs from Sparse Data with Dynamic Neural Flowscited by 0
  2. 2026SGD for Variational Inference: Tackling Unbounded Variance via Preconditioning and Dynamic Batchingcited by 0
  3. 2026On the Approximation Complexity of Matrix Product Operator (MPO) Born Machinescited by 0
  4. 2026Large-scale empirical tuning and comparison of default optimizers for variational inferencecited by 0
  5. 2026QuanVI: Score-based Variational Inference via Quantum Maximally Mixed Statescited by 0