Probabilistic Programming with Programmable Variational Inference
McCoy R. Becker, Alexander K. Lew, Xiaoyan Wang, Matin Ghavami,, Mathieu Huot, Martin C. Rinard, Vikash K. Mansinghka

TL;DR
This paper introduces a modular, program transformation-based approach to variational inference in probabilistic programming languages, enhancing flexibility, expressiveness, and supporting user-defined objectives and strategies.
Contribution
It proposes a systematic, compositional method for variational inference in PPLs, enabling greater expressiveness and modular reasoning compared to existing monolithic implementations.
Findings
Supports an open-ended set of variational objectives
Enables a combinatorial space of gradient estimation strategies
Achieves minimal performance overhead in deep generative modeling tasks
Abstract
Compared to the wide array of advanced Monte Carlo methods supported by modern probabilistic programming languages (PPLs), PPL support for variational inference (VI) is less developed: users are typically limited to a predefined selection of variational objectives and gradient estimators, which are implemented monolithically (and without formal correctness arguments) in PPL backends. In this paper, we propose a more modular approach to supporting variational inference in PPLs, based on compositional program transformation. In our approach, variational objectives are expressed as programs, that may employ first-class constructs for computing densities of and expected values under user-defined models and variational families. We then transform these programs systematically into unbiased gradient estimators for optimizing the objectives they define. Our design enables modular reasoning…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsSparse Evolutionary Training · Variational Inference
