Inference Compilation and Universal Probabilistic Programming
Not on the map. Why?
Abstract (arXiv)
We introduce a method for using deep neural networks to amortize the cost of inference in models from the family induced by universal probabilistic programming languages, establishing a framework that combines the strengths of probabilistic programming and deep learning methods. We call what we do "compilation of inference" because our method transforms a denotational specification of an inference problem in the form of a probabilistic program written in a universal programming language into a trained neural network denoted in a neural network specification language. When at test time this neural network is fed observational data and executed, it performs approximate inference in the original model specified by the probabilistic program. Our training objective and learning procedure are designed to allow the trained neural network to be used as a proposal distribution in a sequential importance sampling inference engine. We illustrate our method on mixture models and Captcha solving and show significant speedups in the efficiency of inference.
Key facts. Cited by 32 papers in the map (data through 14 Oct 2026). First posted on arXiv 31 Oct 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 6; 2023: 8; 2024: 5; 2025: 2; 2026: 6.
32 papers.
Sort:
By area:
- 2021Benchmarking Simulation-Based Inferencecited by 162
- 2024All-in-one simulation-based inferencecited by 74
- 2024Combining Induction and Transduction for Abstract Reasoningcited by 53
- 2023Human-like Few-Shot Learning via Bayesian Reasoning over Natural Languagecited by 22
- 2024Amortized Bayesian Multilevel Modelscited by 14
- 2022ProbNeRF: Uncertainty-Aware Inference of 3D Shapes from 2D Imagescited by 12
- 2022Graphically Structured Diffusion Modelscited by 11
- 2025Robust Amortized Bayesian Inference with Self-Consistency Losses on Unlabeled Datacited by 11
- 2025Does Unsupervised Domain Adaptation Improve the Robustness of Amortized Bayesian Inference? A Systematic Evaluationcited by 10
- 2024Compositional simulation-based inference for time seriescited by 9
- 2026BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Pythoncited by 9
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variablescited by 8
20 more
- 2023Neural Amortized Inference for Nested Multi-agent Reasoningcited by 8
- 2022Foundation Posteriors for Approximate Probabilistic Inferencecited by 6
- 2022Uncertain Evidence in Probabilistic Models and Stochastic Simulatorscited by 5
- 2023Comparison of Affine and Rational Quadratic Spline Coupling and Autoregressive Flows through Robust Statistical Testscited by 5
- 2023Machine Learning and the Future of Bayesian Computationcited by 4
- 2022Estimators of Entropy and Information via Inference in Probabilistic Modelscited by 3
- 2023Bayesian Program Learning by Decompiling Amortized Knowledgecited by 2
- 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Supportcited by 2
- 2021Meta-Learning an Inference Algorithm for Probabilistic Programscited by 1
- 2026A Unifying Framework for Unsupervised Concept Extractioncited by 1
- 2021Control-Data Separation and Logical Condition Propagation for Efficient Inference on Probabilistic Programscited by 0
- 2021How To Train Your Program: a Probabilistic Programming Pattern for Bayesian Learning From Datacited by 0
- 2021Unifying AI Algorithms with Probabilistic Programming using Implicitly Defined Representationscited by 0
- 2023Push: Concurrent Probabilistic Programming for Bayesian Deep Learningcited by 0
- 2023Beyond Bayesian Model Averaging over Paths in Probabilistic Programs with Stochastic Supportcited by 0
- 2024Efficient Incremental Belief Updates Using Weighted Virtual Observationscited by 0
- 2026Amortized Factor Inference Networks for Posterior Inferencecited by 0
- 2026Scalable Amortized Variational Inference for Non-Poisson Buy-'Til-You-Die Modelscited by 0
- 2026One Proposal for Every Margin: Zero-Shot Amortized Sequential Importance Sampling for Binary Matricescited by 0
- 2026Semi-Amortized Bayesian Inference with Reusable Local Posteriorscited by 0
- 2026Semi-Amortized Bayesian Inference with Reusable Local Posteriors13 Oct 2026
- 2026One Proposal for Every Margin: Zero-Shot Amortized Sequential Importance Sampling for Binary Matrices28 Sep 2026
- 2026Scalable Amortized Variational Inference for Non-Poisson Buy-'Til-You-Die Models19 Aug 2026
- 2026Amortized Factor Inference Networks for Posterior Inference26 May 2026
- 2026A Unifying Framework for Unsupervised Concept Extraction27 Apr 2026
- 2026BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python6 Feb 2026
- 2025Does Unsupervised Domain Adaptation Improve the Robustness of Amortized Bayesian Inference? A Systematic Evaluation7 Feb 2025
- 2025Robust Amortized Bayesian Inference with Self-Consistency Losses on Unlabeled Data23 Jan 2025
- 2024Compositional simulation-based inference for time series5 Nov 2024
- 2024Combining Induction and Transduction for Abstract Reasoning4 Nov 2024
- 2024Amortized Bayesian Multilevel Models23 Aug 2024
- 2024All-in-one simulation-based inference15 Apr 2024
20 more
- 2024Efficient Incremental Belief Updates Using Weighted Virtual Observations10 Feb 2024
- 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Support1 Nov 2023
- 2023Beyond Bayesian Model Averaging over Paths in Probabilistic Programs with Stochastic Support23 Oct 2023
- 2023Neural Amortized Inference for Nested Multi-agent Reasoning21 Aug 2023
- 2023Bayesian Program Learning by Decompiling Amortized Knowledge13 Jun 2023
- 2023Push: Concurrent Probabilistic Programming for Bayesian Deep Learning10 Jun 2023
- 2023Human-like Few-Shot Learning via Bayesian Reasoning over Natural Language5 Jun 2023
- 2023Machine Learning and the Future of Bayesian Computation21 Apr 2023
- 2023Comparison of Affine and Rational Quadratic Spline Coupling and Autoregressive Flows through Robust Statistical Tests23 Feb 2023
- 2022ProbNeRF: Uncertainty-Aware Inference of 3D Shapes from 2D Images27 Oct 2022
- 2022Uncertain Evidence in Probabilistic Models and Stochastic Simulators21 Oct 2022
- 2022Graphically Structured Diffusion Models20 Oct 2022
- 2022Foundation Posteriors for Approximate Probabilistic Inference19 May 2022
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variables5 Mar 2022
- 2022Estimators of Entropy and Information via Inference in Probabilistic Models24 Feb 2022
- 2021Unifying AI Algorithms with Probabilistic Programming using Implicitly Defined Representations5 Oct 2021
- 2021How To Train Your Program: a Probabilistic Programming Pattern for Bayesian Learning From Data8 May 2021
- 2021Meta-Learning an Inference Algorithm for Probabilistic Programs1 Mar 2021
- 2021Benchmarking Simulation-Based Inference12 Jan 2021
- 2021Control-Data Separation and Logical Condition Propagation for Efficient Inference on Probabilistic Programs5 Jan 2021
- 2022Graphically Structured Diffusion Modelscited by 11
- 2022Graphically Structured Diffusion Models20 Oct 2022
- 2026A Unifying Framework for Unsupervised Concept Extractioncited by 1
- 2026A Unifying Framework for Unsupervised Concept Extraction27 Apr 2026
- 2021Benchmarking Simulation-Based Inferencecited by 162
- 2024All-in-one simulation-based inferencecited by 74
- 2024Amortized Bayesian Multilevel Modelscited by 14
- 2022ProbNeRF: Uncertainty-Aware Inference of 3D Shapes from 2D Imagescited by 12
- 2025Robust Amortized Bayesian Inference with Self-Consistency Losses on Unlabeled Datacited by 11
- 2025Does Unsupervised Domain Adaptation Improve the Robustness of Amortized Bayesian Inference? A Systematic Evaluationcited by 10
- 2024Compositional simulation-based inference for time seriescited by 9
- 2026BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Pythoncited by 9
- 2022Recursive Monte Carlo and Variational Inference with Auxiliary Variablescited by 8
- 2023Neural Amortized Inference for Nested Multi-agent Reasoningcited by 8
- 2022Foundation Posteriors for Approximate Probabilistic Inferencecited by 6
- 2022Uncertain Evidence in Probabilistic Models and Stochastic Simulatorscited by 5
12 most cited of 28 All 28 (JSON)
- 2026Semi-Amortized Bayesian Inference with Reusable Local Posteriors13 Oct 2026
- 2026One Proposal for Every Margin: Zero-Shot Amortized Sequential Importance Sampling for Binary Matrices28 Sep 2026
- 2026Scalable Amortized Variational Inference for Non-Poisson Buy-'Til-You-Die Models19 Aug 2026
- 2026Amortized Factor Inference Networks for Posterior Inference26 May 2026
- 2026BayesFlow 2: Multi-Backend Amortized Bayesian Inference in Python6 Feb 2026
- 2025Does Unsupervised Domain Adaptation Improve the Robustness of Amortized Bayesian Inference? A Systematic Evaluation7 Feb 2025
- 2025Robust Amortized Bayesian Inference with Self-Consistency Losses on Unlabeled Data23 Jan 2025
- 2024Compositional simulation-based inference for time series5 Nov 2024
- 2024Amortized Bayesian Multilevel Models23 Aug 2024
- 2024All-in-one simulation-based inference15 Apr 2024
- 2024Efficient Incremental Belief Updates Using Weighted Virtual Observations10 Feb 2024
- 2023Rethinking Variational Inference for Probabilistic Programs with Stochastic Support1 Nov 2023
12 newest of 28 All 28 (JSON)