Uncertainty Quantification for Prior-Data Fitted Networks using Martingale Posteriors
Thomas Nagler, David Rügamer
TL;DR
This work addresses the lack of uncertainty quantification in Prior-Data Fitted Networks (PFNs) by introducing Martingale Posteriors (MPs) that construct Bayesian posteriors for PFN-derived predictive summaries. The authors extend the MP framework to conditional inference using a nonparametric Gaussian-copula update and flexible learning-rate schedules, providing convergence guarantees and a practical algorithm with $O(BN)$ complexity. Through extensive simulations and real-data benchmarks, they demonstrate that MP-based posteriors yield meaningful epistemic uncertainty, competitive coverage, and favorable runtimes compared to bootstrap, while highlighting biases in PFNs that constrain nominal coverage in some regimes. They also discuss limitations and potential extensions to other in-context learners, including LLMs, outlining a path for principled uncertainty quantification in large pretrained models beyond tabular PFNs.
Abstract
Prior-data fitted networks (PFNs) have emerged as promising foundation models for prediction from tabular data sets, achieving state-of-the-art performance on small to moderate data sizes without tuning. While PFNs are motivated by Bayesian ideas, they do not provide any uncertainty quantification for predictive means, quantiles, or similar quantities. We propose a principled and efficient sampling procedure to construct Bayesian posteriors for such estimates based on Martingale posteriors, and prove its convergence. Several simulated and real-world data examples showcase the uncertainty quantification of our method in inference applications.
