Amortized Variational Inference: When and Why?
Charles C. Margossian, David M. Blei

TL;DR
This paper investigates the conditions under which amortized variational inference (A-VI) can match the optimal solutions of factorized variational inference (F-VI), providing theoretical insights and practical examples across different models.
Contribution
It derives necessary and sufficient conditions for A-VI to attain F-VI's optimal solution, and characterizes models where the amortization gap can or cannot be closed.
Findings
A-VI can match F-VI in simple hierarchical models.
Conditions for closing the amortization gap are identified and verified.
Examples include hidden Markov models where the gap cannot be closed.
Abstract
In a probabilistic latent variable model, factorized (or mean-field) variational inference (F-VI) fits a separate parametric distribution for each latent variable. Amortized variational inference (A-VI) instead learns a common inference function, which maps each observation to its corresponding latent variable's approximate posterior. Typically, A-VI is used as a step in the training of variational autoencoders, however it stands to reason that A-VI could also be used as a general alternative to F-VI. In this paper we study when and why A-VI can be used for approximate Bayesian inference. We derive conditions on a latent variable model which are necessary, sufficient, and verifiable under which A-VI can attain F-VI's optimal solution, thereby closing the amortization gap. We prove these conditions are uniquely verified by simple hierarchical models, a broad class that encompasses many…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPhilosophy and History of Science
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings · Variational Inference
