A model scores 0.98 accuracy or ROC-AUC offline but falls apart once deployed. What could cause this?

Quick Overview

Diagnose why a model with 0.98 accuracy or ROC-AUC on its offline split performs badly after deployment. Tests whether a candidate can trace a gap between offline and online performance to its cause, question a suspiciously high score, and lay out the checks that confirm each explanation.

A model scores 0.98 accuracy or ROC-AUC offline but falls apart once deployed. What could cause this?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

A model achieves 0.98 accuracy or ROC-AUC on its offline evaluation split but falls apart once deployed. What could cause this? ```hint Follow the data Treat 0.98 as a clue in itself. Then compare, step by step, how a row reaches the offline evaluation and how a live request reaches the deployed model. ``` ### Clarifying Questions to Ask - What does "falls apart" mean here: which metric dropped, how is it measured online, and how long after deployment? - How was the evaluation split made (random, by time, by user), and how far apart in time are the training data and deployment? - What is the class balance, and at what threshold does the deployed model act? - Are labels in production delayed or only observed for some predictions, for example only for transactions the model let through? ### What a Strong Answer Covers - Ways the offline score can be inflated. - Ways production can differ from the evaluation data. - Why the offline metric can look excellent while the deployed decision is poor. - How online measurement itself can mislead. - A concrete order of diagnostic checks. ### Follow-up Questions - How would you build an evaluation split for a fraud model where fraudsters adapt over time? - How would you detect training-serving skew before a model reaches full traffic? - Which monitoring would you add so the next failure is caught within days instead of weeks? - Once you find a leaky feature, how do you check that no other feature carries the same leak?

Overview: Diagnose why a model with 0.98 accuracy or ROC-AUC on its offline split performs badly after deployment. Tests whether a candidate can trace a gap between offline and online performance to its cause, question a suspiciously high score, and lay out the checks that confirm each explanation.

General logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

A model achieves 0.98 accuracy or ROC-AUC on its offline evaluation split but falls apart once deployed. What could cause this?

Clarifying Questions to Ask Guidance

  • What does "falls apart" mean here: which metric dropped, how is it measured online, and how long after deployment?
  • How was the evaluation split made (random, by time, by user), and how far apart in time are the training data and deployment?
  • What is the class balance, and at what threshold does the deployed model act?
  • Are labels in production delayed or only observed for some predictions, for example only for transactions the model let through?

What a Strong Answer Covers Guidance

  • Ways the offline score can be inflated.
  • Ways production can differ from the evaluation data.
  • Why the offline metric can look excellent while the deployed decision is poor.
  • How online measurement itself can mislead.
  • A concrete order of diagnostic checks.

Follow-up Questions Guidance

  • How would you build an evaluation split for a fraud model where fraudsters adapt over time?
  • How would you detect training-serving skew before a model reaches full traffic?
  • Which monitoring would you add so the next failure is caught within days instead of weeks?
  • Once you find a leaky feature, how do you check that no other feature carries the same leak?