- Introduced by
- Mark van der Laan & Daniel Rubin
- Year
- 2006
- Type
- Semiparametric estimator
- Family
- Causal ML
What does it do?
Targeted Maximum Likelihood Estimation (TMLE) is a semiparametric causal inference method introduced by Mark van der Laan and Daniel Rubin in 2006.
It starts from an initial outcome model, which may be fitted with flexible machine learning, and then applies a targeting step that updates that model to reduce bias for a pre-specified causal estimand, such as the average treatment effect. It is used in observational studies where treatment is not randomized and many confounders must be adjusted for.
The intuition behind the method
Think of TMLE as a two-stage procedure. First, a flexible learner predicts the outcome given treatment and covariates. That fit is chosen for prediction, not for the causal quantity of interest. The targeting step then adjusts this initial fit using a clever covariate built from the propensity score, so that the update solves the estimating equation for the target parameter. The adjustment is a one-dimensional fluctuation, and it is what removes first-order bias from the plug-in estimate. Double robustness, by contrast, is a property of the estimator's overall structure: the estimate remains consistent if either the outcome model or the propensity score model is correctly specified. The targeting step is the mechanism that aims the estimator at the causal parameter, and the same efficient influence curve underlies the variance estimates used for confidence intervals.
History
TMLE was introduced by Mark van der Laan and Daniel Rubin in their 2006 paper "Targeted maximum likelihood learning" in The International Journal of Biostatistics. The paper's abstract describes a one-step targeted maximum likelihood update: a parametric submodel through an initial density estimator, with a score equal to the efficient influence curve, and a maximum likelihood estimate of the submodel parameter. Iterating the update solves the efficient influence curve estimating equation, which yields a locally efficient estimator under regularity conditions. The abstract also relates the approach to double robust locally efficient estimators and presents worked examples.
When to use it
Use TMLE when the goal is a causal contrast, such as an average treatment effect, a dose-response curve or a policy-relevant contrast, estimated from observational data with many confounders. It suits analyses in which flexible nuisance models are wanted but valid confidence intervals are still required. TMLE assumes positivity (every unit has a nonzero probability of each treatment level), no unmeasured confounding, and consistency: no interference between units and a single, well-defined version of the treatment (SUTVA). Do not rely on it when positivity is clearly violated, since near-violations inflate the weights in the clever covariate and the variance of the estimate. Augmented inverse probability weighting (AIPW) is an alternative with the same double-robustness property. Double/debiased machine learning (DML) is also an alternative, but it relies on orthogonal score functions and product-rate conditions on its nuisance estimators rather than on the either-or consistency property.
Limitations and considerations
- Positivity violations, where the propensity score is near zero or one in parts of the covariate space, can inflate variance and destabilize the estimator substantially
- Double robustness requires that at least one of the two nuisance models is correctly specified or well approximated; if both are misspecified, the estimate can be biased
- The targeting step assumes a particular parametric fluctuation form (logistic submodel), which may not be optimal for all outcome types without adaptation
- Implementation is more involved than simple regression adjustment; the analyst must manage nuisance model selection, sample splitting and influence-function inference
- The logistic targeting step requires an outcome bounded in [0,1]; continuous outcomes must be rescaled or fitted with a different fluctuation form before the formula applies
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Doubly robust: the estimate is consistent if either the outcome model or the propensity score model is correctly specified, which limits the damage from misspecifying one of the two nuisance models
- Nuisance parameters can be estimated with flexible learners, including Super Learner ensembles, so confounding adjustment does not need a fully parametric outcome or treatment model
- Influence-function standard errors give asymptotically valid confidence intervals under regularity conditions, including positivity and consistent nuisance estimation at suitable rates; a plug-in machine learning estimate does not supply these by default, and the intervals can be unreliable under near-positivity violations or in small samples
- The targeting step aims the fit at the specific causal estimand, so the bias reduction applies to the quantity of interest rather than to overall prediction error
Applications
- Estimating the average causal effect of a drug or intervention in observational epidemiology studies with high-dimensional confounders
- Health technology assessment and comparative effectiveness research, where valid inference is required alongside flexible covariate adjustment
- Dose-response and marginal structural model estimation in pharmacoepidemiology and environmental health research
- Policy evaluation in economics and public health when treatment assignment is observational and the number of covariates is large relative to sample size
- Survival analysis and time-to-event outcomes under censoring, using extensions of TMLE designed for right-censored longitudinal data
How it works
How it works
An initial estimate of the conditional outcome mean, Q(A,W) = E[Y|A,W], is obtained with a regression or machine learning method, including Super Learner ensembles. This fit is optimized for predicting the outcome, not for the causal parameter, so it is the starting point for the targeting step.
Formula
\hat{Q}^0(A,W) = \mathbb{E}[Y \mid A, W]A separate model estimates the propensity score g(A|W) = P(A=1|W), the probability of treatment given covariates. It is used to construct the clever covariate H(A,W), which drives the targeting fluctuation. Values of g close to 0 or 1 make H large and unstable.
Formula
g(A \mid W) = P(A=1 \mid W)
A one-dimensional logistic fluctuation is fitted to the initial outcome estimate, with the clever covariate H(A,W) as the only predictor. Because the formula uses logit and expit, it applies directly only to outcomes in [0,1]: binary outcomes, or outcomes rescaled to [0,1]. Continuous outcomes need a different fluctuation form or a rescaling step before the formula is applied. The fluctuation parameter epsilon is estimated by maximum likelihood, and the update shifts the initial estimate so that, after iteration if needed, the estimating equation for the efficient influence curve of the target parameter is solved.
Formula
\hat{Q}^1(A,W) = \text{expit}\!\left(\text{logit}\,\hat{Q}^0(A,W) + \hat{\varepsilon}\,H(A,W)\right), \quad H(A,W) = \frac{A}{g(A\mid W)} - \frac{1-A}{1-g(A\mid W)}The updated outcome model is evaluated at treatment levels 1 and 0 for each observation, and the individual contrasts are averaged to give the TMLE estimate of the average treatment effect (ATE). Because Q is an outcome-scale mean, the ATE is on that scale; for a binary outcome it is a risk difference. Standard errors and confidence intervals are derived from the efficient influence function. Under regularity conditions they are asymptotically valid when positivity holds and the nuisance estimators are consistent at suitable rates; they can be unreliable under near-positivity violations or in small samples.
Formula
\hat{\psi}_{\text{TMLE}} = \frac{1}{n}\sum_{i=1}^{n}\left[\hat{Q}^1(1,W_i) - \hat{Q}^1(0,W_i)\right]Common pitfalls
- Estimating nuisance parameters with flexible machine learning on the same data used for the targeting step can introduce overfitting bias; cross-fitting (sample splitting), a technique commonly paired with TMLE, is one way to address this
- Reporting TMLE output without checking positivity diagnostics; near-violations should prompt trimming, stabilized weights, or a different estimand
- Using a single propensity score model or outcome model without considering ensemble methods such as Super Learner removes the adaptive flexibility that TMLE is designed to exploit
- Reading double robustness as robustness to unmeasured confounding; TMLE assumes no unmeasured confounders and cannot correct for hidden bias in treatment assignment
Frequently asked questions
How does TMLE differ from inverse probability weighting (IPW)?
IPW weights each observation by the inverse of its propensity score and does not use an outcome model. Extreme weights make it unstable when positivity is weak. TMLE fits an outcome model and then uses the same propensity score information, through the clever covariate, to correct that model for the target parameter. Because the propensity score enters through H(A,W), near-violations of positivity still inflate the variance of TMLE, so the same positivity diagnostics apply to both methods and neither should be used without checking them.
What is the role of Super Learner in TMLE?
Super Learner is a cross-validated ensemble that combines many candidate learners to minimize prediction error for a given loss function. In TMLE, it is used to estimate both the outcome model and the propensity score. It reduces the risk that both nuisance models are poorly approximated, but it gives no guarantee that either one is correctly specified.
Does TMLE require large samples to work well?
TMLE's theoretical guarantees are asymptotic, so performance in small samples depends on the complexity of the nuisance models used. In small to moderate samples, using parsimonious learners or parametric models for nuisance estimation is advisable. Cross-fitting and regularization help, but analysts should report honest uncertainty and consider sensitivity analyses when sample sizes are limited.
Related methods
Sources
van der Laan, M. J., & Rubin, D. (2006). Targeted maximum likelihood learning. The International Journal of Biostatistics, 2(1).
Open DOI reference