• Home
  • Search
  • Trace types and denotational semantics for sound programmable inference in probabilistic languages
  • Cite Icon35
  • https://doi.org/10.1145/3371087Copy DOI Icon

Trace types and denotational semantics for sound programmable inference in probabilistic languages

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Modern probabilistic programming languages aim to formalize and automate key aspects of probabilistic modeling and inference. Many languages provide constructs for programmable inference that enable developers to improve inference speed and accuracy by tailoring an algorithm for use with a particular model or dataset. Unfortunately, it is easy to use these constructs to write unsound programs that appear to run correctly but produce incorrect results. To address this problem, we present a denotational semantics for programmable inference in higher-order probabilistic programming languages, along with a type system that ensures that well-typed inference programs are sound by construction. A central insight is that the type of a probabilistic expression can track the space of its possible execution traces, not just the type of value that it returns, as these traces are often the objects that inference algorithms manipulate. We use our semantics and type system to establish soundness properties of custom inference programs that use constructs for variational, sequential Monte Carlo, importance sampling, and Markov chain Monte Carlo inference.

Loading PDF

Similar Papers
  • Conference Article
  • Citations10

A design proposal for Gen: probabilistic programming with fast custom inference via code generation

  • Jun 18, 2018
  • Marco Cusumano-Towner +1
  • Research Article

Annotated Automatic Pruning of Universal Probabilistic Programming Languages

  • Apr 22, 2025
  • ACM Transactions on Probabilistic Machine Learning
  • Gizem Çaylak +4
  • PDF
  • Book Chapter
  • Citations6

Automatic Alignment in Higher-Order Probabilistic Programming Languages

  • Jan 01, 2023
  • Daniel Lundén +3
  • Research Article
  • Citations7

Bit Blasting Probabilistic Programs

  • Jun 20, 2024
  • Proceedings of the ACM on Programming Languages
  • Poorva Garg +3
  • Conference Article
  • Citations1

Probabilistic Programming (Invited Talk)

  • Jan 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Hongseok Yang
  • PDF
  • Research Article
  • Citations10

Static Posterior Inference of Bayesian Probabilistic Programming via Polynomial Solving

  • Jun 20, 2024
  • Proceedings of the ACM on Programming Languages
  • Peixin Wang +4
  • Research Article

Learning to Reject Sequential Importance Steps for Continuous-Time Bayesian Networks

  • Mar 04, 2015
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Jeremy Weiss +2
  • Conference Article
  • Citations1

Evaluation of Sequential Importance Sampling for blind deconvolution via a simulation study

  • Sep 03, 2002
  • Zenodo (CERN European Organization for Nuclear Research)
  • Ali Raza +3
  • Research Article
  • Citations258

Sequential importance sampling for structural reliability analysis

  • Jun 17, 2016
  • Structural Safety
  • Iason Papaioannou +2
  • Conference Article
  • Citations1

Time-efficient Bayesian Inference for a (Skewed) Von Mises Distribution on the Torus in a Deep Probabilistic Programming Language

  • Sep 23, 2021
  • Ola Ronning +3
  • PDF
  • Research Article
  • Citations4

On the Use of Bootstrapped Topologies in Coalescent-Based Bayesian MCMC Inference: A Comparison of Estimation and Computational Efficiencies

  • Jan 01, 2009
  • Evolutionary Bioinformatics Online
  • Allen G Rodrigo +2
  • Research Article
  • Citations4

Applying Gaussian Process Machine Learning and Modern Probabilistic Programming to Satellite Data to Infer CO2 Emissions.

  • Feb 24, 2025
  • Environmental science & technology
  • Seongeun Jeong +5
  • PDF
  • Research Article
  • Citations7

Modular probabilistic models via algebraic effects

  • Aug 29, 2022
  • Proceedings of the ACM on Programming Languages
  • Minh Nguyen +3
  • Book Chapter
  • Citations17

Probabilistic Programming Language and its Incremental Evaluation

  • Jan 01, 2016
  • Oleg Kiselyov
  • Book Chapter
  • Citations6

Opening Doors: An Initial SRL Approach

  • Jan 01, 2013
  • Bogdan Moldovan +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.