Ensemble Method for Estimating Individualized Treatment Effects

Kevin Wu Han, Han Wu · DOI

Abstract

In many medical and business applications, researchers are interested in estimating individualized treatment effects using data from a randomized experiment. For example in medical applications, doctors learn the treatment effects from clinical trials and in technology companies, researchers learn them from A/B testing experiments. Although dozens of machine learning models have been proposed for this task, it is challenging to determine which model will be best for the problem at hand because ground-truth treatment effects are unobservable. In contrast to several recent papers proposing methods to select one of these competing models, we propose an algorithm for aggregating the estimates from a diverse library of models. We compare ensembling to model selection on 43 benchmark datasets, and find that ensembling wins almost every time. Theoretically, we prove that our ensemble model is (asymptotically) at least as accurate as the best model under consideration, even if the number of candidate models is allowed to grow with the sample size.

Introduction

In fields ranging from precision medicine to targeted digital marketing, the primary objective is often to estimate the Conditional Average Treatment Effect (CATE). This metric quantifies how much a specific intervention—such as a new drug or a promotional discount—will affect a particular individual based on their unique features ($x$).

However, CATE estimation faces a unique hurdle known as the "Fundamental Problem of Causal Inference": for any given individual, we only observe one outcome. If a patient receives a treatment, we see the result of that treatment, but we can never observe what would have happened had they not received it. Because this "ground truth" is inherently missing, traditional model selection techniques like cross-validation based on Mean Squared Error (MSE) are inapplicable. Researchers are often left guessing which model—be it a Causal Forest, a Neural Network, or a Linear Model—is most appropriate for their specific dataset.

The Causal Stacking Framework

To address this challenge, this paper introduces Causal Stacking, an ensemble algorithm designed to aggregate predictions from a diverse library of candidate models rather than attempting to select a single "winner." The framework operates through a structured three-step process:

  1. Data Splitting: The available experimental data is divided into a training set and an averaging set.
  2. Candidate Training: A variety of CATE models (the "library") are trained on the initial training set.
  3. Weight Optimization: On the averaging set, the algorithm determines an optimal weight vector to combine these models.

The innovation lies in the loss function used during weight optimization. Since the true treatment effect $\tau_i$ is unobservable, the authors employ a plug-in estimator ($\hat{\tau}_i$) derived from the Augmented Inverse Probability Weighted (AIPW) framework. This estimator uses "nuisance" models—predictions of outcomes under both treatment and control conditions—to create an unbiased proxy for the treatment effect. The final output is a weighted linear combination of the candidate models that minimizes the distance to this proxy.

Theoretical and Practical Insights

The research yields several critical insights into the behavior of causal ensembles:

Ensembling vs. Oracle Selection

Perhaps the most significant finding is that Causal Stacking frequently outperforms an "Oracle" selection method. Even if a researcher had secret access to the true treatment effects and could pick the single best model from the library, the ensemble would still likely perform better. This is because different models often capture different nuances of the feature space; stacking allows the ensemble to "blend" these localized strengths into a more robust global prediction.

The "No Harm" Principle

A common concern in ensembling is that including "weak" models might degrade the performance of a "superstar" model (e.g., a highly tuned XGBoost T-learner). The authors demonstrate that Causal Stacking is remarkably resilient to this. The optimization process simply assigns the superior model a high weight while using the auxiliary models to mitigate remaining errors.

Theoretical Safety

The paper provides a theoretical guarantee: the ensemble is asymptotically at least as accurate as the best model in the library. This holds true even as the number of candidate models increases alongside the sample size, providing a "safety net" for researchers using large, diverse model libraries.

Experimental Evaluation

The method was rigorously tested using 43 high-heterogeneity datasets from the 2016 Atlantic Causal Inference Competition (ACIC). These benchmarks use real-world covariates paired with synthetic outcomes, providing a known ground truth for evaluation.

  • Superior Win Rates: In balanced randomized experiments (treatment probability $p=0.5$), Causal Stacking outperformed oracle model selection on 95% of the datasets.
  • Significant Error Reduction: On specific datasets, the ensemble reduced the MSE by up to 48% compared to the best individual model.
  • Robustness: While performance is strongest in balanced designs, the method remained superior across various treatment assignment probabilities ($p=0.1$ and $p=0.3$).

Limitations and Future Directions

While Causal Stacking represents a significant step forward, it is currently optimized for randomized experiments where treatment assignment probabilities are known. Applying this to observational data would require estimating propensity scores, which introduces potential bias if the scores are misspecified. Additionally, the practical efficacy of the method relies on the quality of the "nuisance" models used to form the AIPW plug-in estimator.

Future research may explore non-linear ensembling techniques, such as causal variants of boosting or bagging, to further refine the aggregation of heterogeneous treatment effect estimates.

Conclusion

Causal Stacking offers a robust solution to the model selection dilemma in causal inference. By shifting the focus from picking a single "best" model to intelligently aggregating a library of models, researchers can achieve higher accuracy and greater theoretical reliability in estimating individualized treatment effects.

Summary updated

BibTeX
@misc{han2022ensemble,
  author = {Kevin Wu Han and Han Wu},
  title = {{Ensemble Method for Estimating Individualized Treatment Effects}},
  year = {2022},
  eprint = {2202.12445},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.12445},
}
Figure