Class2Simi: A Noise Reduction Perspective on Learning with Noisy Labels

Songhua Wu, Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Nannan Wang, Haifeng Liu, Gang Niu

Overview

Class2Simi is a novel framework designed to tackle the challenge of training deep neural networks on datasets with noisy labels. It transforms the learning problem from multi-class classification to binary similarity learning. By converting noisy class labels into pairwise similarity labels (i.e., "do these two images belong to the same class?"), the framework significantly reduces the overall noise rate, leading to state-of-the-art performance on heavily corrupted datasets.

The Challenge of Noisy Labels

Deep neural networks are powerful but prone to "memorization"—they easily overfit to incorrect (noisy) labels in a training set, which degrades their ability to generalize. While most existing research focuses on pointwise noise correction (attempting to fix or ignore individual bad labels), this paper explores a pairwise perspective.

In large-scale real-world datasets, perfect labeling is nearly impossible. If a dataset has a high noise rate, a standard model will likely learn incorrect patterns. The authors ask a fundamental question: Does evaluating the relationship between pairs of data points make the learning process more robust to noise?

The Class2Simi Methodology

To address this, the authors introduce a two-stage framework that shifts the learning paradigm:

  1. Label Transformation: Instead of training directly on noisy class labels, the model is trained on pairs of instances with a binary similarity label $H_{ij}$. If two instances share the same noisy class label, $H_{ij}=1$; otherwise, $H_{ij}=0$.
  2. Noise Reduction Theory: This transformation naturally reduces the noise rate. Even if one or both points in a pair are mislabeled, the resulting similarity label might still be correct.
  3. Transition Matrix Estimation: The authors derive a method to calculate a $2 \times 2$ similarity transition matrix ($T_s$) from the standard $c \times c$ class transition matrix ($T_c$). This $T_s$ is used to correct the loss function during training.
  4. Architecture: The model uses a standard backbone followed by a "pairwise enumeration layer." It predicts class probabilities for individual points, and their inner product serves as the predicted similarity for the pair.
Illustration of the transformation from noisy class labels to similarity labels, alongside their respective transition matrices.

Key Insights

  • Noise Dilution: The most surprising theoretical finding is that if a dataset has at least 8 classes, the noise rate of the similarity labels is mathematically guaranteed to be lower than the original class label noise rate. There are simply more ways for a similarity label to be "accidentally" correct than for a specific class label.
  • Binary Simplification: By reducing a complex multi-class problem to a binary "same vs. different" problem, the model navigates a much simpler optimization landscape that is inherently more resistant to label flipping.
  • Robustness to Estimation Errors: Standard noise-correction methods are highly sensitive to how accurately the noise (the transition matrix) is estimated. Class2Simi is remarkably robust; even if the initial estimate of the noise is slightly off, the pairwise transformation buffers the model against these errors.

Experimental Results

The framework was evaluated on standard benchmarks with synthetic and real-world noise, including MNIST, CIFAR-10, CIFAR-100, News20, and Clothing1M*.

  • Superior Accuracy: On CIFAR-100 with 60% symmetric noise, Class2Simi achieved 40.38% accuracy, outperforming standard pointwise methods like "Forward" (27.01%) and "Co-teaching" (37.32%) by significant margins.
  • Stability: Experiments demonstrated that when random noise is added to the estimated transition matrix, the performance of standard baseline methods drops dramatically. In contrast, Class2Simi remains highly stable, proving its extreme robustness to estimation errors.
  • Efficiency: The pairwise transformation occurs "on-the-fly" within mini-batches, adding only negligible computational overhead compared to standard training.

Limitations and Future Directions

  • Information Loss: Converting classes to similarities loses semantic information (the model learns two items are the same, but not their specific class identity). The authors mitigate this by pre-training on the noisy class labels first, but it remains a theoretical trade-off.
  • Class Imbalance: While the paper provides a remark on extending the theory to imbalanced datasets, the primary proofs assume balanced classes.
  • Future Work: The authors suggest investigating how Class2Simi handles more complex, "instance-dependent" noise, where the probability of a label being wrong depends on the specific features of the image itself.

Summary updated

BibTeX
@inproceedings{wu2021class,
  author = {Songhua Wu and Xiaobo Xia and Tongliang Liu and Bo Han and Mingming Gong and Nannan Wang and Haifeng Liu and Gang Niu},
  title = {{Class2Simi: A Noise Reduction Perspective on Learning with Noisy Labels}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=5Sc8mh8MfSA},
}
Figure