arXiv:2610.13764stat.MLOct 2026

Manuscript Offprint

arXiv:2610.13764

How Well Do Prior-Data Fitted Networks Amortize Bayesian Inference?

Manuel Hülskamp, Julius Kobialka, Emanuel Sommer, Thomas Nagler, David Rügamer

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Prior-data fitted networks (PFNs) are trained to approximate the Bayesian posterior predictive distribution (PPD) of a synthetic prior, yet results about the approximation quality are surprisingly thin. Taking an empirical risk minimization perspective, we decompose the deployment error of PFNs into prior, context, and amortization error, and measure the latter against a reference PPD under a realistic prior. Results show that PFNs generally recover the targeted PPD very well. Nevertheless, we find that parts of the residual amortization error persist, especially in rare settings under the prior pretraining distribution, even when scaling the model size, which manifests in disagreement between independently pretrained PFNs and leaves uncertainty about the predictor at inference time. As a remedy, we study multiple types of Bayesian model averages and find that these can consistently reduce this uncertainty and improve predictions up to full-size TabICLv2 models.

1 INTRODUCTION

Prior-data fitted networks (PFNs) have emerged as powerful foundation models for tabular data (Müller et al., 2021; Hollmann et al., 2025). By learning to approximate Bayesian posterior predictive distributions (PPDs) via in-context learning (Brown et al., 2020) during pretraining, they perform inference on new downstream datasets in a single forward pass. Given their success, many works have proposed strategies to improve predictive performance, scale to larger datasets, or transfer the approach to other tasks (Qu et al., 2026; Zhang et al., 2025b; den Breejen et al., 2024; Thomas et al., 2024; Xu et al., 2025; Liu and Ye, 2025; Ma et al., 2026; Robertson et al., 2025; Balazadeh Meresht et al., 2025). The Bayesian interpretation is central to this success. A PFN is trained on datasets drawn from a

Figure

Figure 1: Decomposition of the deployment error of a PFN (Proposition 2). This paper studies the amortization error, the only term controlled by pretraining, which splits into optimization, estimation, and approximation error (Eq. (8)). The context and prior error support this analysis: the context error is incurred even by the exact PPD, and the prior error arises when the deployment tasks differ from the prior (see Section 3.3).

synthetic prior, and its training objective is minimized by the PPD of that prior. In other words, a PFN is trained to minimize its risk under its own prior, and the PPD is the optimal predictor there.

Surprisingly, the evidence that trained PFNs closely track the PPD they amortize is thin and mostly focused on whether transformers can do Bayesian inference at all via the PPD (Müller et al., 2021) and not how well they recover it. Moreover, pretraining is typically reduced to first-order optimization of a single network, on the grounds that effectively unlimited synthetic data should remove any uncertainty about the outcome. Whether this holds is a question about amortization uncertainty. Existing work on uncertainty in PFNs (Nagler and Rügamer, 2025; Fortini et al., 2026) studies the uncertainty that remains for a fixed network at inference time and is, by construction, blind to it.

Furthermore, when PFNs are deployed on real data, the model likely faces a different distribution of tasks, and the optimal predictor changes with it. Hence, deployment is a distribution shift from the pretraining prior to the real-world task distribution, which further complicates the error source analysis of deployed PFNs.

Our Contribution In this work, we make the following contributions to study the sources of error and uncertainty in PFNs with a focus on amortization:

  1. A decomposition of the error of any PFN under a deployment distribution, splitting into prior, context and amortization error.

  2. A study of the amortization error of PFNs under its training prior, including a comparison to a realistic reference PPD (Section 2).

  3. An extended investigation of the amortization error of PFNs under a deployment task distribution (Section 3).

  4. An analysis of approximate Bayesian model averages over PFN weights (Section 4): Deep ensembles consistently improve predictions, whereas sampling and variational learning add little.