UCL Discovery Stage
UCL home » Library Services » Electronic resources » UCL Discovery Stage

Deterministic stream-sampling for probabilistic programming: semantics and verification

Dahlqvist, F; Silva, A; Smith, W; (2023) Deterministic stream-sampling for probabilistic programming: semantics and verification. In: 2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS). IEEE: Boston, MA, USA. Green open access

[thumbnail of main.pdf]
Preview
Text
main.pdf - Accepted Version

Download (506kB) | Preview

Abstract

Probabilistic programming languages rely fundamentally on some notion of sampling, and this is doubly true for probabilistic programming languages which perform Bayesian inference using Monte Carlo techniques. Verifying samplers - proving that they generate samples from the correct distribution - is crucial to the use of probabilistic programming languages for statistical modelling and inference. However, the typical denotational semantics of probabilistic programs is incompatible with deterministic notions of sampling. This is problematic, considering that most statistical inference is performed using pseudorandom number generators.We present a higher-order probabilistic programming language centred on the notion of samplers and sampler operations. We give this language an operational and denotational semantics in terms of continuous maps between topological spaces. Our language also supports discontinuous operations, such as comparisons between reals, by using the type system to track discontinuities. This feature might be of independent interest, for example in the context of differentiable programming.Using this language, we develop tools for the formal verification of sampler correctness. We present an equational calculus to reason about equivalence of samplers, and a sound calculus to prove semantic correctness of samplers, i.e. that a sampler correctly targets a given measure by construction.

Type: Proceedings paper
Title: Deterministic stream-sampling for probabilistic programming: semantics and verification
Event: 2023 38th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)
Dates: 26 Jun 2023 - 29 Jun 2023
ISBN-13: 9798350335873
Open access status: An open access version is available from UCL Discovery
DOI: 10.1109/LICS56636.2023.10175773
Publisher version: https://doi.org/10.1109/LICS56636.2023.10175773
Language: English
Additional information: Probabilistic programming, operational and denotational semantics, verification
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery-pp.ucl.ac.uk/id/eprint/10175457
Downloads since deposit
320Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item