Can pretrained Transformers deliver semiparametrically efficient inference?
TL;DR - A pretrained Transformer performs efficient semiparametric estimation and valid inference for multiple estimands in one forward pass, avoiding estimand-specific influence functions and repeated nuisance estimation.
- Training on simulated data labeled only with true parameters lets the model learn posterior means and covariances for Wald-type confidence regions.
- Theory establishes asymptotic efficiency and exact coverage under locally flat priors, including distribution shift.
- Experiments span causal inference, partial linear regression, and survival analysis.
- The model generally achieves the lowest estimation error with near-nominal coverage in about 0.02 seconds per dataset.