Why is cross-entropy loss sensitive to mislabelled training examples?

Quick Overview

Asks why softmax cross-entropy reacts so strongly to wrong labels in the training data and what to do about it. Tests reasoning about unbounded losses, logit gradients late in training, memorization in large networks, and noise-tolerant options such as label smoothing, robust losses, early stopping and label cleaning.

Why is cross-entropy loss sensitive to mislabelled training examples?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

Why is cross-entropy loss sensitive to mislabelled training examples? Assume a classifier trained with softmax cross-entropy on a dataset where a small fraction of the labels are wrong. ```hint Compare two examples Work out the loss and the gradient with respect to the logits for two cases: a clean example the model already fits well, and an example the model classifies confidently and correctly but whose label says otherwise. ``` ```hint Think about the long run Consider what a network with far more parameters than training examples can do with a fixed set of wrong labels if training keeps going. ``` ### What a Strong Answer Covers - Why the loss is unbounded and what that means for an example whose label contradicts a confident prediction - How the logit gradient of noisy examples compares with that of clean, fitted examples late in training - Memorization in overparameterized networks and its effect on generalization - How bounded or reweighted losses behave on the same noisy examples - Practical mitigations and what each one costs ### Follow-up Questions - How does Generalized Cross-Entropy trade noise robustness against training speed? - Why does early stopping help with label noise, and how would you choose the stopping point when the validation labels are noisy too? - How does co-teaching decide which examples to train on, and what assumption does it depend on? - How would you estimate how many labels in a training set are wrong?

Overview: Asks why softmax cross-entropy reacts so strongly to wrong labels in the training data and what to do about it. Tests reasoning about unbounded losses, logit gradients late in training, memorization in large networks, and noise-tolerant options such as label smoothing, robust losses, early stopping and label cleaning.

General logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

Why is cross-entropy loss sensitive to mislabelled training examples?

Assume a classifier trained with softmax cross-entropy on a dataset where a small fraction of the labels are wrong.

What a Strong Answer Covers Guidance

  • Why the loss is unbounded and what that means for an example whose label contradicts a confident prediction
  • How the logit gradient of noisy examples compares with that of clean, fitted examples late in training
  • Memorization in overparameterized networks and its effect on generalization
  • How bounded or reweighted losses behave on the same noisy examples
  • Practical mitigations and what each one costs

Follow-up Questions Guidance

  • How does Generalized Cross-Entropy trade noise robustness against training speed?
  • Why does early stopping help with label noise, and how would you choose the stopping point when the validation labels are noisy too?
  • How does co-teaching decide which examples to train on, and what assumption does it depend on?
  • How would you estimate how many labels in a training set are wrong?