paper-with-me

Papers

Composing Modeling and Inference Operations with Probabilistic Program Combinators

2018-11-14 · Eli Sennesh, Adam Ścibior, Hao Wu, Jan-Willem van de Meent

Probabilistic programs with dynamic computation graphs can define measures over sample spaces with unbounded dimensionality, which constitute programmatic analogues to Bayesian nonparametrics. Owing to the generality of this model class, inference relies on black-box' Monte Carlo methods that are often not able to take advantage of conditional independence and exchangeability, which have historically been the cornerstones of efficient inference. We here seek to develop a middle ground' between probabilistic models with fully dynamic and fully static computation graphs. To this end, we introduce a combinator library for the Probabilistic Torch framework. Combinators are functions that accept models and return transformed models. We assume that models are dynamic, but that model composition is static, in the sense that combinator application takes place prior to evaluating the model on data. Combinators provide primitives for both model and inference composition. Model combinators take the form of classic functional programming constructs such as map and reduce. These constructs define a computation graph at a coarsened level of representation, in which nodes correspond to models, rather than individual variables. Inference combinators implement operations such as importance resampling and application of a transition kernel, which alter the evaluation strategy for a model whilst preserving proper weighting. Owing to this property, models defined using combinators can be trained using stochastic methods that optimize either variational or wake-sleep style objectives. As a validation of this principle, we use combinators to implement black box inference for hidden Markov models.

📄 PDF Abstract BibTeX arXiv:1811.05965

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Composing inference algorithms as program transformations

2016-03-06 · Robert Zinkov, Chung-chieh Shan

Probabilistic inference procedures are usually coded painstakingly from scratch, for each target model and each inference algorithm. We reduce this effort by generating inference procedures from models automatically. We …

Code GenerationProbabilistic Programming

Stochastically Differentiable Probabilistic Programs

2020-03-02 · David Tolpin, Yuan Zhou, Hongseok Yang

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 p…

Probabilistic Programming

Scaling Integer Arithmetic in Probabilistic Programs

2023-07-25 · William X. Cao, Poorva Garg, Ryan Tjoa, Steven Holtzen 외

Distributions on integers are ubiquitous in probabilistic modeling but remain challenging for many of today's probabilistic programming languages (PPLs). The core challenge comes from discrete structure: many of today's …

Probabilistic Programming

A Heavy-Tailed Algebra for Probabilistic Programming

2023-06-15 · NeurIPS 2023 11

Despite the successes of probabilistic models based on passing noise through neural networks, recent work has identified that such methods often fail to capture tail behavior accurately, unless the tails of the base dist…

Probabilistic ProgrammingVariational Inference

Multi-Model Probabilistic Programming

2022-08-12 · Ryan Bernstein

Probabilistic programming makes it easy to represent a probabilistic model as a program. Building an individual model, however, is only one step of probabilistic modeling. The broader challenge of probabilistic modeling …

modelProbabilistic Programming