Fisher-Schultz Lecture: Generic Machine Learning Inference on Heterogenous Treatment Effects in Randomized Experiments, with an Application to Immunization in India

Victor Chernozhukov, Mert Demirer, Esther Duflo, Iván Fernández‐Val · DOI

TL;DR

This paper introduces a generic framework for performing valid statistical inference on Heterogeneous Treatment Effects (HTE) in randomized experiments using any machine learning (ML) method. By combining repeated data splitting with "quantile aggregation," the authors provide a robust way to identify who benefits most from a treatment without the risks of overfitting or "p-hacking."

What Problem Does This Paper Address?

Randomized Controlled Trials (RCTs) are the gold standard for finding the Average Treatment Effect (ATE)—the overall impact of a program. However, policy makers and researchers often want to go deeper: Does this program work better for women than men? Does it only work in high-income villages?

This is the study of HTE. The challenge is that in modern datasets with hundreds of baseline variables, there are nearly infinite ways to slice the data. If a researcher tests enough subgroups, they will eventually find a "significant" result by pure chance (overfitting). While ML is great at finding patterns in high-dimensional data, standard ML tools don't naturally provide valid p-values or confidence intervals for causal effects. Most existing HTE methods are tied to specific algorithms (like Causal Forests). This paper aims for an agnostic and generic approach that works with any ML tool—from Lasso to Neural Networks.

Methods

The authors propose a two-stage strategy based on Sample Splitting:

  1. Stage 1 (Training): Split the data. Use the "auxiliary" half to train an ML model to predict the Conditional Average Treatment Effect (CATE)—the predicted impact for an individual based on their characteristics.
  2. Stage 2 (Inference): Use the "main" half of the data to estimate key features of the HTE based on the ML proxy from Stage 1. These features include:
  3. Best Linear Predictor (BLP): Does the ML proxy actually correlate with the true effects?
  4. Sorted Group Average Treatment Effects (GATES): Divide the population into quintiles based on their predicted benefit and calculate the average effect for each group.
  5. Classification Analysis (CLAN): What are the average characteristics (age, income, etc.) of the "most affected" vs. "least affected" groups?

To ensure the results aren't just a "lucky" split of the data, they repeat this process many times and use Quantile Aggregation (taking the median of p-values and confidence intervals) to produce a final, stable result.

Furthermore, they develop new Causal Learning objective functions. Instead of training ML to just predict outcomes ($Y$), they show how to train ML to directly target the treatment effect signal, which significantly improves performance.

Datasets

The authors apply their method to a massive RCT in Haryana, India, involving 295,038 children across 2,360 villages. The study evaluated various "nudges" to increase immunization rates, such as:

  • Small mobile phone credit incentives.
  • SMS reminders.
  • "Immunization Ambassadors" (local influencers).

Key Insights and Ideas

  • Targeting "Features" instead of the Function: Estimating the full, precise HTE function is often impossible in high dimensions. By focusing on "coarse" features (like quintile averages), the authors achieve valid inference where others fail.
  • The Power of Medians: Using the median result across many data splits (quantile aggregation) is shown to be more robust and lower-risk than relying on a single split, effectively "denoising" the randomness of the split itself.
  • Causal vs. Predictive ML: Standard ML is "predictive"—it wants to minimize error in $Y$. The authors show that "causal" ML, which minimizes error in the treatment effect itself, is provably better for HTE analysis.
  • Agnosticism is a Feature: Because the method is generic, researchers can use the "best" ML tool for their specific data (e.g., Elastic Net for small samples, Deep Learning for massive ones) without changing the underlying inferential logic.

Key Results

In the India immunization study, the framework revealed dramatic heterogeneity that the ATE masked:

  • The "Winners": In the top 20% of villages (most affected), the "full package" of nudges increased immunization by 13.23 extra children per month—a 6x increase over the baseline.
  • The "Backfire" Effect: Surprisingly, in the bottom 20% of villages, the treatment effect was negative and significant. In these contexts, the nudges actually reduced immunization, possibly due to mistrust or social friction.
  • Efficiency: Causal learners (specifically Elastic Net and Neural Networks) outperformed standard Random Forests in this setting, reducing estimation risk by up to 44%.

Limitations and Future Work

  • Sample Size Requirements: Sample splitting is "data hungry." The authors acknowledge that detecting HTE requires significantly larger samples than just detecting an ATE, as the data is effectively halved.
  • Coarseness: The method provides quintile averages (GATES) rather than individual-level treatment effects. While this ensures statistical validity, it might be too "blunt" for some highly personalized applications.
  • Computational Cost: Repeatedly training ML models across hundreds of splits can be computationally intensive for very large datasets or complex models like deep neural networks.

Summary updated

Abstract

We propose strategies to estimate and make inference on key features of heterogeneous effects in randomized experiments. These key features include best linear predictors of the effects using machine learning proxies, average effects sorted by impact groups, and average characteristics of most and least impacted units. The approach is valid in high dimensional settings, where the effects are proxied (but not necessarily consistently estimated) by predictive and causal machine learning methods. We post-process these proxies into estimates of the key features. Our approach is generic, it can be used in conjunction with penalized methods, neural networks, random forests, boosted trees, and ensemble methods, both predictive and causal. Estimation and inference are based on repeated data splitting to avoid overfitting and achieve validity. We use quantile aggregation of the results across many potential splits, in particular taking medians of p-values and medians and other quantiles of confidence intervals. We show that quantile aggregation lowers estimation risks over a single split procedure, and establish its principal inferential properties. Finally, our analysis reveals ways to build provably better machine learning proxies through causal learning: we can use the objective functions that we develop to construct the best linear predictors of the effects, to obtain better machine learning proxies in the initial step. We illustrate the use of both inferential tools and causal learners with a randomized field experiment that evaluates a combination of nudges to stimulate demand for immunization in India.
BibTeX
@inproceedings{chernozhukov2025fisher,
  author = {Victor Chernozhukov and Mert Demirer and Esther Duflo and Iván Fernández‐Val},
  title = {{Fisher-Schultz Lecture: Generic Machine Learning Inference on Heterogenous Treatment Effects in Randomized Experiments, with an Application to Immunization in India}},
  booktitle = {Econometrica},
  year = {2025},
  doi = {10.3982/ecta19303},
}
Figure