What does IPS cost in variance?
Each click is weighted , so one click at a rarely seen position swings the estimate. For a single impression at a position with propensity :
is the variance, how much one impression's weighted click spreads around . At that's 0.21 at the top, 2.91 at and 29.91 at . So data from a position seen 10% of the time needs about 14 times as many impressions to pin down as data from the top.
Clipping caps the weight. Divide by instead of , where (tau) is the smallest propensity you allow:
| Propensity p | 1.0 | 0.5 | 0.2 | 0.1 | 0.01 |
|---|---|---|---|---|---|
| weight 1 / p | 1 | 2 | 5 | 10 | 100 |
| clipped at τ = 0.1 | 1 | 2 | 5 | 10 | 10: capped |
Joachims, Swaminathan and Schnabel clip small propensities to a threshold to trade bias for variance. Clipped clicks are undercounted, so the estimate is biased low. At every weight is 1, and you're back to raw click-through rate.
Whether it pays depends on how much data you have. Here's one item with a true rate of 0.3, shown evenly at ranks 1 to 10, with :
| Clip at | Mean estimate | Error (RMSE), 50 impressions | Error (RMSE), 1,000 impressions |
|---|---|---|---|
| none | 0.300 | 0.177 | 0.039 |
| 0.2 | 0.247 | 0.142 | 0.061 |
| 0.3 | 0.200 | 0.142 | 0.103 |
| 0.5 | 0.146 | 0.169 | 0.155 |
| 1, raw CTR | 0.088 | 0.216 | 0.212 |
With 50 impressions, clipping at 0.2 cuts the error by a fifth. With 1,000, the bias outweighs the variance it saves, and plain IPS wins. The paper found the same: clipping improves performance on small datasets. Pick on held-out data, and report it with the estimate.
Errors in the propensities themselves aren't symmetric either. The same paper found that overestimating small propensities is tolerable, while underestimating them can hurt, because an underestimate inflates the weights. Clipping is a deliberate overestimate.
In the editor, write variance(r, p): the variance of one weighted click, from the formula above. Then write clipped_weight(p, tau): the weight after clipping at tau.