A model shows a big offline improvement but the A/B test is flat. What might be happening?
Answer
Model answer, written in a candidate's voice
In short
- Offline gain may reflect leakage or a non-representative evaluation, not real lift
- Offline metric may be misaligned with the business outcome
- Live traffic may differ from the offline distribution
- The A/B test may be underpowered or badly designed
- Added serving latency may offset gains; effects may be delayed, masked by novelty, or diluted by user mix
- Feedback loops can cancel gains; debug by segmenting, checking guardrails, and re-testing
In full
I would not conclude the model is bad; I would treat the gap as a signal to debug. The first thing I check is whether the offline improvement is real: leakage, a contaminated split, or an evaluation set that does not match serving conditions can make a model look much better than it is. Next, I check whether the offline metric actually predicts the business metric, because a gain in accuracy or ranking quality may not move conversion, retention, revenue, or user trust. Then I look at distribution shift between offline data and live traffic, including segments, seasonality, and new users, and at whether the test was underpowered, mis-randomised, or measuring the wrong noisy outcome. I also consider latency and novelty effects: a heavier model can add serving latency that offsets its quality gain, and novelty or learning effects can mean the benefit appears later or is masked by short-term behaviour. Feedback loops matter too, where the model changes user behaviour or downstream data in a way that cancels the gain. My debugging plan is to segment results, verify randomisation and guardrails, compare offline and online metrics by cohort, and re-run with a better-powered test and a metric tied to the business outcome.
What a strong answer covers
- Leakage or contamination
- Offline metric misaligned with the business metric
- Distribution shift
- Underpowered or badly designed test
- Latency or novelty effects
- Feedback loops and a debugging plan
Common mistakes
- Assuming the test is wrong
- Retraining immediately