Foundation Posteriors for Approximate Probabilistic Inference
Not on the map. Why?
Abstract (arXiv)
Probabilistic programs provide an expressive representation language for generative models. Given a probabilistic program, we are interested in the task of posterior inference: estimating a latent variable given a set of observed variables. Existing techniques for inference in probabilistic programs often require choosing many hyper-parameters, are computationally expensive, and/or only work for restricted classes of programs. Here we formulate inference as masked language modeling: given a program, we generate a supervised dataset of variables and assignments, and randomly mask a subset of the assignments. We then train a neural network to unmask the random values, defining an approximate posterior distribution. By optimizing a single neural network across a range of programs we amortize the cost of training, yielding a "foundation" posterior able to do zero-shot inference for new programs. The foundation posterior can also be fine-tuned for a particular program and dataset by optimizing a variational inference objective. We show the efficacy of the approach, zero-shot and fine-tuned, on a benchmark of STAN programs.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 40 of its 70 references that are in the map. First posted on arXiv 19 May 2022.
Builds on
40 of 70 references.
References · 40
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
- 2016Variational Inference: A Review for Statisticianscited by 1,472
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
28 more
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
- 2013Black Box Variational Inferencecited by 319
- 2018Multimodal Generative Models for Scalable Weakly-Supervised Learningcited by 200
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
- 2016Automatic Differentiation Variational Inferencecited by 159
- 2014Neural Variational Inference and Learning in Belief Networkscited by 117
- 2018Meta-Learning Probabilistic Inference For Predictioncited by 110
- 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 79
- 2014Generalized Product of Experts for Automatic and Principled Fusion of Gaussian Process Predictionscited by 67
- 2018An Introduction to Probabilistic Programmingcited by 63
- 2016Inference Compilation and Universal Probabilistic Programmingcited by 32
- 2020Variational Item Response Theory: Fast, Accurate, and Expressivecited by 29
- 2020Stacking for Non-mixing Bayesian Computations: The Curse and Blessing of Multimodal Posteriorscited by 29
- 2016Edward: A library for probabilistic modeling, inference, and criticismcited by 28
- 2021Pathfinder: Parallel quasi-Newton variational inferencecited by 26
- 2019Meta-Amortized Variational Inference and Learningcited by 22
- 2014Venture: a higher-order probabilistic programming platform with programmable inferencecited by 20
- 2016Design and Implementation of Probabilistic Programming Language Anglicancited by 15
- 2020Meta-Learning with Shared Amortized Variational Inferencecited by 14
- 2021Modeling Item Response Theory with Stochastic Variational Inferencecited by 3
- 2021Automatic Guide Generation for Stan via NumPyrocited by 3
- 2022Bernstein Flows for Flexible Posteriors in Variational Bayescited by 3
- 2021Meta-Learning an Inference Algorithm for Probabilistic Programscited by 1
Built on by
Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 0; 2026: 1.
6 papers.
- 2023From Word Models to World Models: Translating from Natural Language to the Probabilistic Language of Thoughtcited by 119
- 2022Language Model Cascadescited by 107
- 2022UniMASK: Unified Inference in Sequential Decision Problemscited by 24
- 2023Evaluating statistical language models as pragmatic reasonerscited by 15
- 2024CriticAL: Critic Automation with Language Modelscited by 5
- 2026Amortized Factor Inference Networks for Posterior Inferencecited by 0
- 2026Amortized Factor Inference Networks for Posterior Inference26 May 2026
- 2024CriticAL: Critic Automation with Language Models10 Nov 2024
- 2023From Word Models to World Models: Translating from Natural Language to the Probabilistic Language of Thought22 Jun 2023
- 2023Evaluating statistical language models as pragmatic reasoners1 May 2023
- 2022UniMASK: Unified Inference in Sequential Decision Problems20 Nov 2022
- 2022Language Model Cascades21 Jul 2022