Deep Amortized Inference for Probabilistic Programs

Daniel Ritchie, Paul Horsfall, Noah D. Goodman
10/18/2016
88 citations
cs.AIcs.LGstat.ML

Official code: probmods/webppl-daipp (2 stars, TeX, last commit 2016-11-15).

Abstract

Probabilistic programming languages (PPLs) are a powerful modeling tool, able to represent any computable probability distribution. Unfortunately, probabilistic program inference is often intractable, and existing PPLs mostly rely on expensive, approximate sampling-based methods.

Show full abstract

To alleviate this problem, one could try to learn from past inferences, so that future inferences run faster. This strategy is known as amortized inference; it has recently been applied to Bayesian networks and deep generative models. This paper proposes a system for amortized inference in PPLs. In our system, amortization comes in the form of a parameterized guide program. Guide programs have similar structure to the original program, but can have richer data flow, including neural network components. These networks can be optimized so that the guide approximately samples from the posterior distribution defined by the original program. We present a flexible interface for defining guide programs and a stochastic gradient-based scheme for optimizing guide parameters, as well as some preliminary results on automatically deriving guide programs. We explore in detail the common machine learning pattern in which a 'local' model is specified by 'global' random values and used to generate independent observed data points; this gives rise to amortized local inference supporting global model learning.

View on arXivView PDF

Code Implementations(1)

22TeX, JavaScriptJun 10, 201610 years ago

Similar Papers

Cite this paper

@article{ritchie2016deep,
  title  = {Deep Amortized Inference for Probabilistic Programs},
  author = {Daniel Ritchie and Paul Horsfall and Noah D. Goodman},
  year   = {2016},
  eprint = {1610.05735},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1610.05735}
}

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/1610.05735.svg)](https://codeofpaper.com/paper/1610.05735)

Discussion