TL;DR
Many estimates are found by solving an estimating equation, a sum over the data set equal to zero. When that equation also depends on a nuisance parameter, which is a quantity the model needs but that is not the target, a poor estimate of the nuisance can bias the target. A Neyman orthogonal score is built so that the equation does not change to first order when the nuisance estimate moves, which keeps the target estimate accurate even when the nuisance model is only approximately right.
Builds on: Estimating Equation, Nuisance Parameter, Conditional Expectation · Leads to: Cross-Fitting, Double Machine Learning
Where it's used
Estimating an effect when many controls are needed. An economist wants the effect of a training program on wages, and has hundreds of background variables such as age, schooling and region to adjust for. Flexible machine learning models predict wages and program take-up from those controls well, but plugging their predictions straight into the effect formula gives a biased answer. An orthogonal score uses the same predictions and removes that bias from the effect estimate.
Causal parameters in general. The double machine learning paper lists the parameters this affects: individual regression coefficients, average treatment effects, average lifts, and demand or supply elasticities. In each case a low-dimensional target sits beside a high-dimensional nuisance, which is the setting the orthogonal score is built for.
Classical likelihood testing. Neyman's own construction, from 1959, produces an orthogonal score in a maximum likelihood setting, and it gives the test statistic. That statistic is still used for testing in high-dimensional sparse models.
How it works
We use the partially linear model. Each person has an outcome , a treatment and controls . The model says and , where is the target, and and are nuisance functions. The terms and are the unexplained noise in each equation. Here and . Take and , , and look at two people who both have .
Person a has and . Person b has and . For person a, . For person b, .
flowchart LR A[Data: Y, D, X] --> N[Estimate nuisance m and g] N --> R[Form residuals D minus m and Y minus g] R --> S[Orthogonal score: average of residual times residual] S --> T[Solve for theta]
- Set up the true values. Check: for person a, , which is for a. For person b it is . Both residuals are the true noise.
- Make the nuisance estimate wrong. Suppose the estimate of at is , which is 0.4 too high. The conventional score for each person is . For a it is , and for b it is . Check: the average is , while with the true it was . The conventional average has moved by .
- Use the orthogonal score. Each person's score is . With the true and : for a it is , and for b it is . The average is .
- Compare with the truth. With the true , the orthogonal score gives . Check: the average is still , so the error in did not move it.
- Why it works. The error in enters the orthogonal score multiplied by , the residual . Among people with , the residuals are and , which average to zero. The error cancels in the average, while in the conventional score it multiplies , whose average is 2, and does not cancel.
The math
Write for one observation, for the target, and for the nuisance functions. An estimating equation is , as in the estimating equation lesson.
A score is Neyman orthogonal at the true values if its expectation has zero derivative in the nuisance direction at the truth:
Here is the derivative with respect to a small step taken from the true nuisance towards a candidate . The derivative is called the Gateaux derivative, which is the rate of change of an expectation along one direction.
Step 2 in symbols: the conventional score
The conventional score is . Perturb by . Its derivative is
The second term is zero because , but the first term is not zero in general. So a wrong shifts the conventional score at first order. This is the bias in step 2 of the walkthrough.
Step 3 in symbols: the orthogonal score
Use . At the truth, , so the expectation is , because .
Perturb by . The derivative is , since .
Perturb by . The factor becomes , and the derivative is , since .
Both derivatives vanish, so is Neyman orthogonal. This is the calculation behind walkthrough steps 3 and 5.
Step 4 in symbols: solving for the target
Set the sample version of to zero and solve for :
The numerator uses the residual of on the controls, and the denominator uses the residual of on the controls. In the walkthrough, depends on and only through these residuals, and the first-order effect of their errors is removed.
Caution: with machine learning nuisance estimates, the remaining error is a product of the two nuisance errors, and it can still bias the estimate if both are poor. Cross-fitting, in Cross-Fitting, is used to stop the nuisance fits from overfitting the same data they are used on.
Worked examples
Use one person with , , , so .
- The conventional score is . An error in changes it by .
- The orthogonal score is . The same error changes it by .
- With : the conventional score moves by , and the orthogonal score moves by .
- The orthogonal score for this person is three times less sensitive, because its slope is the residual instead of .
Interpretation: the single person is not an average, so the slopes alone do not show the cancellation. That comes next.
Use the two people from the walkthrough, with , and instead of the true .
- Person a: , and . The product is .
- Person b: , and . The product is .
- The average of the orthogonal score is .
- The true-nuisance average was , so the shift is .
- The conventional score under the same shifts by , as before, and the orthogonal score shifts by .
Interpretation: when both nuisances are wrong, the orthogonal score still moves, but only by a second-order amount, which is smaller than the first-order shift of the conventional score. Check: is about a tenth of .
A wage study has a binary program indicator , which is 1 for a quarter of workers, so , and because is 0 or 1. The true effect is . A random forest fit of is off by 0.12 for the workers in the program and is right for the rest.
- The plug-in estimate of is . Its error from the nuisance is .
- Compute the numerator: , because only program workers carry the error.
- Divide by : the shift is .
- So the plug-in estimate moves from 2 to about 1.88, from the nuisance error alone.
- The orthogonal score does not carry this first-order term, so the same nuisance error moves its estimate only at second order.
- Try it: suppose take-up is 0.4 and the error is 0.05 for program workers. What is the shift in the plug-in estimate? Answer: , and , so the shift is .
Interpretation: a modest nuisance error produces a visible bias in the plug-in estimate, and it does not shrink with more workers. The orthogonal score is built so that this first-order term cannot appear.
Common mistakes and tradeoffs
It is tempting to think a good nuisance model is enough, so the plug-in estimator is safe. In fact the conventional score inherits the nuisance error at first order, and with regularised machine learning fits that error does not average out. The paper shows that the naive plug-in estimator generally fails to converge at the rate.
It is tempting to read "orthogonal" as the geometric idea that two vectors are at right angles. In fact here it is a derivative condition: the expectation of the score must not change to first order when the nuisance changes. The two ideas are related through the residual, but the definition is the derivative.
It is tempting to think Neyman orthogonality removes all bias. In fact it removes the first-order effect of nuisance errors, and what remains is their product. This is small only when both nuisance estimates are reasonably accurate, and cross-fitting is needed to prevent overfitting from making them look better than they are.
Orthogonal scores suit a low-dimensional target with a high-dimensional nuisance, where machine learning is needed for the nuisance. They are unnecessary when the nuisance is known or a simple parametric model is correct, because the plug-in estimator is then fine. Alternatives include maximum likelihood with a parametric nuisance, which is simpler but relies on the model being right.
History
In 1959, Neyman derived an orthogonal score in a maximum likelihood setting, which led to his test statistic. He returned to the idea in 1979. For decades it was used in classical semiparametric statistics, where the nuisance parts were estimated by conventional nonparametric methods.
Machine learning changed the problem: flexible nuisance fits converge more slowly and carry regularisation bias. In 2016, Chernozhukov, Chetverikov, Demirer, Duflo and coauthors showed that an orthogonal score combined with cross-fitting gives a valid estimator of low-dimensional causal parameters, even when the nuisance is estimated by modern machine learning. That paper made the idea standard in applied econometrics.
Recap
- An estimating equation for a target can depend on a nuisance parameter, and errors in that nuisance can bias the target.
- A Neyman orthogonal score has zero derivative with respect to the nuisance at the truth, so its expectation does not move to first order.
- The partially linear model gives a concrete orthogonal score: the product of the outcome residual and the treatment residual.
- The first-order bias from a regularised nuisance can grow with the sample size, and an orthogonal score removes it.
- Read next: Cross-Fitting for how the nuisance fits are kept honest, and Double Machine Learning for the method built from these pieces.
Check yourself
QuestionRecall: what does it mean for a score to be Neyman orthogonal?Show answer
QuestionComputation: for one person with D = 4 and m(X) = 3, what are the slopes with respect to an error in g of the conventional score (Y - theta D - g) D and of the orthogonal score (Y - theta D - g)(D - m)?Show answer
QuestionWhy: why does the orthogonal score use the residual D minus m(X), rather than D itself?Show answer
QuestionApplied: a team plugs in random forest predictions of the outcome and treatment into a simple effect formula. What should it change, and what should it check?Show answer
Sources
- Chernozhukov et al. (2016), "Double/Debiased Machine Learning for Treatment and Causal Parameters": https://arxiv.org/abs/1608.00060
- "Estimating equation" (Wikipedia): https://en.wikipedia.org/wiki/Estimating_equation