Johannes Borgström ; Andrew D Gordon ; Michael Greenberg ; James Margetson ; Jurgen Van Gael - Measure Transformer Semantics for Bayesian Machine Learning

lmcs:815 - Logical Methods in Computer Science, September 9, 2013, Volume 9, Issue 3 - https://doi.org/10.2168/LMCS-9(3:11)2013
Measure Transformer Semantics for Bayesian Machine LearningArticle

Authors: Johannes Borgström ; Andrew D Gordon ; Michael Greenberg ORCID; James Margetson ; Jurgen Van Gael

    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.


    Volume: Volume 9, Issue 3
    Published on: September 9, 2013
    Imported on: August 1, 2013
    Keywords: Computer Science - Logic in Computer Science,Computer Science - Artificial Intelligence,Computer Science - Programming Languages

    12 Documents citing this article

    Consultation statistics

    This page has been seen 2178 times.
    This article's PDF has been downloaded 557 times.