Search papers, labs, and topics across Lattice.
This paper explores the use of transformers as Bayesian in-context experimenters for efficiently estimating average treatment effects (ATE) through a novel approach that combines sequential variance estimation with adaptive allocation. By training transformer policies to mimic a Bayesian posterior Neyman teacher, the authors demonstrate that their method converges to the oracle design, allowing for valid inference while enhancing statistical efficiency. Experimental results show that this approach not only accurately imitates the teacher's decisions but also improves ATE precision compared to traditional methods.
Transformers can effectively mimic Bayesian updating processes to achieve oracle-level efficiency in average treatment effect estimation, outperforming conventional methods.
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.