# Can pretrained Transformers deliver semiparametrically efficient inference?

arXiv: https://arxiv.org/abs/2611.27666 · HTML: https://mlsanity.com/paper/2611.27666/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 21 of its 147 references that are in the map.
- Submitted 20 Nov 2026, announced 23 Nov 2026.

## Builds on (most cited first, 21 of 21)

- [TabPFN-2.5: Advancing the State of the Art in Tabular Foundation Models](https://mlsanity.com/paper/2511.08667/) (2025)
- [LimiX: Unleashing Structured-Data Modeling Capability for Generalist Intelligence](https://mlsanity.com/paper/2509.03505/) (2025)
- [Real-TabPFN: Improving Tabular Foundation Models via Continued Pre-training With Real-World Data](https://mlsanity.com/paper/2507.03971/) (2025)
- [Predictions as Surrogates: Revisiting Surrogate Outcomes in the Age of AI](https://mlsanity.com/paper/2501.09731/) (2025)
- [Towards Causal Foundation Model: on Duality between Causal Inference and Attention](https://mlsanity.com/paper/2310.00809/) (2023)
- [Amortized In-Context Bayesian Posterior Estimation](https://mlsanity.com/paper/2502.06601/) (2025)
- [Black Box Causal Inference: Effect Estimation via Meta Prediction](https://mlsanity.com/paper/2503.05985/) (2025)
- [Effortless, Simulation-Efficient Bayesian Inference using Tabular Foundation Models](https://mlsanity.com/paper/2504.17660/) (2025)
- [Uncertainty Quantification for Prior-Data Fitted Networks using Martingale Posteriors](https://mlsanity.com/paper/2505.11325/) (2025)
- [Uncertainty Decomposition for Bayes-Filtered Transformers via Bayesian Predictive Inference](https://mlsanity.com/paper/2602.04596/) (2026)
- [TabClustPFN: A Prior-data Fitted Network for Tabular Data Clustering](https://mlsanity.com/paper/2601.21656/) (2026)
- [Approximation Capabilities of Feedforward Neural Networks with GELU Activations](https://mlsanity.com/paper/2512.21749/) (2025)
- [PFN-TS: Thompson Sampling for Contextual Bandits via Prior-Data Fitted Networks](https://mlsanity.com/paper/2605.10137/) (2026)
- [Learning to Fluctuate: Statistical Foundations for Causal Tabular Pretraining](https://mlsanity.com/paper/2609.26290/) (2026)
- [Can Tabular Foundation Models Amortize Statistical Inference?](https://mlsanity.com/paper/2609.33114/) (2026)
- [TabCUQ: Context-Uncertainty Quantification for Tabular Foundation Models](https://mlsanity.com/paper/2610.39558/) (2026)
- [Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation](https://mlsanity.com/paper/2606.31184/) (2026)
- [Debiased Prior-Data Fitted Networks for Amortized Bayesian Semi-Parametric Inference](https://mlsanity.com/paper/2610.28314/) (2026)
- [Amortized Nonlinear Variable Selection with Prior-Data Fitted Networks](https://mlsanity.com/paper/2611.04848/) (2026)
- [Does Predictive Performance Translate to Causal Performance? Evaluating tabular foundation models as nuisance learners for causal effect estimation](https://mlsanity.com/paper/2611.11381/) (2026)
- [MediPFN: Amortized In-Context Nuisance Learning and Inference for Causal Mediation Analysis](https://mlsanity.com/paper/2611.13219/) (2026)

## Abstract (arXiv)

Semiparametric models provide a broad framework for statistical inference, yet efficient estimation typically relies on influence function correction tailored to each estimand and on nuisance estimation repeated for every sample. We show that a single pretrained Transformer can deliver efficient estimation and valid inference for a family of estimands in one forward pass, without deriving efficient influence functions or estimating nuisance functions. Pretrained on simulated data with the true parameter as the only label, the Transformer learns the posterior mean and covariance of the queried estimand and hence returns an estimate and a Wald-type confidence region. Theoretically, we prove that, for locally flat pretraining priors of slowly growing complexity, the posterior mean is efficient for every queried estimand. The Transformer inherits this efficiency with asymptotically exact coverage, in probability over evaluation populations and queries, even under distribution shift. We also reveal that the guarantee places much higher demands on pretraining when the data-generating distribution is fixed, as in classical frequentist inference. Experiments on causal inference, partial linear regression, and survival analysis show that the pretrained model generally achieves the lowest estimation error among competing methods, with nearly nominal coverage, at a computational cost of only about 0.02 seconds per dataset.
