- Introduced by
- Chernozhukov, Chetverikov, Demirer, Duflo, Hansen, Newey & Robins
- Year
- 2018
- Type
- Semiparametric causal estimator with ML nuisance
- Family
- Quasi-experimental / causal inference
What does it do?
Machine learning-augmented doubly robust (ML-DR) estimation combines the classical doubly robust (AIPW) identification strategy with flexible machine learning models for the nuisance functions: the outcome regression and the propensity score.
The estimator is consistent if either nuisance model is consistently estimated. With Neyman-orthogonal scores and cross-fitting, it can attain root-n asymptotic normality even when those models are fitted with regularised or nonparametric learners, provided the product of the nuisance estimation errors is small enough (o(n^{-1/2})).
The intuition behind the method
Classical doubly robust estimation is already forgiving: if either the propensity-score model or the outcome model is correct, the treatment-effect estimate is consistent. ML-DR extends this by letting flexible learners, such as LASSO, random forests, boosted trees and neural networks, estimate those two nuisance functions from high-dimensional covariates. The key point from double/debiased machine learning is that plugging ML predictions naively into the estimating equation introduces regularisation bias and overfitting bias that distort inference. Cross-fitting, which generates nuisance predictions for each observation from models fitted on other observations, removes these biases and restores root-n convergence for the causal parameter even though the nuisance models converge more slowly.
History
Doubly robust estimation builds on the augmented inverse-probability-weighted (AIPW) estimator, whose original development is not documented in this page's sources, so no dates are given for it here. The integration with machine learning is presented in Chernozhukov et al. (2018), published in volume 21 of The Econometrics Journal; the article was first published online in 2017. That paper introduced double or debiased machine learning, which combines Neyman-orthogonal moments with cross-fitting. Together these allow flexible ML nuisance estimation while supporting valid inference for causal parameters.
When to use it
Use ML-DR when you need an average treatment effect from observational data with many covariates that would strain a classical parametric model, and when the form of the propensity score or outcome model is unknown, making flexible learners preferable to logistic regression or OLS. Larger samples make cross-fitting more stable. Very small samples leave the held-out folds too small for reliable nuisance predictions, so check fold-level stability rather than relying on a fixed sample-size cutoff. For panel or clustered data, form folds at the unit or cluster level so that no unit's observations are split across folds; standard cross-fitting does not by itself handle temporal dependence. Avoid the method when treatment is not strongly ignorable given observed covariates, or when many propensity scores are near zero or one (extreme overlap violations).
Limitations and considerations
- Requires strong ignorability: all confounders must be observed. Unmeasured confounding cannot be handled by any observed-data balancing method.
- Extreme propensity scores (near 0 or 1) lead to extreme AIPW weights and inflated variance; overlap must hold across the covariate distribution.
- Performance depends on the quality of the ML nuisance estimates; if both nuisance models are substantially misspecified, the estimator is not consistent.
- Cross-fitting requires a reasonable sample size to be stable; with very small samples the held-out folds are too small to yield reliable nuisance predictions.
- More complex to implement and interpret than classical doubly robust estimation with parametric nuisance models.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Doubly robust: consistent if either the outcome regression or the propensity score model is consistently estimated, which gives two routes to a correct estimate of the treatment effect.
- Accommodates high-dimensional covariates through regularised or nonparametric ML learners without inflating bias in the causal estimate.
- Cross-fitting removes the regularisation and overfitting bias from the ML nuisance fits, restoring root-n convergence and valid confidence intervals.
- Flexible choice of ML algorithm, such as LASSO, random forests, boosted trees or neural networks, with model selection by cross-validation.
- Neyman-orthogonal moments have reduced sensitivity to nuisance parameters, so first-order nuisance error does not enter the asymptotic distribution of the causal estimate.
Applications
- Estimating the average treatment effect of a programme, such as job training, where assignment depends on many covariates that a classical parametric model cannot accommodate.
- Policy evaluation in health settings where treatment assignment depends on many patient characteristics and a low-dimensional model is not credible.
- Observational studies of technology adoption with large sets of firm-level controls and possible selection on unobservables that are proxied by observed covariates.
- Programme evaluation with household survey data containing many socioeconomic and geographic covariates.
- Observational studies in marketing or e-commerce with large covariate sets, where the aim is an average effect of an exposure such as a promotion.
How it works
How it works
Nuisance functions are estimated with ML. The outcome regression is fitted separately for each treatment arm, giving mu1(X) = E[Y|X, D=1] for treated units and mu0(X) = E[Y|X, D=0] for control units. The propensity score is the conditional probability of treatment given covariates, e(X) = P(D=1|X). Any supervised learner can be used, including LASSO, random forests, boosted trees or neural networks, with the choice guided by cross-validation.
Formula
\hat{m}(X) = \hat{E}[Y|X],\quad \hat{e}(X) = \hat{P}(D=1|X)To avoid overfitting bias, the sample is split into K folds. For each fold, the nuisance functions are fitted on the other K-1 folds and predictions are generated for the held-out fold. This ensures that the nuisance estimates used for an observation do not depend on that observation, which removes the overfitting component of the bias.
The augmented inverse-probability-weighted (AIPW) score combines the outcome regression and the propensity score into a doubly robust moment. The estimator is the sample average of these scores. It is consistent for the treatment effect if either nuisance model is correctly estimated, and its variance can be estimated from the sample variance of the scores.
Formula
\hat{\tau}_{DR} = \frac{1}{n}\sum_{i=1}^{n}\left[\hat{\mu}_1(X_i) - \hat{\mu}_0(X_i) + \frac{D_i(Y_i - \hat{\mu}_1(X_i))}{\hat{e}(X_i)} - \frac{(1-D_i)(Y_i - \hat{\mu}_0(X_i))}{1-\hat{e}(X_i)}\right]Because ML nuisance estimates converge more slowly than root-n, direct plug-in biases the estimator. The Neyman-orthogonal structure of the AIPW score, combined with cross-fitting, makes first-order bias from nuisance error cancel out. The resulting estimator tolerates errors in both nuisance functions, provided the product of their estimation errors is small (o(n^{-1/2})).
After cross-fitting, the debiased estimator is asymptotically normal at the root-n rate when the nuisance estimation errors satisfy the product-rate condition described under debiasing, even though the ML nuisance models alone converge more slowly. Standard errors are computed from the variance of the influence-function scores across observations, and confidence intervals and hypothesis tests use standard normal critical values.
Formula
\sqrt{n}(\hat{\tau}_{DR} - \tau) \xrightarrow{d} \mathcal{N}(0, V)Common pitfalls
- Skipping cross-fitting and plugging ML predictions directly into the AIPW formula — this reintroduces regularisation bias and invalidates inference even with large samples.
- Ignoring the overlap assumption: using the estimator when some units have propensity scores very close to 0 or 1, causing extreme weights that dominate the estimate.
- Treating the method as a black box without checking nuisance model fit; poor ML performance in either nuisance model degrades doubly robust protection.
- Applying ML-DR to very small samples where cross-fitting folds are too small to produce reliable out-of-sample nuisance predictions.
- Confusing flexibility of nuisance estimation with the ability to handle unmeasured confounders — the method still requires that all important confounders are in the covariate set.
Frequently asked questions
Why is cross-fitting necessary when I am already using doubly robust estimation?
ML estimators reduce bias by fitting complex functional forms but introduce regularisation bias that contaminates the causal estimate when nuisance predictions are made on the same data used for the AIPW score. Cross-fitting generates out-of-sample nuisance predictions, removing this contamination and restoring root-n convergence.
What ML algorithms can I use for the nuisance functions?
The theory admits a broad range of modern ML methods, including random forests, LASSO, ridge regression, deep neural networks, boosted trees, and hybrids or ensembles of these. For deep feedforward networks, Farrell, Liang and Misra (2021) give nonasymptotic bounds that support second-step inference after neural-network estimation. The choice should be driven by cross-validated predictive performance for each nuisance function separately.
Does ML-DR work when there is unmeasured confounding?
No. Like all observational causal methods based on selection on observables, ML-DR requires that all confounders are measured and included in the covariate set. Unmeasured confounding cannot be addressed by improving the nuisance models.
How many folds should I use in cross-fitting?
The number of folds is a practical choice. More folds give each nuisance model more training data per fit but leave smaller held-out folds on which to predict, which can make nuisance predictions less stable when the sample is small. Check that the nuisance fits are stable across folds rather than relying on a fixed rule.
How does ML-DR differ from standard doubly robust estimation?
Standard doubly robust estimation uses parametric models (logistic regression for the propensity score, OLS for the outcome regression). ML-DR replaces these with flexible, data-adaptive ML learners and adds cross-fitting to remove bias introduced by regularisation, enabling valid inference in high-dimensional settings where parametric models are misspecified.
Related methods
Sources
Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen, C., Newey, W., & Robins, J. (2018). Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21(1), C1-C68.
Open DOI referenceFarrell, M. H., Liang, T., & Misra, S. (2021). Deep Neural Networks for Estimation and Inference. Econometrica, 89(1), 181-213.
Open DOI reference