Why is standard multiclass cross-entropy loss suboptimal when predicting ordinal labels?
Last updated
Cross-entropy treats classes as unordered and only scores
-log p(y)on the true class. Predicting 1 star for a true 5 is penalized the same as predicting 4, misaligning training with metrics like MAE or weighted kappa.Independent logits per class waste statistical strength (ordering must be learned from data) and can produce incoherent bimodal predictions, hurting most with scarce data.
Better options: cumulative models predicting
P(y > k)(ordinal logistic, CORAL/CORN), regression on the rank, or distance-aware losses like earth mover's distance.