Explain Why Your Recommender's Offline Gains Did Not Hold Online

Last updated: November 29, 2026

Quick Overview

Your new product recommendation model improved offline recall@10 by 8% on historical logs, but an online A/B test showed no change in purchases. What are the likely reasons, and how would you investigate?

Amazon
Machine Learning
Data Scientist
Amazon
November 29, 2026
Data Scientist
Onsite
Machine Learning
Medium

0

0

0 solved


Your new product recommendation model improved offline recall@10 by 8% on historical logs, but an online A/B test showed no change in purchases. What are the likely reasons, and how would you investigate?

Offline and online metric mismatch is a frequent discussion in Amazon applied science interviews, where launches require A/B evidence. The interviewer checks whether you reason systematically about feedback loops, metric mismatch, leakage, and experiment validity.

What the Interviewer Expects
  • Check the experiment itself first (power, sample ratio, exposure)
  • Explain feedback loop and logging-policy bias
  • Identify metric mismatch between recall and purchases
  • Check for leakage and train-serve skew
  • Propose concrete diagnostics and next experiments
Key Topics to Cover
Offline-online gap
Feedback loops
Train-serve skew
Experiment power
Metric alignment
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you design an offline metric that better predicts online wins?
  • What if the online test showed gains in clicks but not purchases?
  • How do you check for train-serve skew?
  • How long should the test run?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify
  • What placement? A carousel on the product page competes with many other widgets, so even a better model has small total effect.
  • What is the test's minimum detectable effect? If the widget drives 1...
Approach

Work through causes in order of cheapness to check:

  1. Experiment validity: sample ratio mismatch, exposure logging, and power.
  2. Metric dilution: measure purchases attributed to the widget, ...

Submit Your Answer
Markdown supported