mlsanityData to 14 Oct 2026

Amortized In-Context Bayesian Posterior Estimation

arXiv 2502.06601 ↗First posted 10 Feb 2025cs.LG cs.AI stat.MLcited by 15

Not on the map. Why?

Abstract (arXiv)

Bayesian inference provides a natural way of incorporating prior beliefs and assigning a probability measure to the space of hypotheses. Current solutions rely on iterative routines like Markov Chain Monte Carlo (MCMC) sampling and Variational Inference (VI), which need to be re-run whenever new observations are available. Amortization, through conditional estimation, is a viable strategy to alleviate such difficulties and has been the guiding principle behind simulation-based inference, neural processes and in-context methods using pre-trained models. In this work, we conduct a thorough comparative analysis of amortized in-context Bayesian posterior estimation methods from the lens of different optimization objectives and architectural choices. Such methods train an amortized estimator to perform posterior parameter inference by conditioning on a set of data examples passed as context to a sequence model such as a transformer. In contrast to language models, we leverage permutation invariant architectures as the true posterior is invariant to the ordering of context examples. Our empirical study includes generalization to out-of-distribution tasks, cases where the assumed underlying model is misspecified, and transfer from simulated to real problems. Subsequently, it highlights the superiority of the reverse KL estimator for predictive problems, especially when combined with the transformer architecture and normalizing flows.

Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 42 of its 69 references that are in the map. First posted on arXiv 10 Feb 2025.

Builds on

42 of 69 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  3. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  4. 2016Matching Networks for One Shot Learningcited by 2,255
  5. 2015Variational Inference with Normalizing Flowscited by 2,170
  6. 2016Density estimation using Real NVPcited by 2,042
  7. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,545
  8. 2016Variational Inference: A Review for Statisticianscited by 1,472
  9. 2017Deep Setscited by 1,421
  10. 2019Normalizing Flows for Probabilistic Modeling and Inferencecited by 1,323
  11. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  12. 2019An Introduction to Variational Autoencoderscited by 1,000
30 more
  1. 2020Meta-Learning in Neural Networks: A Surveycited by 950
  2. 2022Transformers learn in-context by gradient descentcited by 732
  3. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 715
  4. 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 674
  5. 2018GPyTorch: Blackbox Matrix-Matrix Gaussian Process Inference with GPU Accelerationcited by 609
  6. 2019The frontier of simulation-based inferencecited by 502
  7. 2018Conditional Neural Processescited by 426
  8. 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 392
  9. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  10. 2021Transformers Can Do Bayesian Inferencecited by 360
  11. 2018Neural Processescited by 311
  12. 2019Attentive Neural Processescited by 283
  13. 2021Path Integral Sampler: a stochastic control approach for samplingcited by 181
  14. 2018Recasting Gradient-Based Meta-Learning as Hierarchical Bayescited by 180
  15. 2017OpenML Benchmarking Suitescited by 178
  16. 2013Expectation Propagation for approximate Bayesian inferencecited by 174
  17. 2023Denoising Diffusion Samplerscited by 149
  18. 2020BayesFlow: Learning complex stochastic models with invertible neural networkscited by 144
  19. 2019Convolutional Conditional Neural Processescited by 142
  20. 2023A Brief Review of Hypernetworks in Deep Learningcited by 102
  21. 2022Amortized Inference for Causal Structure Learningcited by 90
  22. 2017Bayesian Hypernetworkscited by 66
  23. 2022Compositional Score Modeling for Simulation-based Inferencecited by 48
  24. 2020Handling the Positive-Definite Constraint in the Bayesian Learning Rulecited by 31
  25. 2022A Unified Perspective on Natural Gradient Variational Inference with Gaussian Mixture Modelscited by 22
  26. 2016Inference Networks for Sequential Monte Carlo in Graphical Modelscited by 20
  27. 2021Kernel Identification Through Transformerscited by 13
  28. 2023Amortized Inference for Gaussian Process Hyperparameters of Structured Kernelscited by 10
  29. 2017HyperNetworks with statistical filtering for defending adversarial examplescited by 9
  30. 2013Recognition Networks for Approximate Inference in BN20 Networkscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 7.

15 papers.

Sort:

By area: