Lune

POPL2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Relative Monadic Metalanguage cites Trace types and denotational semantics for sound programmable inference in probabilistic languages
  • Monads and Distributive Laws in Substructural Contexts cites From Multisets over Distributions to Distributions over Multisets
  • Monads and Distributive Laws in Substructural Contexts cites Combining probabilistic and non-deterministic choice via weak distributive laws
  • From Multisets over Distributions to Distributions over Multisets cites Combining probabilistic and non-deterministic choice via weak distributive laws
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Integral Imprecise Probability MetricsSiu Lun Chau, Michele Caprio, Krikamol MuandetNeurIPS 2025 · 15 citations
  2. The Relative Monadic MetalanguageJack Liell-Cock, Zev Shirazi, Sam StatonPOPL 2026
  3. Monads and Distributive Laws in Substructural ContextsSoichiro Fujii, Yun Chen Tsai, Yoàv Montacute, Ichiro HasuoLICS 2026

Builds on16

  1. 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
  2. Combining probabilistic and non-deterministic choice via weak distributive lawsAlexandre Goy, Daniela PetrisanLICS 2020 · 30 citations
  3. Conformalized Credal Set PredictorsAlireza Javanmardi, David Stutz, Eyke HüllermeierNeurIPS 2024 · 28 citations
  4. From Multisets over Distributions to Distributions over MultisetsBart JacobsLICS 2021 · 23 citations
  5. A Language for Counterfactual Generative ModelsZenna Tavares, James Koppel, Xin Zhang, Ria Das et al.ICML 2021 · 21 citations

Related papers

  1. Commutative Monads for Probabilistic Programming LanguagesXiaodong Jia, Bert Lindenhovius, Michael W. Mislove, Vladimir ZamdzhievLICS 2021 · 19 citations
  2. Inference and Learning with Model Uncertainty in Probabilistic Logic ProgramsVictor Verreet, Vincent Derkinderen, Pedro Zuidberg Dos Martires, Luc De RaedtAAAI 2022 · 4 citations
  3. 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
  4. Semantics for variational Quantum programmingXiaodong Jia, Andre Kornell, Bert Lindenhovius, Michael W. Mislove et al.POPL 2022 · 15 citations
  5. Higher Order Bayesian Networks, ExactlyClaudia Faggian, Daniele Pautasso, Gabriele VanoniPOPL 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines