Lune

PLDI2022Top-tier venue

Guaranteed bounds for posterior inference in universal probabilistic programming

Raven Beutner, C.-H. Luke Ong, Fabian Zaiser

Abstract

We propose a new method to approximate the posterior distribution of probabilistic programs by means of computing guaranteed bounds. The starting point of our work is an interval-based trace semantics for a recursive, higher-order probabilistic programming language with continuous distributions. Taking the form of (super-/subadditive) measures, these lower/upper bounds are non-stochastic and provably correct: using the semantics, we prove that the actual posterior of a given program is sandwiched between the lower and upper bounds (soundness); moreover, the bounds converge to the posterior (completeness). As a practical and sound approximation, we introduce a weight-aware interval type system, which automatically infers interval bounds on not just the return value but also the weight of program executions, simultaneously. We have built a tool implementation, called GuBPI, which automatically computes these posterior lower/upper bounds. Our evaluation on examples from the literature shows that the bounds are useful, and can even be used to recognise wrong outputs from stochastic posterior inference procedures.

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.

14 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

  • Bit Blasting Probabilistic Programs cites Automatic Reparameterisation of Probabilistic Programs
  • Bit Blasting Probabilistic Programs cites Scaling exact inference for discrete probabilistic programs
  • Bit Blasting Probabilistic Programs cites SPPL: probabilistic programming with fast exact symbolic inference
  • Static Posterior Inference of Bayesian Probabilistic Programming via Polynomial Solving cites λPSI: exact inference for higher-order probabilistic programs
  • Static Posterior Inference of Bayesian Probabilistic Programming via Polynomial Solving cites SPPL: probabilistic programming with fast exact symbolic inference
  • Guaranteed Bounds on Posterior Distributions of Discrete Probabilistic Programs with Loops cites Static Posterior Inference of Bayesian Probabilistic Programming via Polynomial Solving
  • Guaranteed Bounds on Posterior Distributions of Discrete Probabilistic Programs with Loops cites Scaling exact inference for discrete probabilistic programs
  • Guaranteed Bounds on Posterior Distributions of Discrete Probabilistic Programs with Loops cites Quantitative Bounds on Resource Usage of Probabilistic Programs
  • Guaranteed Bounds on Posterior Distributions of Discrete Probabilistic Programs with Loops cites SPPL: probabilistic programming with fast exact symbolic inference
  • Scaling exact inference for discrete probabilistic programs cites Automatic Reparameterisation of Probabilistic Programs
  • Quantitative Bounds on Resource Usage of Probabilistic Programs cites On probabilistic termination of functional programs with continuous distributions
  • SPPL: probabilistic programming with fast exact symbolic inference cites λPSI: exact inference for higher-order probabilistic programs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Quantitative Bounds on Resource Usage of Probabilistic ProgramsKrishnendu Chatterjee, Amir Kafshdar Goharshady, Tobias Meggendorfer, Dorde ZikelicOOPSLA 2024 · 16 citations
  2. Static Posterior Inference of Bayesian Probabilistic Programming via Polynomial SolvingPeixin Wang, Tengshun Yang, Hongfei Fu, Guanyan Li et al.PLDI 2024 · 13 citations
  3. Bit Blasting Probabilistic ProgramsPoorva Garg, Steven Holtzen, Guy Van den Broeck, Todd D. MillsteinPLDI 2024 · 10 citations
  4. Guaranteed Bounds on Posterior Distributions of Discrete Probabilistic Programs with LoopsFabian Zaiser, Andrzej S. Murawski, C.-H. Luke OngPOPL 2025 · 6 citations
  5. Equivalence and Similarity Refutation for Probabilistic ProgramsKrishnendu Chatterjee, Ehsan Kafshdar Goharshady, Petr Novotný, Dorde ZikelicPLDI 2024 · 6 citations

Builds on7

  1. Scaling exact inference for discrete probabilistic programsSteven Holtzen, Guy Van den Broeck, Todd D. MillsteinOOPSLA 2020 · 85 citations
  2. SPPL: probabilistic programming with fast exact symbolic inferenceFeras A. Saad, Martin C. Rinard, Vikash K. MansinghkaPLDI 2021 · 38 citations
  3. Automatic Reparameterisation of Probabilistic ProgramsMaria I. Gorinova, Dave Moore, Matthew D. HoffmanICML 2020 · 33 citations
  4. λPSI: exact inference for higher-order probabilistic programsTimon Gehr, Samuel Steffen, Martin T. VechevPLDI 2020 · 29 citations
  5. On probabilistic termination of functional programs with continuous distributionsRaven Beutner, Luke OngPLDI 2021 · 12 citations

Related papers

  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. Inference of Probabilistic Programs with Moment-Matching Gaussian MixturesFrancesca Randone, Luca Bortolussi, Emilio Incerto, Mirco TribastonePOPL 2024 · 12 citations
  3. ωPAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable ProgramsMathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam StatonLICS 2023 · 5 citations
  4. Compiling Probabilistic Programs for Variable Elimination with Information FlowJianlin Li, Eric Wang, Yizhou ZhangPLDI 2024 · 6 citations
  5. Exact Bayesian Inference for Loopy Probabilistic Programs using Generating FunctionsLutz Klinkenberg, Christian Blumenthal, Mingshuai Chen, Darion Haase et al.OOPSLA 2024 · 11 citations
Dusk over the sea between two cliffs drawn in fine vertical lines