This work presents PλωNK, a functional probabilistic network programming language that extends Probabilistic NetKAT (PNK). Like PNK, it enables probabilistic modelling of network behaviour, by providing probabilistic choice and infinite iteration (to simulate looping network packets). Yet, unlike PNK, it also offers abstraction and higher-order functions to make programming much more convenient.
The formalisation of PλωNK is challenging for two reasons: Firstly, network programming induces multiple side effects (in particular, parallelism and probabilistic choice) which need to be carefully controlled in a functional setting. Our system uses an explicit syntax for thunks and sequencing which makes the interplay of these effects explicit. Secondly, measure theory, the standard domain for formalisations of (continuous) probablistic languages, does not admit higher-order functions. We address this by leveraging ω-Quasi Borel Spaces (ωQBSes), a recent advancement in the domain theory of probabilistic programming languages.
We believe that our work is not only useful for bringing abstraction to PNK, but that—as part of our contribution—we have developed the meta-theory for a probabilistic language that combines advanced features like higher-order functions, iteration and parallelism, which may inform similar meta-theoretic efforts.
Slides (PDF) (PloNK.pdf) | 4.58MiB |
Thu 23 JanDisplayed time zone: Saskatchewan, Central America change
15:35 - 16:40 | Probabilistic ProgrammingResearch Papers at Ile de France III (IDF III) Chair(s): Ohad Kammar University of Edinburgh | ||
15:35 21mTalk | A Language for Probabilistically Oblivious Computation Research Papers David Darais University of Vermont, Ian Sweet University of Maryland, Chang Liu Citadel Securities, Michael Hicks University of Maryland Link to publication DOI Media Attached File Attached | ||
15:56 21mTalk | PλωNK: Functional Probabilistic NetKAT Research Papers Link to publication DOI Media Attached File Attached | ||
16:18 21mTalk | Optimal Approximate Sampling From Discrete Probability Distributions Research Papers Feras Saad Massachusetts Institute of Technology, Cameron Freer Massachusetts Institute of Technology, Martin C. Rinard MIT, Vikash K. Mansinghka MIT Link to publication DOI Media Attached File Attached |