Heterogeneous Treatment Effect Doubly Robust Estimation

Statistics
Introduced by
Kennedy (2023); building on Robins, Rotnitzky & Zhao (1994) and Chernozhukov et al. (2018)
Year
2018-2023
Type
Semiparametric causal inference
Family
Quasi-experimental / causal inference

What does it do?

Doubly robust estimation of heterogeneous treatment effects (HTE) estimates how the causal effect of a binary treatment varies with covariate values, producing a conditional average treatment effect (CATE) function.

It builds a pseudo-outcome from an outcome model and a propensity score model; the conditional mean of this pseudo-outcome equals the CATE if either nuisance model is correctly specified. With cross-fitting, flexible machine learning nuisance estimators can be used, and Kennedy (2023) analyses the error properties of this two-stage construction. A causal reading of tau(x) requires unconfoundedness given the covariates, consistency with no interference, and overlap (0 < e(x) < 1); double robustness protects the estimation step only and does not cure unmeasured confounding or a failure of overlap.

The intuition behind the method

Most causal analyses report a single average treatment effect, but the effect of a drug, policy or programme often differs between people, for example by age or income. This method constructs a corrected pseudo-outcome for each unit from predicted outcomes under treatment and control, plus an inverse-propensity-weighted residual term. Its conditional mean given the covariates is the CATE, so regressing the pseudo-outcome on the covariates yields a map of how the effect changes with individual characteristics. Double robustness refers to the pseudo-outcome: it has the correct conditional mean when either the outcome model or the propensity model is correct. The final regression of the pseudo-outcome on X still needs a learner flexible enough to approximate tau(x); otherwise its misspecification biases the CATE even when a nuisance model is correct. The result describes average effects among units that share a covariate profile, not a prediction for one specific person.

History

The doubly robust idea comes from the semiparametric literature on augmented inverse-probability-weighted estimators. Chernozhukov et al. (2018) set out double/debiased machine learning, which uses Neyman-orthogonal scores and cross-fitting so that flexible learners can estimate nuisance functions while valid inference is retained. Kennedy (2023) studies a two-stage doubly robust CATE estimator, gives a generic error bound and sufficient conditions for oracle efficiency, and conjectures that a local polynomial double-residual regression estimator is minimal in a minimax sense.

When to use it

Choose this method when the research question concerns heterogeneity, that is, for whom a treatment works and how strongly, rather than only whether it works on average. It is written for a binary treatment; continuous treatments require a different estimator. It suits observational data in which unconfoundedness given the observed covariates, consistency with no interference, and overlap are credible, and it needs a sample large enough to estimate both nuisance functions and the CATE surface. No reliable minimum sample size is established here, so power for the planned design should be checked. Do not use it when the sample is small, because the augmentation term can add more variance than bias reduction. It is also a poor choice when the treatment effect is expected to be homogeneous, where a simple regression is adequate, or when many units have propensity scores near 0 or 1, because the inverse-propensity correction then becomes unstable.

Limitations and considerations

  • Large samples are needed: nuisance estimation, cross-fitting and the final CATE regression each use part of the data, so small samples give unstable results.
  • Propensity scores near 0 or 1 make the augmentation term numerically unstable and inflate its variance.
  • The final CATE regression can overfit unless it is regularised or tuned by cross-validation, and it can be biased if the learner cannot approximate tau(x).
  • Causal interpretation depends on unconfoundedness, consistency and overlap; double robustness does not protect against unmeasured confounding.
  • A fitted high-dimensional CATE surface is hard to summarise, and subgroup comparisons drawn from it need correction for multiple testing.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The pseudo-outcome has the correct conditional mean if either the outcome model or the propensity score model is correctly specified, so the estimator tolerates misspecification of one of the two.
  • Flexible machine learning nuisance estimators can be used: Neyman-orthogonal scores reduce sensitivity to regularisation bias, and cross-fitting removes overfitting bias (Chernozhukov et al., 2018).
  • The method targets the full CATE function rather than one average, so it supports examination of how the effect varies across covariate values.
  • The pseudo-outcome is a real-valued target, so the final step can use any standard regression learner.
  • Kennedy (2023) gives sufficient conditions under which the two-stage estimator is oracle efficient, meaning it attains the accuracy it would have if the nuisance functions were known. These conditions are assumptions and are not guaranteed in every application.

Applications

  • Personalised medicine: identifying patient subgroups who benefit most from a drug or intervention.
  • Programme evaluation: determining which types of firms, schools, or households respond most to a policy.
  • Digital experimentation: detecting heterogeneous lift across user segments in A/B tests with observational corrections.
  • Labour economics: estimating how wage or employment effects of minimum wage laws vary by industry or region.
  • Education research: assessing differential effects of tutoring or school programmes across student demographic groups.

