Double Machine Learning
Double Machine Learning
Prediction enters as a nuisance task
Consider the partially linear model
with and . The target is the scalar ; and may be complex nuisance functions.
Residualise both sides:
This resembles FWL, but flexible learners create overfitting bias if a record helps train the function used to residualise itself.
Cross-fitting gives observations separate jobs
For two folds:
- fit both nuisance functions on fold A;
- predict and residualise fold B;
- reverse A and B;
- combine out-of-fold residuals;
- estimate and design-aligned uncertainty.
All tuning must occur inside the training data for each fold. Preprocessing on the full sample leaks information.
Cross-fit nonlinear nuisance functions
The polynomial basis is only a transparent learner for teaching. In practice, choose learners through out-of-fold performance and substantive structure, then inspect whether the causal result is stable across reasonable learner libraries and splits.
Orthogonality buys local robustness, not immunity
The score
is constructed so small first-order nuisance errors have limited effect on . Chernozhukov et al. (2018) formalise this orthogonality and cross-fitting framework.
It still needs:
- an identifying model such as conditional exchangeability;
- overlap and residual treatment variation;
- suitable nuisance convergence and moments;
- clustering/splitting that respects grouped or time-dependent data;
- a low-dimensional target defined before model search.
Practical audit
Report the learner library, tuning process, fold construction, random seed, overlap, out-of-fold nuisance performance, repeated-split stability and final score/inference formula. The DoubleML documentation is useful implementation guidance, not a replacement for this record.
Quick check
A powerful learner predicts scholarship receipt almost perfectly. Is this ideal for DML?