[Paper Review] Cross-Fitting and Averaging for Machine Learning Estimation of Heterogeneous Treatment Effects
This paper evaluates sample splitting, cross-fitting, and averaging strategies for machine learning estimation of heterogeneous treatment effects using four meta-learners (T-learner, DR-learner, R-learner, X-learner). It finds that combining 5-fold cross-fitting with median averaging over 20+ iterations yields the lowest mean squared error, especially for complex data structures, and recommends excluding the lasso to reduce variance and improve robustness.
We investigate the finite sample performance of sample splitting, cross-fitting and averaging for the estimation of the conditional average treatment effect. Recently proposed methods, so-called meta-learners, make use of machine learning to estimate different nuisance functions and hence allow for fewer restrictions on the underlying structure of the data. To limit a potential overfitting bias that may result when using machine learning methods, cross-fitting estimators have been proposed. This includes the splitting of the data in different folds to reduce bias and averaging over folds to restore efficiency. To the best of our knowledge, it is not yet clear how exactly the data should be split and averaged. We employ a Monte Carlo study with different data generation processes and consider twelve different estimators that vary in sample-splitting, cross-fitting and averaging procedures. We investigate the performance of each estimator independently on four different meta-learners: the doubly-robust-learner, R-learner, T-learner and X-learner. We find that the performance of all meta-learners heavily depends on the procedure of splitting and averaging. The best performance in terms of mean squared error (MSE) among the sample split estimators can be achieved when applying cross-fitting plus taking the median over multiple different sample-splitting iterations. Some meta-learners exhibit a high variance when the lasso is included in the ML methods. Excluding the lasso decreases the variance and leads to robust and at least competitive results.
Motivation & Objective
- To evaluate the finite-sample performance of various sample-splitting, cross-fitting, and averaging procedures in estimating heterogeneous treatment effects.
- To assess how different data generation processes (RCTs vs. observational studies) affect estimator performance across meta-learners.
- To determine optimal splitting and averaging strategies that minimize bias and mean squared error (MSE) in high-dimensional or non-linear settings.
- To investigate the impact of using the lasso in machine learning components on estimator variance and robustness.
- To provide practical guidance on implementing cross-fitting and averaging in real-world causal inference with machine learning.
Proposed method
- The study conducts a comprehensive Monte Carlo simulation with 12 distinct estimators varying in splitting strategy (2-fold, 3-fold, 5-fold), cross-fitting, and averaging method (mean, median, no averaging).
- Each estimator is applied independently to four meta-learners: T-learner, DR-learner, R-learner, and X-learner, using the same data generation processes (DGPs).
- For cross-fitting, the data is split into folds, with nuisance functions trained on all folds except the one used for CATE estimation, and results are averaged across folds.
- Multiple iterations of sample splitting (up to 50) are performed, and the median of the resulting CATE estimates is taken to reduce variance and bias from a single split.
- The performance is evaluated on an independent test set using mean squared error (MSE), mean absolute bias, and standard deviation as metrics.
- The lasso is excluded in some variants to assess its impact on estimator stability and variance.
Experimental results
Research questions
- RQ1Which sample-splitting and averaging strategy minimizes mean squared error (MSE) across different data generation processes?
- RQ2How does the inclusion or exclusion of the lasso in machine learning components affect estimator variance and robustness?
- RQ3Does median averaging over multiple iterations improve estimator performance compared to single-split or mean-averaging approaches?
- RQ4How do the performance differences between meta-learners (T-learner, DR-learner, R-learner, X-learner) vary under different data structures (RCT vs. observational)?
- RQ5What is the optimal number of iterations for median averaging to stabilize performance in finite samples?
Key findings
- The 5-fold cross-fitting estimator with median averaging over 20+ iterations achieves the lowest mean squared error across all data generation processes and meta-learners.
- For the R-learner, median averaging reduced MSE from 3.46 (5-fold cross-fit) to 0.49 in setting E, demonstrating substantial performance gains.
- Excluding the lasso from machine learning components significantly reduces variance and leads to more robust and competitive results across all settings.
- In observational studies, the DR-learner with median averaging outperforms other estimators, while the T-learner shows higher MSE (up to 2× higher) than the DR-learner in some settings.
- The X-learner consistently performs best with the naive estimator (no splitting), and median averaging further reduces MSE, especially in complex, high-dependency settings.
- The combined method (cross-fitting + median averaging) can exhibit higher variance than cross-fitting alone when outliers or heavy-tailed pseudo-outcomes are present, particularly with small samples or lasso-based models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.