Abstract
Datasets with noisy labels are a common occurrence in practical applications of classification methods. We propose a simple probabilistic method for training deep classifiers under input-dependent (heteroscedastic) label noise. We assume an underlying heteroscedastic generative process for noisy labels. To make gradient based training feasible we use a temperature parameterized softmax as a smooth approximation to the assumed generative process. We illustrate that the softmax temperature controls a bias-variance trade-off for the approximation. By tuning the softmax temperature, we improve accuracy, log-likelihood and calibration on both image classification benchmarks with controlled label noise as well as Imagenet-21k which has naturally occurring label noise. For image segmentation, our method increases the mean IoU on the PASCAL VOC and Cityscapes datasets by more than 1% over the state-of-the-art model.
Introduction
In real-world applications, large-scale datasets often contain "messy" or noisy labels. This noise frequently stems from human annotator disagreement on ambiguous cases or errors in automated data collection. Crucially, this noise is heteroscedastic, meaning it depends on the input itself. For instance, a clear image of a common object is easy to label, whereas a blurry or rare instance may lead to high label variance. Standard deep learning models typically ignore this distinction, treating all labels as equally reliable, which often results in overfitting to noise and poorly calibrated, overconfident predictions. This work introduces a probabilistic framework to explicitly account for input-dependent uncertainty.
Methodology
The proposed approach rethinks the standard softmax cross-entropy loss by drawing inspiration from econometrics. We model classification as a Latent Variable Classification Model:
- Generative Process: Each class is assigned a "latent utility," defined as the sum of a deterministic neural network prediction and a stochastic noise term. The model selects the class with the highest utility.
- Heteroscedastic Noise: Unlike standard models that assume identical noise across all inputs, our method allows noise variance to vary based on the input $x$. The network is trained to predict both class logits and the expected noise variance.
- Softmax Approximation: To enable gradient-based training, we use a temperature-parameterized softmax as a smooth approximation of the argmax operation.
- Bias-Variance Trade-off: A critical finding is that the softmax temperature ($\tau$) controls a fundamental trade-off. Lower temperatures reduce approximation bias but increase gradient variance, potentially destabilizing training. Tuning $\tau$ is essential for finding an optimal balance.
- Monte Carlo Estimation: Since the exact expectation of the noisy process is intractable, we employ the reparameterization trick and Monte Carlo (MC) sampling to estimate predictive probabilities.
Experimental Results
The framework was evaluated across several benchmarks, including CIFAR-10 and SVHN with synthetic noise, ImageNet-21k with natural noise, and PASCAL VOC/Cityscapes for segmentation.
Key findings include:
- Performance Gains: On ImageNet-21k, the method improved average accuracy by 0.9% over standard training. In segmentation tasks, it increased mean Intersection over Union (mIoU) by over 1% on PASCAL VOC and Cityscapes.
- Improved Calibration: Models trained with this framework produced confidence scores that more accurately reflected the true likelihood of correctness.
- Robustness: The method is robust to the number of MC samples used, as shown in the performance curves across different sample sizes.
- Temperature Sensitivity: Tuning temperature during training, rather than just post-hoc, is vital for managing gradient noise. We demonstrate that previous state-of-the-art methods are special cases of this framework with a fixed temperature ($\tau = 1.0$).
Discussion and Conclusion
This research highlights the importance of modeling aleatoric (data-inherent) uncertainty in large-scale deep learning. By accounting for input-dependent noise, models can produce cleaner segmentation boundaries and more reliable classification scores. While the optimal temperature currently requires validation set tuning, the performance improvements in accuracy and calibration are significant. Future work may explore automated temperature scheduling and extending this framework to domains like natural language processing where label ambiguity is prevalent.
Summary updated