EigenVI: score-based variational inference with orthogonal function expansions
Preprint
Abstract
We develop EigenVI, an eigenvalue-based approach for black-box variational inference (BBVI). EigenVI constructs its variational approximations from orthogonal function expansions. For distributions over $\mathbb{R}^D$, the lowest order term in these expansions provides a Gaussian variational approximation, while higher-order terms provide a systematic way to model non-Gaussianity. These approximations are flexible enough to model complex distributions (multimodal, asymmetric), but they are simple enough that one can calculate their low-order moments and draw samples from them. EigenVI can also model other types of random variables (e.g., nonnegative, bounded) by constructing variational approximations from different families of orthogonal functions. Within these families, EigenVI computes the variational approximation that best matches the score function of the target distribution by minimizing a stochastic estimate of the Fisher divergence. Notably, this optimization reduces to solving a minimum eigenvalue problem, so that EigenVI effectively sidesteps the iterative gradient-based optimizations that are required for many other BBVI algorithms. (Gradient-based methods can be sensitive to learning rates, termination criteria, and other tunable hyperparameters.) We use EigenVI to approximate a variety of target distributions, including a benchmark suite of Bayesian models from posteriordb. On these distributions, we find that EigenVI is more accurate than existing methods for Gaussian BBVI.
Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- PyMC: a modern, and comprehensive probabilistic programming framework in PythonPeerJ Computer Science, 2023
- Normalizing Flows: An Introduction and Review of Current MethodsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2020
- Variational Hamiltonian Monte Carlo via Score MatchingBayesian Analysis, 2018
- Variational Inference: A Review for StatisticiansJournal of the American Statistical Association, 2017
- Stan: A Probabilistic Programming Language2017
- Probabilistic programming in Python using PyMC3PeerJ Computer Science, 2016
- Graphical Models, Exponential Families, and Variational InferenceFoundations and Trends in Machine Learning, 2008