mlsanityData to 14 Oct 2026

Foundation Posteriors for Approximate Probabilistic Inference

arXiv 2205.09735 ↗First posted 19 May 2022cs.LG stat.MLcited by 6

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  6. 2020Language Models are Few-Shot Learnerscited by 32,419
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  8. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  9. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  10. 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,905
  11. 2016Variational Inference: A Review for Statisticianscited by 1,472
  12. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
28 more
  1. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,148
  2. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
  3. 2020Quantifying Attention Flow in Transformerscited by 775
  4. 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
  5. 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
  6. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  7. 2013Black Box Variational Inferencecited by 319
  8. 2018Multimodal Generative Models for Scalable Weakly-Supervised Learningcited by 200
  9. 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
  10. 2016Automatic Differentiation Variational Inferencecited by 159
  11. 2014Neural Variational Inference and Learning in Belief Networkscited by 117
  12. 2018Meta-Learning Probabilistic Inference For Predictioncited by 110
  13. 2017REBAR: Low-variance, unbiased gradient estimates for discrete latent variable modelscited by 79
  14. 2014Generalized Product of Experts for Automatic and Principled Fusion of Gaussian Process Predictionscited by 67
  15. 2018An Introduction to Probabilistic Programmingcited by 63
  16. 2016Inference Compilation and Universal Probabilistic Programmingcited by 32
  17. 2020Variational Item Response Theory: Fast, Accurate, and Expressivecited by 29
  18. 2020Stacking for Non-mixing Bayesian Computations: The Curse and Blessing of Multimodal Posteriorscited by 29
  19. 2016Edward: A library for probabilistic modeling, inference, and criticismcited by 28
  20. 2021Pathfinder: Parallel quasi-Newton variational inferencecited by 26
  21. 2019Meta-Amortized Variational Inference and Learningcited by 22
  22. 2014Venture: a higher-order probabilistic programming platform with programmable inferencecited by 20
  23. 2016Design and Implementation of Probabilistic Programming Language Anglicancited by 15
  24. 2020Meta-Learning with Shared Amortized Variational Inferencecited by 14
  25. 2021Modeling Item Response Theory with Stochastic Variational Inferencecited by 3
  26. 2021Automatic Guide Generation for Stan via NumPyrocited by 3
  27. 2022Bernstein Flows for Flexible Posteriors in Variational Bayescited by 3
  28. 2021Meta-Learning an Inference Algorithm for Probabilistic Programscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 0; 2026: 1.

6 papers.