Measure Transformer Semantics for Bayesian Machine Learning

08/03/2013
by   Johannes Borgström, et al.
0

The Bayesian approach to machine learning amounts to computing posterior distributions of random variables from a probabilistic model of how the variables are related (that is, a prior distribution) and a set of observations of variables. There is a trend in machine learning towards expressing Bayesian models as probabilistic programs. As a foundation for this kind of programming, we propose a core functional calculus with primitives for sampling prior distributions and observing variables. We define measure-transformer combinators inspired by theorems in measure theory, and use these to give a rigorous semantics to our core calculus. The original features of our semantics include its support for discrete, continuous, and hybrid measures, and, in particular, for observations of zero-probability events. We compile our core language to a small imperative language that is processed by an existing inference engine for factor graphs, which are data structures that enable many efficient inference algorithms. This allows efficient approximate inference of posterior marginal distributions, treating thousands of observations per second for large instances of realistic models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/21/2023

Declarative Probabilistic Logic Programming in Discrete-Continuous Domains

Over the past three decades, the logic programming paradigm has been suc...
research
06/06/2018

Discrete-Continuous Mixtures in Probabilistic Programming: Generalized Semantics and Inference Algorithms

Despite the recent successes of probabilistic programming languages (PPL...
research
05/18/2020

Weakest Preexpectation Semantics for Bayesian Inference

We present a semantics of a probabilistic while-language with soft condi...
research
06/06/2018

On Discrete-Continuous Mixtures in Probabilistic Programming: Generalized Semantics and Inference Algorithms

Despite of the recent successes of probabilistic programming languages (...
research
12/06/2014

Declarative Statistical Modeling with Datalog

Formalisms for specifying statistical models, such as probabilistic-prog...
research
02/23/2022

Fusion of Probability Density Functions

Fusing probabilistic information is a fundamental task in signal and dat...
research
05/12/2019

Rotation Invariant Householder Parameterization for Bayesian PCA

We consider probabilistic PCA and related factor models from a Bayesian ...

Please sign up or login with your details

Forgot password? Click here to reset