Stochastically Differentiable Probabilistic Programs

arXiv:2003.00704 First posted 2020-03-02 v2
Cite this paper ×
BibTeX
@misc{tolpin2020stochastically,
  title = {Stochastically Differentiable Probabilistic Programs},
  author = {David Tolpin and Yuan Zhou and Hongseok Yang},
  year = {2020},
  eprint = {2003.00704},
  archivePrefix = {arXiv},
  primaryClass = {cs.LG},
  url = {https://arxiv.org/abs/2003.00704}
}
APA
Tolpin, D., Zhou, Y., & Yang, H. (2020). Stochastically Differentiable Probabilistic Programs [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.00704
GB/T 7714
TOLPIN D, ZHOU Y, YANG H. Stochastically Differentiable Probabilistic Programs[EB/OL]. (2020-03-02)[2026-11-29]. https://arxiv.org/abs/2003.00704.

Abstract

Probabilistic programs with mixed support (both continuous and discrete latent random variables) commonly appear in many probabilistic programming systems (PPSs). However, the existence of the discrete random variables prohibits many basic gradient-based inference engines, which makes the inference procedure on such models particularly challenging. Existing PPSs either require the user to manually marginalize out the discrete variables or to perform a composing inference by running inference separately on discrete and continuous variables. The former is infeasible in most cases whereas the latter has some fundamental shortcomings. We present a novel approach to run inference efficiently and robustly in such programs using stochastic gradient Markov Chain Monte Carlo family of algorithms. We compare our stochastic gradient-based inference algorithm against conventional baselines in several important cases of probabilistic programs with mixed support, and demonstrate that it outperforms existing composing inference baselines and works almost as well as inference in marginalized versions of the programs, but with less programming effort and at a lower computation cost.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!