How it works

How it works

1

Two nuisance functions are estimated from the data: the outcome regression mu(x,t) = E[Y|X=x,T=t] and the propensity score e(x) = P(T=1|X=x). Cross-fitting (sample splitting) is used so that each unit's nuisance predictions come from data that exclude that unit, which removes overfitting bias. Learners such as random forests or boosted trees can be used here. In double/debiased machine learning (Chernozhukov et al., 2018), Neyman-orthogonal scores reduce sensitivity to regularisation bias in the nuisance estimates, and cross-fitting removes the overfitting bias.

Formula
\hat{\mu}(x,t) = E[Y|X=x,T=t], \quad \hat{e}(x) = P(T=1|X=x)
2

For each observation, the pseudo-outcome adds the predicted treatment-effect contrast from the outcome model to an augmentation term. The augmentation term is the residual between the observed outcome and the outcome-model prediction at the observed treatment, weighted by (T - e)/(e(1-e)). Its conditional mean given the covariates equals the CATE when either the outcome model or the propensity score is correctly specified, and this is the source of the double robustness. The formula is written for a binary treatment T in {0,1}.

Formula
\tilde{Y}_i = \hat{\mu}(X_i,1) - \hat{\mu}(X_i,0) + \frac{T_i - \hat{e}(X_i)}{\hat{e}(X_i)(1-\hat{e}(X_i))}\bigl(Y_i - \hat{\mu}(X_i,T_i)\bigr)
3

The CATE function tau(x) is estimated by regressing the pseudo-outcome on the covariates X. Any regression learner can be used at this stage, such as a linear model, a regression tree or a neural network. The learner must be flexible enough to approximate tau(x), and it should be regularised or tuned by cross-validation, because this is the step at which the CATE surface can overfit.

Formula
\hat{\tau}(x) = E[\tilde{Y} | X = x]
4

Uncertainty for the CATE function or for summaries such as the average treatment effect is commonly assessed by the influence-function (Neyman-orthogonal score) approach, in which the variance of a summary such as the ATE is estimated from the sample variance of the centred pseudo-outcome divided by n, or by a bootstrap that repeats the entire cross-fitted pipeline. Uncertainty from the final CATE learner must be propagated; intervals from a bootstrap that reuses a single nuisance fit are not reliable. Asymptotic theory for debiased machine learning is given by Chernozhukov et al. (2018). The interval procedure actually used should be stated and checked.

Common pitfalls

  • Fitting the nuisance models on the same data used to estimate the CATE, without cross-fitting, leads to overfitting bias and anti-conservative inference.
  • Ignoring positivity: where some covariate strata have near-zero probability of treatment, the doubly robust correction amplifies noise rather than reducing bias.
  • Reporting subgroup effects found by searching the CATE surface without correcting for multiple comparisons, which inflates false-discovery rates.
  • Reading tau(x) as a personal prediction: it is an average effect over units with covariate value x, not a forecast for a specific individual.

Frequently asked questions

What makes this estimator 'doubly robust'?

The pseudo-outcome combines two models: the outcome model and the propensity score. If either model is correctly specified, the conditional mean of the pseudo-outcome equals the true CATE, so only one of the two models needs to be right rather than both. This concerns the pseudo-outcome; the final regression on X must still be flexible enough to approximate tau(x).

Why is cross-fitting necessary?

Cross-fitting (sample splitting) ensures that the nuisance functions are estimated on data not used to compute the pseudo-outcomes for the same units. Without it, flexible machine learning estimators can overfit in ways that bias the estimates and invalidate the asymptotic theory.

How is this different from the standard doubly robust ATE estimator?

The standard doubly robust estimator targets a single average treatment effect (ATE). The HTE version regresses the doubly robust pseudo-outcome on covariates, so it targets a function tau(x) that gives the conditional average effect at each covariate value. The ATE is the average of tau(x) over the covariate distribution.

What sample size is needed?

No fixed minimum is given here. Requirements grow when there are many covariates or when propensity scores are extreme, and very small samples tend to make the augmentation term add noise rather than reduce bias. Simulation under the planned design is a practical way to check adequacy.

What if positivity is violated?

If some units have propensity scores very close to 0 or 1, the correction becomes unstable. One response is to trim those units, but trimming changes the population the estimate refers to, so it must be reported. Running the estimator without addressing this produces large variance in the pseudo-outcomes and unstable CATE estimates.

Related methods

Sources

  1. Kennedy, E. H. (2023). Towards optimal doubly robust estimation of heterogeneous causal effects. Electronic Journal of Statistics, 17(2), 3008-3049.

    Open DOI reference
  2. 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 reference