Weakest Preexpectation Semantics for Bayesian Inference

05/18/2020
by   Marcin Szymczak, et al.
0

We present a semantics of a probabilistic while-language with soft conditioning and continuous distributions which handles programs diverging with positive probability. To this end, we extend the probabilistic guarded command language (pGCL) with draws from continuous distributions and a score operator. The main contribution is an extension of the standard weakest preexpectation semantics to support these constructs. As a sanity check of our semantics, we define an alternative trace-based semantics of the language, and show that the two semantics are equivalent. Various examples illustrate the applicability of the semantics.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/19/2023

Symbolic Semantics for Probabilistic Programs (extended version)

We present a new symbolic execution semantics of probabilistic programs ...
research
01/27/2021

Compositional Semantics for Probabilistic Programs with Exact Conditioning

We define a probabilistic programming language for Gaussian random varia...
research
06/20/2018

An Application of Computable Distributions to the Semantics of Probabilistic Programs

In this chapter, we explore how (Type-2) computable distributions can be...
research
09/17/2021

Fixpoint Semantics for Recursive SHACL

SHACL is a W3C-proposed language for expressing structural constraints o...
research
08/03/2013

Measure Transformer Semantics for Bayesian Machine Learning

The Bayesian approach to machine learning amounts to computing posterior...
research
03/27/2013

Probabilistic Semantics and Defaults

There is much interest in providing probabilistic semantics for defaults...
research
03/07/2018

Borel Kernels and their Approximation, Categorically

This paper introduces a categorical framework to study the exact and app...

Please sign up or login with your details

Forgot password? Click here to reset