Efficient Randomized Experiments Using Foundation Models
Piersilvio De Bartolomeis, Javier Abad, Guanbo Wang, Konstantin Donhauser, Raymond M. Duch, Fanny Yang, Issa J. Dahabreh
TL;DR
This work tackles the high cost and imprecision of randomized experiments by introducing Hybrid Augmented Inverse Probability Weighting (H-Aipw), which safely integrates multiple foundation-model predictions with experimental data to estimate the average treatment effect. The method forms a convex ensemble of AIPW estimators, weighting them to minimize asymptotic variance while preserving valid inference even when external predictions are biased, and it remains consistent and asymptotically normal with variance no larger than the standard AIPW. The authors provide a step-by-step MLOps-ready recipe for implementing H-Aipw with large language models, and they demonstrate substantial precision gains across eight social-science experiments, equivalent to saving up to about 20% in sample size in some settings. They also show that increasing LLM scale and inference-time compute improves prediction accuracy, further reducing estimator variance, and discuss practical considerations such as model selection, covariance estimation, and cross-fitting. Overall, H-Aipw offers a principled, scalable pathway to leverage foundation-model predictions for efficient, valid causal inference in randomized trials, with potential implications for medicine and other data-constrained domains.
Abstract
Randomized experiments are the preferred approach for evaluating the effects of interventions, but they are costly and often yield estimates with substantial uncertainty. On the other hand, in silico experiments leveraging foundation models offer a cost-effective alternative that can potentially attain higher statistical precision. However, the benefits of in silico experiments come with a significant risk: statistical inferences are not valid if the models fail to accurately predict experimental responses to interventions. In this paper, we propose a novel approach that integrates the predictions from multiple foundation models with experimental data while preserving valid statistical inference. Our estimator is consistent and asymptotically normal, with asymptotic variance no larger than the standard estimator based on experimental data alone. Importantly, these statistical properties hold even when model predictions are arbitrarily biased. Empirical results across several randomized experiments show that our estimator offers substantial precision gains, equivalent to a reduction of up to 20% in the sample size needed to match the same precision as the standard estimator based on experimental data alone.
