Edinburgh Research Archive

Modular probabilistic programming with algebraic effects

dc.contributor.advisor
Kammar, Ohad
dc.contributor.author
Goldstein, Oliver
dc.date.accessioned
2024-12-20T14:52:25Z
dc.date.available
2024-12-20T14:52:25Z
dc.date.issued
2019-11-23
dc.description.abstract
Probabilistic programming languages, which exist in abundance, are languages that allow users to calculate probability distributions defined by probabilistic programs, by using inference algorithms. However, the underlying inference algorithms are not implemented in a modular fashion, though, the algorithms are presented as a composition of other inference components. This discordance between the theory and the practice of Bayesian machine learning, means that reasoning about the correctness of probabilistic programs is more difficult, and composing inference algorithms together in code may not necessarily produce correct compound inference algorithms. In this dissertation, I create a modular probabilistic programming library, already a nice property as its not a standalone language, called Koka Bayes, that is based off of both the modular design of Monad Bayes – a probabilistic programming library developed in Haskell – and its semantic validation. The library is embedded in a recently created programming language, Koka, that supports algebraic effect handlers and expressive effect types – novel programming abstractions that support modular programming. Effects are generalizations of computational side-effects, and it turns out that fundamental operations in probabilistic programming such as probabilistic choice and conditioning are instances of effects.
en
dc.identifier.uri
https://hdl.handle.net/1842/42934
dc.identifier.uri
http://dx.doi.org/10.7488/era/5485
dc.language.iso
en
en
dc.publisher
The University of Edinburgh
en
dc.subject
effect handlers
en
dc.subject
algebraic effects
en
dc.subject
Bayesian inference
en
dc.subject
probabilistic programming
en
dc.subject
statistical modelling
en
dc.subject
climate change modelling
en
dc.subject
koka
en
dc.subject
generative modelling
en
dc.subject
importance sampling
en
dc.subject
Markov Chain Monte Carl
en
dc.subject
resample-move sequential Monte Carlo
en
dc.subject
Particle Marginal Metropolis Hastings
en
dc.subject
Kalman Filters
en
dc.subject
Berkeley Earth Dataset
en
dc.subject
hyper-parameter inference
en
dc.title
Modular probabilistic programming with algebraic effects
en
dc.type
Thesis or Dissertation
en
dc.type.qualificationlevel
Masters
en
dc.type.qualificationname
MSc Master of Science
en

Files

Original bundle

Now showing 1 - 1 of 1
Name:
GoldsteinO_2019.pdf
Size:
10.18 MB
Format:
Adobe Portable Document Format
Description:

This item appears in the following Collection(s)