An Introduction to Probabilistic Programming
Not on the map. Why?
Abstract (arXiv)
This book is a graduate-level introduction to probabilistic programming. It not only provides a thorough background for anyone wishing to use a probabilistic programming system, but also introduces the techniques needed to design and build these systems. It is aimed at people who have an undergraduate-level understanding of either or, ideally, both probabilistic machine learning and programming languages. We start with a discussion of model-based reasoning and explain why conditioning is a foundational computation central to the fields of probabilistic machine learning and artificial intelligence. We then introduce a first-order probabilistic programming language (PPL) whose programs correspond to graphical models with a known, finite, set of random variables. In the context of this PPL we introduce fundamental inference algorithms and describe how they can be implemented. We then turn to higher-order probabilistic programming languages. Programs in such languages can define models with dynamic computation graphs, which may not instantiate the same set of random variables in each execution. Inference requires methods that generate samples by repeatedly evaluating the program. Foundational algorithms for this kind of language are discussed in the context of an interface between program executions and an inference controller. Finally we consider the intersection of probabilistic and differentiable programming. We begin with a discussion of automatic differentiation, and how it can be used to implement efficient inference methods based on Hamiltonian Monte Carlo. We then discuss gradient-based maximum likelihood estimation in programs that are parameterized using neural networks, how to amortize inference using by learning neural approximations to the program posterior, and how language features impact the design of deep probabilistic programming systems.
Key facts. Cited by 63 papers in the map (data through 14 Oct 2026). First posted on arXiv 27 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 17; 2022: 16; 2023: 11; 2024: 8; 2025: 9; 2026: 2.
63 papers.
Sort:
By area:
- 2022Language Model Cascadescited by 107
- 2021The Bayesian Learning Rulecited by 99
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2021Differentiable Particle Filtering via Entropy-Regularized Optimal Transportcited by 59
- 2024Beyond Preferences in AI Alignmentcited by 49
- 2024Automated Statistical Model Discovery with Language Modelscited by 41
- 2021A Structural Causal Model for MR Images of Multiple Sclerosiscited by 21
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programscited by 12
- 2022Graphically Structured Diffusion Modelscited by 11
- 2025One Life to Learn: Inferring Symbolic World Models for Stochastic Environments from Unguided Explorationcited by 10
- 2024ULLER: A Unified Language for Learning and Reasoningcited by 9
- 2021The General Theory of General Intelligence: A Pragmatic Patternist Perspectivecited by 8
38 more
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variablescited by 8
- 2021Learning Proposals for Probabilistic Programs with Inference Combinatorscited by 6
- 2021Modularity in Reinforcement Learning via Algorithmic Independence in Credit Assignmentcited by 6
- 2021Variational Marginal Particle Filterscited by 6
- 2022PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAXcited by 6
- 2022Foundation Posteriors for Approximate Probabilistic Inferencecited by 6
- 2022Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inferencecited by 6
- 2023PriorCVAE: scalable MCMC parameter inference with Bayesian deep generative modellingcited by 6
- 2023Scaling Integer Arithmetic in Probabilistic Programscited by 6
- 2024CriticAL: Critic Automation with Language Modelscited by 5
- 2025RefineStat: Efficient Exploration for Probabilistic Program Synthesiscited by 5
- 2021Nonparametric Hamiltonian Monte Carlocited by 4
- 2022A Survey on Uncertainty Toolkits for Deep Learningcited by 4
- 2023Automatically Marginalized MCMC in Probabilistic Programmingcited by 4
- 2023Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming Approachcited by 4
- 2025Sparser, Better, Faster, Stronger: Sparsity Detection for Efficient Automatic Differentiationcited by 4
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programmingcited by 4
- 2021Embedded-model flows: Combining the inductive biases of model-free deep learning and explicit probabilistic modelingcited by 3
- 2023The Compositional Structure of Bayesian Inferencecited by 3
- 2021Toward an Idiomatic Framework for Cognitive Roboticscited by 2
- 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Supportcited by 2
- 2021Meta-Learning an Inference Algorithm for Probabilistic Programscited by 1
- 2022Guaranteed Bounds for Posterior Inference in Universal Probabilistic Programmingcited by 1
- 2022Trust in Language Grounding: a new AI challenge for human-robot teamscited by 1
- 2023Diffusion models for probabilistic programmingcited by 1
- 2024VISA: Variational Inference with Sequential Sample-Average Approximationscited by 1
- 2025Causal Posterior Estimationcited by 1
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Datacited by 1
- 2021Control-Data Separation and Logical Condition Propagation for Efficient Inference on Probabilistic Programscited by 0
- 2021Technology Readiness Levels for Machine Learning Systemscited by 0
- 2021Expectation Programming: Adapting Probabilistic Programming Systems to Estimate Expectations Efficientlycited by 0
- 2021Pixyz: a Python library for developing deep generative modelscited by 0
- 2021Bob and Alice Go to a Bar: Reasoning About Future With Probabilistic Programscited by 0
- 2021Detecting and Quantifying Malicious Activity with Simulation-based Inferencecited by 0
- 2022Mixed Nondeterministic-Probabilistic Automata: Blending graphical probabilistic models with nondeterminismcited by 0
- 2022Compartmental Models for COVID-19 and Control via Policy Interventionscited by 0
- 2022On Reinforcement Learning, Effect Handlers, and the State Monadcited by 0
- 2022A Probabilistic Generative Model of Free Categoriescited by 0
50 most cited of 63 All 63 (JSON)
- 2026Hypothesis-guided discovery of cognitive algorithms via program refinement1 Oct 2026
- 2026LazyHMC: Hamiltonian Monte Carlo Simulation for Lazy, Infinite Dimensional Probabilistic Programs9 Aug 2026
- 2025Quantitative Verification of Omega-regular Properties in Probabilistic Programming25 Dec 2025
- 2025One Life to Learn: Inferring Symbolic World Models for Stochastic Environments from Unguided Exploration14 Oct 2025
- 2025RefineStat: Efficient Exploration for Probabilistic Program Synthesis1 Sep 2025
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data25 Aug 2025
- 2025Prediction of Hospital Associated Infections During Continuous Hospital Stays19 Aug 2025
- 2025Causal Posterior Estimation27 May 2025
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programming27 Mar 2025
- 2025Sparser, Better, Faster, Stronger: Sparsity Detection for Efficient Automatic Differentiation29 Jan 2025
- 2025Representing Molecules with Algebraic Data Types: Beyond SMILES and SELFIES23 Jan 2025
- 2024CriticAL: Critic Automation with Language Models10 Nov 2024
38 more
- 2024Probabilistic Answer Set Programming with Discrete and Continuous Random Variables30 Sep 2024
- 2024Beyond Preferences in AI Alignment30 Aug 2024
- 2024Data Petri Nets meet Probabilistic Programming (Extended version)12 Jun 2024
- 2024ULLER: A Unified Language for Learning and Reasoning1 May 2024
- 2024VISA: Variational Inference with Sequential Sample-Average Approximations14 Mar 2024
- 2024Automated Statistical Model Discovery with Language Models27 Feb 2024
- 2024Diagonalisation SGD: Fast & Convergent SGD for Non-Differentiable Models via Reparameterisation and Smoothing19 Feb 2024
- 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Support1 Nov 2023
- 2023Diffusion models for probabilistic programming1 Nov 2023
- 2023Beyond Bayesian Model Averaging over Paths in Probabilistic Programs with Stochastic Support23 Oct 2023
- 2023Scaling Integer Arithmetic in Probabilistic Programs25 Jul 2023
- 2023Push: Concurrent Probabilistic Programming for Bayesian Deep Learning10 Jun 2023
- 2023Exact Bayesian Inference on Discrete Models via Probability Generating Functions: A Probabilistic Programming Approach26 May 2023
- 2023The Compositional Structure of Bayesian Inference10 May 2023
- 2023String Diagrams with Factorized Densities4 May 2023
- 2023Scallop: A Language for Neurosymbolic Programming10 Apr 2023
- 2023PriorCVAE: scalable MCMC parameter inference with Bayesian deep generative modelling9 Apr 2023
- 2023Automatically Marginalized MCMC in Probabilistic Programming1 Feb 2023
- 2022Graphically Structured Diffusion Models20 Oct 2022
- 2022Marginalized particle Gibbs for multiple state-space models coupled through shared parameters13 Oct 2022
- 2022Trust in Language Grounding: a new AI challenge for human-robot teams5 Sep 2022
- 2022Learning and Compositionality: a Unification Attempt via Connectionist Probabilistic Programming26 Aug 2022
- 2022Smoothness Analysis for Probabilistic Programs with Application to Optimised Variational Inference22 Aug 2022
- 2022Language Model Cascades21 Jul 2022
- 2022Foundation Posteriors for Approximate Probabilistic Inference19 May 2022
- 2022A Probabilistic Generative Model of Free Categories9 May 2022
- 2022A Survey on Uncertainty Toolkits for Deep Learning2 May 2022
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programs26 Apr 2022
- 2022Guaranteed Bounds for Posterior Inference in Universal Probabilistic Programming6 Apr 2022
- 2022On Reinforcement Learning, Effect Handlers, and the State Monad29 Mar 2022
- 2022Compartmental Models for COVID-19 and Control via Policy Interventions6 Mar 2022
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variables5 Mar 2022
- 2022PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAX8 Feb 2022
- 2022Mixed Nondeterministic-Probabilistic Automata: Blending graphical probabilistic models with nondeterminism19 Jan 2022
- 2021Toward an Idiomatic Framework for Cognitive Robotics25 Nov 2021
- 2021Embedded-model flows: Combining the inductive biases of model-free deep learning and explicit probabilistic modeling12 Oct 2021
- 2021Detecting and Quantifying Malicious Activity with Simulation-based Inference6 Oct 2021
- 2021Variational Marginal Particle Filters30 Sep 2021
50 newest of 63 All 63 (JSON)
- 2022Graphically Structured Diffusion Modelscited by 11
- 2023Diffusion models for probabilistic programmingcited by 1
- 2023Diffusion models for probabilistic programming1 Nov 2023
- 2022Graphically Structured Diffusion Models20 Oct 2022
- 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programmingcited by 4
- 2025Lobster: A GPU-Accelerated Framework for Neurosymbolic Programming27 Mar 2025
- 2023Scallop: A Language for Neurosymbolic Programming10 Apr 2023
- 2024Beyond Preferences in AI Alignmentcited by 49
- 2024Beyond Preferences in AI Alignment30 Aug 2024
- 2022Language Model Cascadescited by 107
- 2021The Bayesian Learning Rulecited by 99
- 2021Differentiable Particle Filtering via Entropy-Regularized Optimal Transportcited by 59
- 2024Automated Statistical Model Discovery with Language Modelscited by 41
- 2021A Structural Causal Model for MR Images of Multiple Sclerosiscited by 21
- 2022Designing Perceptual Puzzles by Differentiating Probabilistic Programscited by 12
- 2024ULLER: A Unified Language for Learning and Reasoningcited by 9
- 2021The General Theory of General Intelligence: A Pragmatic Patternist Perspectivecited by 8
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variablescited by 8
- 2021Learning Proposals for Probabilistic Programs with Inference Combinatorscited by 6
- 2021Modularity in Reinforcement Learning via Algorithmic Independence in Credit Assignmentcited by 6
- 2021Variational Marginal Particle Filterscited by 6
12 most cited of 57 All 57 (JSON)
- 2026Hypothesis-guided discovery of cognitive algorithms via program refinement1 Oct 2026
- 2026LazyHMC: Hamiltonian Monte Carlo Simulation for Lazy, Infinite Dimensional Probabilistic Programs9 Aug 2026
- 2025Quantitative Verification of Omega-regular Properties in Probabilistic Programming25 Dec 2025
- 2025RefineStat: Efficient Exploration for Probabilistic Program Synthesis1 Sep 2025
- 2025Type-Compliant Adaptation Cascades: Adapting Programmatic LM Workflows to Data25 Aug 2025
- 2025Prediction of Hospital Associated Infections During Continuous Hospital Stays19 Aug 2025
- 2025Causal Posterior Estimation27 May 2025
- 2025Sparser, Better, Faster, Stronger: Sparsity Detection for Efficient Automatic Differentiation29 Jan 2025
- 2025Representing Molecules with Algebraic Data Types: Beyond SMILES and SELFIES23 Jan 2025
- 2024CriticAL: Critic Automation with Language Models10 Nov 2024
- 2024Probabilistic Answer Set Programming with Discrete and Continuous Random Variables30 Sep 2024
- 2024Data Petri Nets meet Probabilistic Programming (Extended version)12 Jun 2024
12 newest of 57 All 57 (JSON)