Deep learning models are like sponges—they are incredibly good at soaking up information from data. Unfortunately, if that data is "noisy" (i.e., contains incorrect labels), the models soak up the errors too, leading to poor generalization in the real world. In their ICLR 2024 paper, Erik Englesson and Hossein Azizpour propose a clever shift in perspective: what if we stop treating classification as a discrete choice and start treating it as a regression problem?
TL;DR
The authors introduce Shifted Gaussian Noise (SGN), a unified framework that tackles noisy labels by transforming classification into a regression task. By leveraging compositional data analysis, SGN simultaneously down-weights suspicious samples and corrects their labels, achieving state-of-the-art robustness on both synthetic and real-world noisy datasets.
The Problem with Noisy Labels
Large-scale datasets are almost never perfectly labeled. Whether due to human error in crowdsourcing or automated web-crawling glitches, "label noise" is a persistent challenge in machine learning.
Current solutions typically follow two distinct paths:
- Loss Reweighting: Identifying "suspicious" samples and telling the model to ignore them or pay less attention.
- Label Correction: Attempting to guess the "true" label and replacing the noisy one.
While both are effective, they are often implemented as separate, ad-hoc methods. There hasn't been a clean, unified probabilistic way to do both simultaneously—until now.
Methods: Classification as Regression
The core innovation of SGN is treating classification through the lens of compositional data analysis. In probabilistic classification, our labels and predictions live on a "simplex" (a space where all values are non-negative and sum to one).
The authors propose a three-step process:
- Transform to Regression: They use the Isometric Log-Ratio (ilr) transform to map these constrained probability vectors into an unconstrained, real-valued space. Suddenly, classification becomes a regression problem.
- The Shifted Gaussian Model: In this new space, they model the noise as a Gaussian distribution with two key components:
- Heteroscedastic Variance: The model predicts a per-sample variance. If the model is "confused" by a sample, the variance goes up, which naturally down-weights that sample's influence on the total loss.
- The "Shift" ($\Delta$): They introduce a shift parameter to account for the difference between the observed noisy label and the estimated true label. This shift is estimated using an Exponential Moving Average (EMA) of the model's weights, which acts as a stable "teacher."
- Transform Back: Finally, they map the regression predictions back to the probability simplex to get the final class probabilities.
Key Insights and Results
By acknowledging that class probabilities are continuous values, SGN leverages the entire toolbox of robust statistics and regression to handle noise. Reweighting and correction prove to be highly complementary: reweighting "buys time" by delaying overfitting to noise, giving the label correction mechanism enough time to produce reliable estimates. Furthermore, using an EMA network provides much more accurate ground-truth estimates than the fluctuating current model.
The authors tested SGN on various datasets, including synthetic noise (CIFAR-10/100), natural human noise (CIFAR-10N/100N), and large-scale web noise (Clothing1M, WebVision).
SGN consistently outperformed a wide range of baselines:
- Superior Human-Noise Handling: On the challenging CIFAR-100N dataset, SGN achieved 60.36% accuracy, outperforming the best baseline by a significant 4 percentage points.
- Robustness to High Noise: Even with 40% asymmetric noise on CIFAR-10, SGN maintained an accuracy of 91.26%, nearly identical to its performance on clean data.
- Generalization: The method showed no signs of the "overfitting dip" common in noisy label training, where accuracy peaks early and then crashes as the model starts memorizing the noise.
Limitations and Future Work
While powerful, the authors note a few areas for future exploration:
- Unstructured Noise: The method is slightly less effective against very high levels of purely random (symmetric) noise because there is no "structure" for the model to learn and correct.
- Hyperparameter Tuning: The $\alpha$ parameter, which controls the transition from observed labels to corrected labels, requires careful setting to ensure the model doesn't trust its own predictions too early.
- Future Directions: Extending this regression-based view to better uncertainty estimation and exploring more advanced robust regression techniques from classical statistics.
Summary updated