Compositional Imprecise Probability: A Solution from Graded Monads and Markov Categories
Jack Liell-Cock, Sam Staton
Abstract
Imprecise probability is concerned with uncertainty about which probability distributions to use. It has applications in robust statistics and machine learning.
We look at programming language models for imprecise probability. Our desiderata are that we would like our model to support all kinds of composition, categorical and monoidal; in other words, guided by dataflow diagrams. Another equivalent perspective is that we would like a model of synthetic probability in the sense of Markov categories.
Imprecise probability can be modelled in various ways, with the leading monad-based approach using convex sets of probability distributions. This model is not fully compositional because the monad involved is not commutative, meaning it does not have a proper monoidal structure. In this work, we provide a new fully compositional account. The key idea is to name the non-deterministic choices. To manage the renamings and disjointness of names, we use graded monads. We show that the resulting compositional model is maximal and relate it with the earlier monadic approach, proving that we obtain tighter bounds on the uncertainty.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext b6c211d3-27dc-4ce9-9fc3-43e0873b93c1Cited by top-tier papers3
- Integral Imprecise Probability MetricsSiu Lun Chau, Michele Caprio, Krikamol MuandetNeurIPS 2025 · 15 citations
- The Relative Monadic MetalanguageJack Liell-Cock, Zev Shirazi, Sam StatonPOPL 2026
- Monads and Distributive Laws in Substructural ContextsSoichiro Fujii, Yun Chen Tsai, Yoàv Montacute, Ichiro HasuoLICS 2026
Builds on16
- Trace types and denotational semantics for sound programmable inference in probabilistic languagesAlexander K. Lew, Marco F. Cusumano-Towner, Benjamin Sherman, Michael Carbin et al.POPL 2020 · 30 citations
- Combining probabilistic and non-deterministic choice via weak distributive lawsAlexandre Goy, Daniela PetrisanLICS 2020 · 30 citations
- Conformalized Credal Set PredictorsAlireza Javanmardi, David Stutz, Eyke HüllermeierNeurIPS 2024 · 28 citations
- From Multisets over Distributions to Distributions over MultisetsBart JacobsLICS 2021 · 23 citations
- A Language for Counterfactual Generative ModelsZenna Tavares, James Koppel, Xin Zhang, Ria Das et al.ICML 2021 · 21 citations
Related papers
- Commutative Monads for Probabilistic Programming LanguagesXiaodong Jia, Bert Lindenhovius, Michael W. Mislove, Vladimir ZamdzhievLICS 2021 · 19 citations
- Inference and Learning with Model Uncertainty in Probabilistic Logic ProgramsVictor Verreet, Vincent Derkinderen, Pedro Zuidberg Dos Martires, Luc De RaedtAAAI 2022 · 4 citations
- Probabilistic Programming Interfaces for Random Graphs: Markov Categories, Graphons, and Nominal SetsNathanael L. Ackerman, Cameron E. Freer, Younesse Kaddar, Jacek Karwowski et al.POPL 2024 · 3 citations
- Semantics for variational Quantum programmingXiaodong Jia, Andre Kornell, Bert Lindenhovius, Michael W. Mislove et al.POPL 2022 · 15 citations
- Higher Order Bayesian Networks, ExactlyClaudia Faggian, Daniele Pautasso, Gabriele VanoniPOPL 2024 · 4 citations
