Context. A deployed policy picks one action per context and sees only that action's reward, and the questions are how a different policy would have done and which policy to deploy. The direct method (DM) averages a reward model's prediction for the new policy's action, and is biased wherever the model is wrong, typically where the new policy differs from the old. Inverse propensity scoring (IPS) reweights each logged reward by the inverse probability that the old policy took that action; it is unbiased with correct propensities, and its variance grows with their inverses. Dudík et al. bring doubly robust (DR) estimation, from survey sampling and missing data (Robins et al., 1994), to policy evaluation, with a finite-sample analysis that assumes neither model is correct; Swaminathan and Joachims turn a uniform empirical Bernstein bound into a learning rule. DR uses the reward model as a control variate and importance-weights only its residual, so the bias is the product of the two models' errors and the variance inflation from small propensities multiplies the squared residual instead of the squared reward. When choosing among many policies, penalize each by the standard deviation of its own importance-weighted losses, which keeps the learned policy where the logs can measure it. Both divide by the propensities, so they should be logged, and both need some exploration kept.
Setting. There are actions. The world draws with , the logging policy draws , where is the history so far (so logging may be adaptive and randomized), and only is revealed. The target is a deterministic policy with value . Write , and let a reward model and a propensity model be fit on data independent of the evaluation sample . The three estimators areThe reward-model error is measured additively and the propensity error multiplicatively, and , both at .
The bias of DR is the product of the two errors. Add and subtract the true mean reward in one summand. With ,The noise has mean zero given , and , so the last piece has mean : the model error is added outside the correction and removed inside it, up to the propensity error. Hence the bias is (Theorem 1), against for DM and for IPS, which are special cases of the same formula (IPS is , DM drops the correction). DR is unbiased if either model is right and nearly unbiased if either is nearly right, though no estimator dominates in general. The formula also covers missing overlap: where the logger never takes , the correction never fires, whatever is, and DR is the direct method there, carrying the full model error.
In the variance, the inverse-propensity factor multiplies only the squared residual. Square the same decomposition. The cross terms with vanish, since it has conditional mean zero, and the one new ingredient is the second moment of the correction factor, with ,Completing the square with the term gives, for a stationary logger, Theorem 2:and IPS has the same expression with replaced by (my check: a simulation with three contexts and two actions matches both theorems to Monte Carlo error). In both, the inverse-propensity factor multiplies a squared error, for DR and for IPS, so any reward model closer to the truth than zero helps. The reward-noise term is the same for both, , with the conditional variance of the reward, and no reward model can remove it. DM has neither term, so its error is typically almost all bias. Fitting both models on data separate from keeps and fixed functions.
In evaluation, even a badly biased reward model reduces variance as a control variate. On nine UCI classification sets turned into bandits with uniform logging and known propensities, IPS and DR are unbiased, as Theorem 1 predicts, while the direct method's bias of 0.06 to 0.28 in classification error accounts for all of its rmse, and DR's rmse is below IPS's on most sets (letter 0.049 to 0.030). Under covariate shift on web-portal data, DR lowers the rmse by 13.6 percent on average, and the gain is in the variance.
For learning, DR fills in the full loss vector and any cost-sensitive learner runs on it. Impute every action's loss by its DR estimate,and hand the completed vectors to a full-information learner. IPS imputation is the same with , which leaves one inflated entry and zeros per example, so every unlogged action appears to have zero loss. The gains are much larger than in evaluation: with direct loss minimization the test error on optdigits falls from 0.644 to 0.090. This part is empirical only; the theory covers evaluating a fixed policy.
Minimizing IPS over a class picks policies whose estimates are low by chance, and a variance-sensitive bound corrects for this. Swaminathan and Joachims log , with the loss (unrelated to the propensity error above) of the output the stochastic logger chose and , and estimate a stochastic policy's risk by clipped IPS, with , clipped because the weights are unbounded and one small propensity can move the estimate arbitrarily. Unclipped, the estimate is unbiased for each , but its variance differs by orders of magnitude across the class, large for policies that put mass where rarely went, so its minimizer favors policies whose estimate is low by chance. With losses in (Step 6 says why) clipping is conservative, since . To bound the risk uniformly, map each policy to , a function with values in , apply Maurer and Pontil's uniform empirical Bernstein inequality over that class, and multiply back by (Maurer and Pontil need ). The sample variance of is , so the variance term comes out with no in it, and finishes the proof: with probability at least , for all ,with the sample variance of the and , with the class of the . The first term is the policy's own standard deviation, which tells well-measured policies from noisy ones where Hoeffding would charge every policy ; appears as a factor only in the order- range term, which without clipping is unbounded unless the propensities are bounded below. The CRM principle minimizes , an upper confidence bound; is clipped IPS.
The loss must be translated to , because the objective has to be an upper bound. With nonnegative losses, a policy that puts zero mass on every logged output has and zero variance, the best possible value, though nothing is known about its risk. A risk bound that holds without full support corrects this. For losses in ,since outputs never produces contribute at most times their mass. Rescaling then charges mass on unlogged outputs the worst loss, and the data-avoiding policy scores 0, the worst value. For the same reason must stay small enough that itself has a negative objective, or the penalty lets the data-avoiding policy win; the experiments set to the ratio of the 90th to the 10th percentile propensity. Their follow-up (NeurIPS 2015) shows that the translation is not enough. The learner can still lower by inflating the total weight , whose expectation is 1, putting mass on logged outputs whatever their loss. They call this propensity overfitting and remove it with the self-normalized estimator , whose minimizer does not change when a constant is added to the loss.
POEM makes the penalty trainable by SGD, and beats IPS minimization on every set. For softmax linear policies the penalty is not a sum over examples; writing and taking tangent-line bounds at the current , and , gives a surrogate linear in and , so each epoch runs AdaGrad on per-example gradients and then re-linearizes, a majorize-minimize scheme. On four multilabel sets turned into bandit feedback by a CRF logger, POEM beats IPS minimization on every set, significantly, though two of the four gains are small (Scene 1.193 to 1.168 in Hamming loss) and TMC's is large (2.808 to 2.197). Sharpening the logger toward its argmax, , shrinks POEM's margin until, for , it only recovers the logger's own argmax prediction. The benefit of the variance penalty is shown only empirically, on these four sets.
Consequences and limits. Whenever a reward model is available, DR is the natural default off-policy estimator, for the cost of one regression, and a learning objective must account for how well each candidate is measured. Neither creates overlap. A deterministic approve/decline fraud policy logs outcomes only for approvals, so for transactions the old model declined and a new one would approve, DR returns the reward model's guess, with an error the logs cannot reveal, and for a deterministic logger there are examples on which any learner stays suboptimal as (Langford et al., 2008). A small randomized exploration rate (approve a random fraction of would-be declines and log that probability) puts there. DR is then unbiased on that region with variance scaling like , so a better fraud model makes a smaller exploration rate affordable through the part, while the outcome noise sets a floor. For CRM the weights on that traffic are about , which sets the clipping level, and the variance penalty decides how far the new policy may move into that region; without exploration, CRM will not move toward it. Either way the propensities should be logged, since every estimator here divides by them; CRM cannot run without them. DR's variance theorem and CRM's bound assume a stationary logger, and CRM's covering number is never evaluated for the softmax class.
Terms
- Direct method (DM)
- Average the reward model's prediction for the target action; low variance, bias .
- IPS
- Reweight logged rewards by ; unbiased with true propensities, variance grows like .
- Doubly robust (DR)
- Model prediction plus an importance-weighted correction on the residual .
- DR bias
- : zero if either model is right, small if either is nearly right.
- Importance-weighting penalty
- ; for IPS the same with in place of .
- Reward-noise term
- ; the same for DR and IPS, and no reward model reduces it.
- Clipped IPS risk ; conservative when .
- CRM principle
- Minimize : the upper confidence bound, as in structural risk minimization.
- Loss scaling
- Translate losses to so the objective upper-bounds risk and unlogged mass is charged the worst loss.
- Propensity overfitting
- Lowering the IPS estimate by inflating ; fixed by self-normalizing (follow-up paper).
Quiz
- An old approve/decline policy is deterministic. For transactions it declined and a new policy would approve, what does the DR estimator use?The logged action never equals the target's there, so the indicator is zero and only remains. In Theorem 1 this is , and DR inherits the direct method's bias on exactly the population with no labels.
- Which part of DR's variance can a better reward model not reduce?Even a perfect model leaves , whose variance is weighted by . That noise is in the outcome itself, so the inverse-propensity cost of label noise remains. The context term does involve the model, and its floor is present even with full information.
- Each policy's IPS estimate is unbiased. Why can minimizing it over a rich class still pick a bad policy?Policies that move mass to outputs rarely chose have very noisy estimates, and the most negative of many noisy estimates is usually an underestimate. Penalizing the standard deviation corrects for this selection.
- The logger is sharpened toward its argmax, . What does the theory predict, and what happens in the experiment?The guarantees hold in the randomness of , and a nearly deterministic logger leaves almost every alternative output unexplored. With almost nothing to learn from, POEM falls back to the logger's own prediction and does not drop below it.
Sources
- Miroslav Dudik, John Langford, and Lihong Li. Doubly Robust Policy Evaluation and Learning. ICML, 2011.
- Adith Swaminathan and Thorsten Joachims. Counterfactual Risk Minimization: Learning from Logged Bandit Feedback. ICML, 2015.
- James M. Robins, Andrea Rotnitzky, and Lue Ping Zhao. Estimation of Regression Coefficients When Some Regressors are not Always Observed. Journal of the American Statistical Association, 1994.
- Adith Swaminathan and Thorsten Joachims. The Self-Normalized Estimator for Counterfactual Learning. NeurIPS, 2015.