Affine Monads and Lazy Structures for Bayesian Programming

12/14/2022
by   Swaraj Dash, et al.
0

We show that streams and lazy data structures are a natural idiom for programming with infinite-dimensional Bayesian methods such as Poisson processes, Gaussian processes, jump processes, Dirichlet processes, and Beta processes. The crucial semantic idea, inspired by developments in synthetic probability theory, is to work with two separate monads: an affine monad of probability, which supports laziness, and a commutative, non-affine monad of measures, which does not. (Affine means that T(1)≅ 1.) We show that the separation is important from a decidability perspective, and that the recent model of quasi-Borel spaces supports these two monads. To perform Bayesian inference with these examples, we introduce new inference methods that are specially adapted to laziness; they are proven correct by reference to the Metropolis-Hastings-Green method. Our theoretical development is implemented as a Haskell library, LazyPPL.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/26/2023

Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming Approach

We present an exact Bayesian inference method for discrete statistical m...
research
12/21/2020

Copula Measures and Sklar's Theorem in Arbitrary Dimensions

Although copulas are used and defined for various infinite-dimensional o...
research
10/24/2014

Scalable Nonparametric Bayesian Inference on Point Processes with Gaussian Processes

In this paper we propose the first non-parametric Bayesian model using G...
research
03/12/2022

Beyond Gaussian processes: Flexible Bayesian modeling and inference for geostatistical processes

This work proposes a novel family of geostatistical models to account fo...
research
10/14/2022

Affine statistical bundle modeled on a Gaussian Orlicz-Sobolev space

The dually flat structure of statistical manifolds can be derived in a n...
research
12/22/2019

Blang: Bayesian declarative modelling of arbitrary data structures

Consider a Bayesian inference problem where a variable of interest does ...
research
12/10/2021

Unified Field Theory for Deep and Recurrent Neural Networks

Understanding capabilities and limitations of different network architec...

Please sign up or login with your details

Forgot password? Click here to reset