Why is class imbalance a fundamental problem for standard loss functions?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why heavy class imbalance causes trouble for losses such as cross-entropy in binary classification. Tests understanding of how the majority class shapes the loss and gradient, how thresholds and metrics mislead, and the trade-offs of weighting, resampling and focal loss.