Pith. sign in

REVIEW 21 cited by

Transformers Can Do Bayesian Inference

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2112.10510 v7 pith:HQZIL4JY submitted 2021-12-20 cs.LG stat.ML

Transformers Can Do Bayesian Inference

classification cs.LG stat.ML
keywords pfnsbayesianlearningdataclassificationinferenceinputpoints
verification ladder T0 review T1 audit T2 compute T3 formal T4 reserved
0 comments
read the original abstract

Currently, it is hard to reap the benefits of deep learning for Bayesian methods, which allow the explicit specification of prior knowledge and accurately capture model uncertainty. We present Prior-Data Fitted Networks (PFNs). PFNs leverage in-context learning in large-scale machine learning techniques to approximate a large set of posteriors. The only requirement for PFNs to work is the ability to sample from a prior distribution over supervised learning tasks (or functions). Our method restates the objective of posterior approximation as a supervised classification problem with a set-valued input: it repeatedly draws a task (or function) from the prior, draws a set of data points and their labels from it, masks one of the labels and learns to make probabilistic predictions for it based on the set-valued input of the rest of the data points. Presented with a set of samples from a new supervised learning task as input, PFNs make probabilistic predictions for arbitrary other data points in a single forward propagation, having learned to approximate Bayesian inference. We demonstrate that PFNs can near-perfectly mimic Gaussian processes and also enable efficient Bayesian inference for intractable problems, with over 200-fold speedups in multiple setups compared to current methods. We obtain strong results in very diverse areas such as Gaussian process regression, Bayesian neural networks, classification for small tabular data sets, and few-shot image classification, demonstrating the generality of PFNs. Code and trained PFNs are released at https://github.com/automl/TransformersCanDoBayesianInference.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 21 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. STRABLE: Benchmarking Tabular Machine Learning with Strings

    cs.LG 2026-05 unverdicted novelty 8.0

    A new corpus of 108 mixed string-numeric tables shows that advanced tabular learners with basic string embeddings perform well on most real-world data, while large LLM encoders help on free-text heavy tables.

  2. What learning algorithm is in-context learning? Investigations with linear models

    cs.LG 2022-11 accept novelty 8.0

    Transformers performing in-context learning implicitly implement gradient descent, ridge regression, and least-squares predictors for linear models, with behavior shifting based on model depth, width, and data noise.

  3. Probing Memorization of Tabular In-Context Learning

    cs.LG 2026-06 unverdicted novelty 7.0

    A new probing framework detects moderate parametric memorization signals in tabular in-context learning models under single-task fine-tuning, strongest on low-cardinality tasks, but signals largely disappear under rea...

  4. SurvivalPFN: Amortizing Survival Prediction via In-Context Bayesian Inference

    cs.LG 2026-05 unverdicted novelty 7.0

    SurvivalPFN amortizes Bayesian survival analysis for right-censored data by pretraining a prior-data fitted network on synthetic identifiable DGPs and then performing in-context inference, achieving competitive result...

  5. Retrieval Augmented Time Series Forecasting

    cs.LG 2024-11 unverdicted novelty 7.0

    The paper proposes Retrieval Augmented Forecasting (RAF) that augments time-series foundation models with retrieved similar series to improve forecasting accuracy across domains.

  6. TimEE: End-to-end Time Series Classification via In-Context Learning

    cs.LG 2026-07 conditional novelty 6.0

    A 4.5M-parameter transformer meta-trained on synthetic VARX-generated classification tasks achieves state-of-the-art ROC AUC on the UCR time series classification benchmark via in-context learning with no per-dataset ...

  7. Efficient Adaptive Data Acquisition via Pretrained Belief Representations

    cs.LG 2026-06 unverdicted novelty 6.0

    POLAR uses pretrained predictive foundation models as fixed belief-state encoders and trains only a lightweight policy head on top for amortised Bayesian experimental design, optimisation, and active learning.

  8. Bounded Context Management for Tabular Foundation Models on Stream Learning

    cs.LG 2026-06 conditional novelty 6.0

    CURE is a context management policy using entropy-gated admission and redundancy-aware eviction that delivers up to 27% relative improvement over classical stream learners on seven streams while remaining robust acros...

  9. In-Context Learning for Latent Space Bayesian Optimization

    cs.LG 2026-06 unverdicted novelty 6.0

    Complementing tabular foundation model pretraining with LSBO-specific synthetic tasks and a regularizer yields strong performance on held-out molecular optimization benchmarks.

  10. ADKO: Agentic Decentralized Knowledge Optimization

    cs.LG 2026-05 unverdicted novelty 6.0

    ADKO is a decentralized framework where agents share compact GP-derived tokens and LM insights to achieve collaborative Bayesian optimization with a decomposed regret bound that includes compression and approximation losses.

  11. Pre-trained Tabular Foundation Models as Versatile Summary Networks for Neural Posterior Estimation

    cs.LG 2026-05 unverdicted novelty 6.0

    Pre-trained TabPFN acts as an effective training-free summary network for neural posterior estimation, matching or outperforming standard methods while preserving useful marginal and location information in the posterior.

  12. Decoupled PFNs: Identifiable Epistemic-Aleatoric Decomposition via Structured Synthetic Priors

    stat.ML 2026-05 conditional novelty 6.0

    Decoupled PFNs use controllable synthetic priors to train separate latent-signal and noise heads, making epistemic-aleatoric decomposition identifiable and improving acquisition in noisy settings.

  13. Tabular foundation models for in-context prediction of molecular properties

    cs.LG 2026-04 unverdicted novelty 6.0

    Tabular foundation models achieve high accuracy in molecular property prediction through in-context learning, with up to 100% win rates on MoleculeACE tasks when paired with CheMeleon embeddings.

  14. Simulation as Supervision: Mechanistic Pretraining for Scientific Discovery

    cs.LG 2025-07 unverdicted novelty 6.0

    SGNNs pretrain neural networks on synthetic corpora from multiple mechanistic models and noise levels to enable robust forecasting and back-to-simulation attribution across epidemiology, ecology, and other fields.

  15. Amortized Inference of Causal Models via Conditional Fixed-Point Iterations

    cs.LG 2024-10 unverdicted novelty 6.0

    Amortized transformer model with conditional fixed-point iterations learns SCM causal mechanisms from data and graphs, matching per-dataset baselines and outperforming in low-data regimes.

  16. Are Tabular Foundation Models Robust to Realistic Query Distribution Shifts in Microbiome Data?

    cs.LG 2026-06 unverdicted novelty 5.0

    Tabular foundation models for gut microbiome data show degraded performance under perturbations like zero-imputation and sparsification even when discriminative taxa are retained, with zero-imputation most harmful and...

  17. Reinforcement Learning Foundation Models Should Already Be A Thing

    cs.LG 2026-06 unverdicted novelty 5.0

    A Graph Attention Network pretrained solely on synthetic MDPs solves held-out tabular RL benchmarks in context, outperforming UCB-VI and Q-learning online while matching VI-LCB offline.

  18. Modular Multimodal Classification Without Fine-Tuning: A Simple Compositional Approach

    cs.LG 2026-05 unverdicted novelty 5.0

    CoMET achieves strong multimodal classification performance by composing frozen modality encoders, PCA compression, and tabular foundation models without any training, reaching state-of-the-art on diverse benchmarks i...

  19. Foundation Models for Credit Risk Prediction: A Game Changer?

    cs.LG 2026-05 unverdicted novelty 5.0

    Tabular foundation models outperform standard methods in credit risk PD and LGD tasks, with larger gains on smaller datasets when used out-of-the-box.

  20. Tabular foundation models for robust calibration of near-infrared chemical sensing data

    cs.LG 2026-05 conditional novelty 4.0

    Preprocessing-optimized TabPFN achieves top average rank in regression on 66 NIR datasets and remains competitive on outliers and extrapolation compared to PLS, Ridge, CatBoost, and CNN-1D.

  21. Correcting Class Imbalance in Prior-Data Fitted Networks for Tabular Classification

    cs.LG 2026-05 unverdicted novelty 3.0

    Thresholding and downsampling effectively mitigate class imbalance in PFNs for tabular classification due to their calibration and limited-data strengths.