[Paper Review] Taming the Cross Entropy Loss
This paper proposes the Tamed Cross Entropy (TCE) loss, a robust variant of the standard cross entropy loss that maintains the fast convergence of the original CE loss while significantly improving robustness to label noise. By applying a power normalization to the CE gradient, TCE reduces gradient updates for low-confidence predictions, effectively suppressing noise without altering training hyperparameters. In experiments with ResNet-20 on noisy image datasets, TCE achieved up to 9.80% higher Top-1 accuracy than CE under 80% label noise.
We present the Tamed Cross Entropy (TCE) loss function, a robust derivative of the standard Cross Entropy (CE) loss used in deep learning for classification tasks. However, unlike other robust losses, the TCE loss is designed to exhibit the same training properties than the CE loss in noiseless scenarios. Therefore, the TCE loss requires no modification on the training regime compared to the CE loss and, in consequence, can be applied in all applications where the CE loss is currently used. We evaluate the TCE loss using the ResNet architecture on four image datasets that we artificially contaminated with various levels of label noise. The TCE loss outperforms the CE loss in every tested scenario.
Motivation & Objective
- To address the vulnerability of the standard Cross Entropy (CE) loss to label noise in deep learning classification tasks.
- To develop a loss function that retains the fast convergence and training behavior of CE while improving robustness to noisy or mislabeled data.
- To create a drop-in replacement for CE that requires no modification to training regimes or hyperparameters.
- To evaluate the trade-off between robustness to label noise and convergence speed in real-world scenarios with artificial label corruption.
Proposed method
- The TCE loss is derived by applying a power normalization to the gradient of the standard CE loss, parameterized by α.
- The normalization ensures that the TCE gradient matches the CE gradient when the model is confident (qi → 1), preserving convergence speed.
- When the model is uncertain (qi → 0), the TCE gradient tends to zero, reducing feedback from mislabeled or outlier samples.
- The method is designed to be compatible with existing training pipelines by preserving the same optimization dynamics as CE under clean data.
- The TCE is evaluated using ResNet-20 on MNIST, CIFAR10+, CIFAR100+, and VSHN with artificially corrupted labels.
- The loss is tested across a range of α values (0.5 to 2.0) to assess sensitivity and optimal trade-offs.
Experimental results
Research questions
- RQ1Can a modified cross entropy loss maintain the fast convergence of standard CE while being more robust to label noise?
- RQ2How does the TCE loss perform compared to CE, MSE, and MAE under increasing levels of random label noise?
- RQ3What is the optimal value of the regularization parameter α in the TCE loss for balancing robustness and convergence speed?
- RQ4Does the TCE loss preserve training stability and performance when applied as a direct replacement for CE without hyperparameter tuning?
Key findings
- On CIFAR100+ with 80% random label noise, TCE with α = 1.5 achieved a Top-1 accuracy of 87.30%, outperforming CE by 4.94 percentage points.
- With 80% label noise, TCE improved Top-1 accuracy by 9.80% on CIFAR100+, 9.36% on CIFAR10+, and 4.94% on VSHN compared to CE.
- TCE with α = 1.0 showed convergence speed nearly identical to CE, while achieving better accuracy than CE across all noise levels.
- For α > 1.5, convergence slowed but remained significantly faster than MSE, indicating a favorable trade-off at α = 1.5.
- Even under 0% label noise, the CE loss showed performance degradation over time, suggesting inherent instability; TCE and MSE were more robust.
- The TCE loss maintained high performance across all datasets and noise levels, with minimal sensitivity to α in the range 0.5 ≤ α ≤ 2.0.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.