MobilityReadingGroup

π-calculus, Session Types research at Imperial College

Probabilistic Programming Inference via Intensional Semantics
Simon CASTELLAN, Hugo PAQUET
28th European Symposium on Programming (ESOP 2019). p. 322 - 349

We define a new denotational semantics for a first-order probabilistic programming language in terms of probabilistic event structures. This semantics is intensional, meaning that the interpretation of a program contains information about its behaviour throughout execution, rather than a simple distribution on return values. In particular, occurrences of sampling and conditioning are recorded as explicit events, partially ordered according to the data dependencies between the corresponding statements in the program. This interpretation is adequate: we show that the usual measure-theoretic semantics of a program can be recovered from its event structure representation. Moreover it can be leveraged for MCMC inference: we prove correct a version of single-site Metropolis-Hastings with incremental recomputation, in which the proposal kernel takes into account the semantic information in order to avoid performing some of the redundant sampling.

@inproceedings{CP2019,
  author = {Simon Castellan and Hugo Paquet},
  title = {{Probabilistic Programming Inference via Intensional Semantics}},
  booktitle = {28th European Symposium on Programming},
  series = {LNCS},
  volume = {11423},
  pages = {322--349},
  publisher = {Springer, Cham},
  year = 2019
}
@inproceedings{CP2019,
  author = {Simon Castellan and Hugo Paquet},
  title = {{Probabilistic Programming Inference via Intensional Semantics}},
  booktitle = {28th European Symposium on Programming},
  series = {LNCS},
  volume = {11423},
  pages = {322--349},
  publisher = {Springer, Cham},
  doi = "10.1007/978-3-030-17184-1_12",
  year = 2019
}