ML & Deep Learning Foundations·Question 48 of 55Advanced

Your model hits 0.87 AUC offline, you launch it, and the business metric doesn't move. Debug it.

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

I split this into seven hypotheses and attack them in cost order, because most of them are cheaper to check than "retrain the model."

Full worked answer with diagram

I split this into seven hypotheses and attack them in cost order, because most of them are cheaper to check than "retrain the model."

  1. The experiment is broken. Check sample ratio mismatch and exposure logging first. If the split is off or you are logging exposures for treatment only, every number is fiction.
  2. Training-serving skew. Compare the online prediction distribution against offline. Skew shows up instantly as a shifted histogram. Then replay logged feature vectors through the training pipeline and diff. Nonzero diff rate equals bug.
  3. The offline metric is the wrong metric. AUC measures ranking across the whole population, but you only act on the top 1%. It says nothing about calibration, and nothing about the threshold you actually deployed. Precision at the operating point may be terrible while AUC looks great.
  4. The decision layer eats the model. Capacity constraints, a business rule overriding predictions, a threshold nobody retuned. The model can be right and never get to act.
  5. The label is not the objective. You predicted "will churn" and the business wants "will be retained by our intervention." Ranking by P(event) targets people who would do it anyway. That is a causal problem, and no amount of AUC fixes it. The answer is a randomized holdout and uplift modelling, not a better classifier.
  6. The action is weak. Excellent prediction, but the intervention it triggers does not change behaviour.
  7. Power. The test may simply be too small to see the true effect, which could be real but modest.

Sequencing: experiment health, then skew, then decision layer, then the causal question, then power. Concretely, if online AUC on delayed labels is also 0.87 and the metric is still flat, the model is fine and the problem is causality or the action. That is the branch most candidates never reach.

The senior signal here is being willing to land on "ML is not the lever for this problem" and say it out loud, with evidence, rather than shipping v2 of a model that was never the bottleneck.

Worth sketching. Ordering the branches by cost is the signal here: you rule out plumbing before you touch the model, and the last box is where most candidates never arrive.

flowchart TD
    A["0.87 offline,<br/>business metric flat"] --> B{"Sample ratio and exposure<br/>logging clean?"}
    B -->|"no"| C["The experiment is broken,<br/>every number is fiction"]
    B -->|"yes"| D{"Online score distribution<br/>matches offline?"}
    D -->|"no"| E["Training-serving skew:<br/>replay logged vectors and diff"]
    D -->|"yes"| F{"Does the decision layer<br/>act on the score?"}
    F -->|"no"| G["Stale threshold, capacity cap,<br/>or a business rule overriding it"]
    F -->|"yes"| H["Causal: you ranked risk,<br/>the business needs persuadability"]

What a good answer covers

  • I split this into seven hypotheses and attack them in cost order, because most of them are cheaper to…
  • The experiment is broken
  • Training-serving skew
  • The offline metric is the wrong metric
  • The decision layer eats the model

Key terms: The experiment is broken · Training-serving skew · The action is weak · Power

Interviewer follow-ups to expect

  1. You find online AUC matches offline and the intervention is randomized. What is left, and how do you quantify it?

  2. How would you have caught the "predicting churn instead of persuadability" mistake before launch?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep