Batch, match, and patch: low-rank approximations for score-based variational inference

Chirag Modi, Diana Cai, Lawrence K. Saul
10/29/2024
stat.MLcs.LGstat.CO

No official code found. Best implementation: modichirag/GSM-VI (34 stars, MIT, last commit 2025-02-23).

Abstract

Black-box variational inference (BBVI) scales poorly to high-dimensional problems when it is used to estimate a multivariate Gaussian approximation with a full covariance matrix. In this paper, we extend the batch-and-match (BaM) framework for score-based BBVI to problems where it is prohibitively expensive to store such covariance matrices, let alone to estimate them. Unlike classical algorithms for BBVI, which use stochastic gradient descent to minimize the reverse Kullback-Leibler divergence, BaM uses more specialized updates to match the scores of the target density and its Gaussian approximation. We extend the updates for BaM by integrating them with a more compact parameterization of full covariance matrices. In particular, borrowing ideas from factor analysis, we add an extra step to each iteration of BaM--a patch--that projects each newly updated covariance matrix into a more efficiently parameterized family of diagonal plus low rank matrices. We evaluate this approach on a variety of synthetic target distributions and real-world problems in high-dimensional inference.

View on arXivView PDF

Code Implementations(1)

modichirag/GSM-VICommunity100%
MIT

Code for Gaussian Score Matching Variational Inference

345PythonJul 7, 20231 years agoMIT

Similar Papers

Cite this paper

@article{modi2024batch,
  title  = {Batch, match, and patch: low-rank approximations for score-based variational inference},
  author = {Chirag Modi and Diana Cai and Lawrence K. Saul},
  year   = {2024},
  eprint = {2410.22292},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.22292v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.22292.svg)](https://codeofpaper.com/paper/2410.22292)

Discussion