A new recommender model improves offline AUC on logged data, but an online A/B test shows no gain. What are the likely reasons, and how can you make offline evaluation more predictive of online results?
ML systems and evaluation, Online experiments
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you understand the gap between a proxy metric on biased logged data and the business outcome measured on live traffic.
Key idea
Logged data was produced by the old policy, so it only contains feedback on items the old system chose to show, in the positions it chose (selection and position bias), and offline AUC is only a proxy for the online goal. Counterfactual estimators such as inverse propensity scoring, , correct for this. Here is the logged reward, is the probability that the old (logging) policy showed item , and is the probability that the new policy would show it.
Steps
- Metric mismatch: AUC measures pairwise ranking of logged clicks, while the business tracks sessions, purchases or revenue. Quality at the top of the list (NDCG@k) matters more than global ranking.
- Selection bias: there is no feedback on items the old model never showed, so a model that would surface new good items gets no offline credit, and the offline metric favours models that imitate the old one.
- Position and presentation bias: clicks depend on rank, so a click at position 1 is weaker evidence of relevance than a click at position 10.
- Other causes: training–serving skew, extra latency, feedback loops, novelty effects, and an A/B test with too little power to detect the effect.
- Fixes: log propensities and use IPS or doubly robust estimators (clip the weights to control variance); send a small slice of traffic to a randomised policy to collect unbiased data; use interleaving for sensitive online comparisons; and check which offline metrics have historically agreed with A/B results.
Common mistakes
- Assuming the A/B test must be wrong. If it is well designed and powered, it is the ground truth.
- Using IPS without logged propensities, or with propensities near zero, which makes the variance explode.
- Treating a small offline gain as real without a confidence interval over resamples or time periods.
How long your answer should be
3–4 minutes: four or five causes, then the fixes.
Last checked on 4 December 2026.
Read this
Previous in ML systems and evaluation: How does FedAvg (federated averaging) train a shared model without centralising raw data, and what privacy risks remain? In one round, three clients with , and examples return scalar weights , and : what is the aggregated weight, and how do secure aggregation, differential privacy and non-IID (non-independent and identically distributed) data affect the protocol?
Next in ML systems and evaluation: How do partial dependence plots (PDP) and LIME explain a black-box model, why do correlated features mislead both via out-of-distribution extrapolation, and how do individual conditional expectation (ICE) plots fix a separate weakness of PDPs?