In off-policy evaluation with context , action , reward , logging policy and target policy , the inverse propensity scoring (IPS) estimator is and the doubly robust (DR) estimator is , where . How do you prove that IPS is unbiased, and why is DR unbiased whenever either the propensity model or the reward model is exact?
ML systems and evaluation, Causal inference
Level L5 Expert. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can prove unbiasedness of importance-weighted counterfactual estimators and establish the double-robustness property.
Key idea
IPS reweights samples from to match in expectation; DR adds a control-variate reward model whose expectation cancels out if , while the importance-weighted residual cancels out if .
Steps
- Write the true policy value: , where and is the context distribution.
- Prove IPS unbiasedness under positivity ( whenever ): condition on and sum over : ; taking expectation over gives .
- For DR, let be the -th summand and take its conditional expectation given with : .
- Case 1 (propensity model is exact, , even if is wrong): under positivity, , so the terms cancel, leaving ; averaging over gives .
- Case 2 (reward model is exact, , even if is misspecified, provided whenever ): , so the second sum vanishes and the first sum gives ; averaging over again gives .
- Note the practical benefit: even when is known, subtracting acts as a control variate that shrinks variance compared to raw IPS.
Common mistakes
- Forgetting the positivity (common support) assumption whenever ; if on an action takes, neither IPS nor DR can fix the missing support without relying solely on extrapolation.
- Confusing "unbiased if either model is exact" with "low variance if both are terrible"; if is near zero and is wrong, DR variance still blows up unless weights are clipped.
How long your answer should be
About one page with the conditional expectations for IPS and both DR cases; 8–10 minutes.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: For a binary classifier evaluated on a demographic group with base rate , how do you derive Chouldechova’s identity relating false positive rate (), false negative rate (), positive predictive value () and , and why does it prove that an imperfect classifier cannot satisfy both predictive parity and equalised odds when two groups have unequal base rates?
Next in ML systems and evaluation: none