Probabilistic Programming Interfaces for Random Graphs: Markov Categories, Graphons, and Nominal Sets
Open Access
- 2 January 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 8 (POPL) , 1819-1849
Abstract
We study semantic models of probabilistic programming languages over graphs, and establish a connection to graphons from graph theory and combinatorics. We show that every well-behaved equational theory for our graph probabilistic programming language corresponds to a graphon, and conversely, every graphon arises in this way. We provide three constructions for showing that every graphon arises from an equational theory. The first is an abstract construction, using Markov categories and monoidal indeterminates. The second and third are more concrete. The second is in terms of traditional measure theoretic probability, which covers ‘black-and-white’ graphons. The third is in terms of probability monads on the nominal sets of Gabbay and Pitts. Specifically, we use a variation of nominal sets induced by the theory of graphs, which covers Erdős-Rényi graphons. In this way, we build new models of graph probabilistic programming from graphons.Keywords
Funding Information
- Royal Society (ERC Project BLAST and AFOSR Award No. FA9550?21?1?003)
- Defense Advanced Research Projects Agency (CoCoSys, one of seven centers in JUMP 2.0, a Semiconductor Research Corporation (SRC) program)
- National Research Foundation of Korea (RS-2023-00279680 and NRF-2018R1A5A1059921)
This publication has 60 references indexed in Scilit:
- Semantics for Local Computational EffectsElectronic Notes in Theoretical Computer Science, 2006
- Limits in free coproduct completionsJournal of Pure and Applied Algebra, 1995
- Semantics of weakening and contractionAnnals of Pure and Applied Logic, 1994
- Tail recursion through universal invariantsTheoretical Computer Science, 1993
- Introduction to distributive categoriesMathematical Structures in Computer Science, 1993
- Introduction to extensive and distributive categoriesJournal of Pure and Applied Algebra, 1993
- Data types in distributive categoriesBulletin of the Australian Mathematical Society, 1989
- Affine parts of monadsArchiv der Mathematik, 1979
- Yoneda structures on 2-categoriesJournal of Algebra, 1978
- Monads on symmetric monoidal closed categoriesArchiv der Mathematik, 1970