Why train on a surrogate loss instead of directly optimizing accuracy or F1?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why classifiers are trained on surrogate losses such as cross-entropy or hinge loss instead of accuracy or F1 directly. Tests understanding of gradients of piecewise-constant metrics, non-decomposable metrics in mini-batch training, classification calibration, and threshold tuning.