mlsanityData to 7 Oct 2026

Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation

arXiv 2606.31184 ↗First posted 30 Jun 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Adaptive experiments for average treatment effects (ATE) require randomized allocations balancing valid inference with statistical efficiency. The oracle design is a covariate-dependent Neyman rule governed by unknown arm-conditional outcome variances. We investigate whether this sequential variance-estimation and allocation process can be amortized via in-context learning. We introduce Bayesian in-context experimenters: transformer policies trained to imitate a Bayesian posterior Neyman teacher. The teacher updates nonparametric beliefs over potential outcomes using experimental history to assign posterior Neyman treatment probabilities. This design converges to the oracle rule, supporting efficient ATE inference. Transformers constructively implement this mapping through attention-based sufficient statistics and projected gradient descent, imitating Bayesian updating for Gaussian-series priors. To address unknown outcome smoothness, we combine smoothness-indexed experimenters using a mixture-of-experts transformer. The gate acts as a hierarchical posterior over smoothness classes, concentrating on near-oracle experts. By bounding the complexity of the transformer class, we prove this amortized policy can be learned via empirical risk minimization using supervised pretraining. Experiments confirm accurate teacher imitation, adaptive allocation, and improved ATE precision over baselines.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 32 references that are in the map. First posted on arXiv 30 Jun 2026.

Builds on

15 of 32 references.

References · 15

  1. 2017Spectrally-normalized margin bounds for neural networkscited by 681
  2. 2016Error bounds for approximations with deep ReLU networkscited by 567
  3. 2015An Introduction to Matrix Concentration Inequalitiescited by 391
  4. 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
  5. 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 137
  6. 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
  7. 2023Sequence Length Independent Norm-Based Generalization Bounds for Transformerscited by 28
  8. 2023Semiparametric Efficient Inference in Adaptive Experimentscited by 23
  9. 2020Efficient Adaptive Experimental Design for Average Treatment Effect Estimationcited by 22
  10. 2023Clip-OGD: An Experimental Design for Adaptive Neyman Allocation in Sequential Experimentscited by 16
  11. 2025Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalizationcited by 12
  12. 2022Asymptotic Efficiency Bounds for a Class of Experimental Designscited by 8
3 more
  1. 2014Adaptive Bayesian procedures using random series priorscited by 5
  2. 2024Optimal Adaptive Experimental Design for Estimating Treatment Effectcited by 5
  3. 2025In-Context Algorithm Emulation in Fixed-Weight Transformerscited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Goal-Oriented Sequential Bayesian Experimental Design for Causal Learning
  2. 2026Bayesian Optimality of In-Context Learning with Selective State Spaces
  3. 2025PriorGuide: Test-Time Prior Adaptation for Simulation-Based Inference
  4. 2026Context-Adaptive Inference: A Unified Statistical and Foundation-Model View
  5. 2025How Transformers Learn In-Context Recall Tasks? Optimality, Training Dynamics and Generalization
  6. 2026In-Context Reinforcement Learning From Suboptimal Historical Data
  7. 2025Kalman Bayesian Transformer
  8. 2024All-in-one simulation-based inference