Why might an offline model win fail to translate into an online experiment win, and how do you bridge that gap?
Role: Data Scientist
Category: Analytics & Experimentation
Difficulty: hard
Interview Round: Other
A new model beats the production model on your offline evaluation, but the online A/B test shows no improvement, or a loss. Why might an offline model evaluation win fail to translate into an online experiment win, and how do you bridge that gap?
```hint Compare the two measurements
List what differs between the offline test and the live test: the data, the metric, and the system the model runs inside.
```
```hint Whose data is it?
Ask which model generated the logs you evaluate on, and what that implies for the items the old model never showed.
```
```hint Check the experiment too
Before blaming the model, consider whether the online test itself could hide or distort a real gain.
```
### What a Strong Answer Covers
- The difference between a proxy metric computed on fixed historical logs and a business metric measured on live behavior.
- Distribution shift, feedback loops and selection bias in data logged under the old model.
- System effects such as latency, feature skew, position bias, and interactions with other serving stages.
- Experiment-side reasons a real gain can go undetected, such as low power, short duration or interference.
- Concrete ways to close the gap, from validated offline metrics and off-policy evaluation to staged online tests with guardrails.
### Follow-up Questions
- How would you check, using past launches, whether your offline metric predicts online results?
- How does inverse propensity weighting work for off-policy evaluation, and when does its variance become a problem?
- The new model wins online for two weeks and then the gain fades. What could explain it?
- When would you use interleaving instead of a standard A/B test for a ranking change?
Overview: Asks why a model that wins on offline evaluation can fail to improve results in an online A/B test, and how to close that gap. Tests understanding of proxy metrics, logged-data bias, serving effects, experiment power and off-policy evaluation.