Training loss improves but the business metric does not move: how would you diagnose the mismatch?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Your training loss keeps improving but the business metric does not move. How would you diagnose a mismatch between the loss and the actual objective?
```hint Follow the chain
List every step between the number the optimizer minimizes and the number the business reports. Ask at which step an improvement could stop carrying through.
```
```hint Check the evidence first
Before blaming the objective, ask whether the loss gain is real on data the model has not seen, and whether the business metric could detect a small gain at all.
```
### Clarifying Questions to Ask
- What does the model do: rank items, classify cases, forecast a quantity? And what decision is made from its output?
- Is the improving number the training loss, or also validation loss on later data?
- How is the business metric measured (an A/B test, a before-and-after comparison), and over what period?
- Is there a history of past model versions with both offline scores and online results?
### What a Strong Answer Covers
- Confirming that the loss gains are real on validation and time-based holdout data before looking anywhere else.
- Checking whether the offline metric has predicted online results in the past, with examples of common gaps between losses and business goals.
- Examining the label definition and how training examples are weighted relative to business value.
- Inspecting the decision layer and the serving system: thresholds, business rules, re-rankers, training-serving skew and feedback loops.
- Questioning the measurement itself, then proposing concrete changes to the label, the loss or the offline metric.
### Follow-up Questions
- How would you build an offline metric that predicts the business outcome, and how would you check that it does?
- The model is a ranker trained with log loss on clicks, and revenue is flat. What would you change first?
- How would you weight training examples by business value without letting a few very large examples dominate?
- If the A/B test is too small to detect a change in the business metric, what would you use to decide whether to ship?
Overview: A model's training loss keeps falling while the business metric stays flat, and you must find out why. Tests how you trace a gain from the loss through offline metrics, decision rules and online behavior, and how you judge proxy labels, serving systems and experiment power.