IdentifyMix: An efficient two-stage learning approach to combating label noise

Kai Tong, Xiao Ke, K Joseph, S Khan, F Khan, V Balasubramanian, H Noh, S Hong, B Han, C Zhang, S Bengio, M Hardt, B Recht, O Vinyals, X Zhou, X Liu, J Jiang, X Gao, X Ji, C Tan, J Xia, L Wu, S Li, L Jiang, D Huang, M Liu, W Yang, Y Qu, S Mo, J Niu, Q Yao, X Yu, G Niu, M Xu, W Hu, I Tsang, M Sugiyama, Z Zhang, H Zhang, S Arik, H Lee, T Pfister, Y Liu, H Guo, Y Yao, T Liu, M Gong, J Deng, G Patrini, A Rozza, A Menon, R Nock, L Qu, X Ma, H Huang, Y Wang, S Romano, S Erfani, J Bailey, M Sabuncu, J Shu, Q Xie, L Yi, Q Zhao, S Zhou, Z Xu, D Meng, H Wei, L Feng, X Chen, B An, J Yao, H Song, M Kim, J Lee, G Pleiss, T Zhang, E Elenberg, K Weinberger, H Lin, S Wang, Z Liu, S Xiao, S Du, W Guo, D Berthelot, N Carlini, I Goodfellow, N Papernot, A OliverJournal of Applied and Numerical Optimization 2023

Abstract

Deep neural networks require correct label annotation during supervised learning. It is inevitable, however, that some labels are noisy during the labeling process. A deep neural network retains incorrect labels during training, resulting in a degradation of performance. Therefore, it is essential to identify samples with potentially correct labels. In state-of-the-art methods, small-loss samples are chosen for subsequent training through a sample selection strategy. However, it typically ignores the imbalance in noise ratios between mini-batches when performing sample selection within each minibatch. Further, numerous valuable samples with high losses are discarded, which adversely affects the generalization performance of the model, particularly under conditions of high noise ratios. To this end, this paper proposes IdentifyMix, an effective two-stage learning approach for noisy robust learning that combines a unique sample selection strategy and the semi-supervised learning technique. By observing how the dynamics of network training are changing, AUM (Area Under the Margin) provides a criterion that is applied in this research to identify mislabeled data. Moreover, by combining semi-supervised learning with contrastive learning and data augmentation, it is possible to extract more useful information from mislabeled samples. Experiments on several synthetic and real-world noise benchmarks demonstrate the effectiveness of IdentifyMix compared with state-of-the-art methods.

Introduction

Deep learning's success is heavily predicated on the availability of large-scale, accurately labeled datasets. However, real-world data often contains "noisy" labels—incorrect annotations resulting from human error or automated tagging failures. Standard training objectives like Cross-Entropy loss lead neural networks to memorize these noisy labels, significantly harming their ability to generalize to unseen data.

Existing robust learning methods often rely on the "small-loss" hypothesis: the assumption that models learn clean samples faster than noisy ones. Consequently, samples with low loss are treated as clean. This approach suffers from two primary drawbacks: it fails to account for noise imbalance across mini-batches and often discards "hard" clean samples (e.g., blurry or complex images) that are crucial for robust feature learning. IdentifyMix addresses these issues by utilizing training dynamics rather than static loss snapshots.

Methodology: The IdentifyMix Framework

IdentifyMix addresses these challenges through a two-stage pipeline: precise sample selection followed by robust semi-supervised training.

The IdentifyMix two-stage framework: (a) Clean Sample Selection using AUM and (b) SSL training incorporating contrastive loss and data augmentation.

Stage 1: Dynamic Sample Selection via AUM

Instead of relying on static loss values, IdentifyMix utilizes the Area Under the Margin (AUM) metric. The margin is defined as the difference between the logit of the assigned label and the largest logit among all other classes. By tracking this margin over multiple training epochs, the model captures the training dynamics of each sample.

Logit dynamics for a correctly labeled (easy) sample, showing a consistently high margin between the target class and others over training epochs.

Clean samples typically maintain a high, positive AUM, whereas mislabeled samples exhibit low or negative AUM as the model struggles to reconcile image features with incorrect labels. To determine an optimal selection threshold, the authors introduce "threshold samples"—a small subset of data assigned intentionally incorrect, non-existent labels to serve as a benchmark for identifying noise.

Stage 2: Semi-Supervised Learning (SSL)

Once the dataset is partitioned into "Clean" (X) and "Noisy" (U) sets, the noisy samples are not discarded. Instead, they are treated as unlabeled data within a semi-supervised framework to maximize information extraction.

  • Consistency Regularization: Using techniques like FixMatch, the model enforces consistent predictions across weakly and strongly augmented versions of the unlabeled (noisy) images.
  • Supervised Contrastive Learning (SupCon): This component encourages the encoder to cluster features of the same class together while pushing different classes apart in the feature space, enhancing the model's resistance to label noise.
  • Mixup Augmentation: By training on convex combinations of image pairs and their labels, IdentifyMix smooths decision boundaries and further prevents the memorization of individual noisy samples.

Experimental Results

IdentifyMix was evaluated on synthetic (CIFAR-10N, CIFAR-100N) and real-world (Animal-10N) noisy datasets, showing significant improvements over baseline methods.

  • Robustness to Extreme Noise: On CIFAR-10N with an 80% noise ratio, IdentifyMix achieved an accuracy of 87.64%, vastly outperforming standard Cross-Entropy training, which collapsed to 17.32%.
  • Real-World Performance: On Animal-10N, which contains natural label noise, IdentifyMix reached 85.76% accuracy, surpassing other state-of-the-art methods like CLIM and MOIT.
  • Ablation Insights: Removing contrastive learning or Mixup components resulted in significant performance drops, confirming that the synergy of these techniques is vital for handling high noise levels.

Conclusion

IdentifyMix demonstrates that by leveraging training dynamics (AUM) and treating noisy data as a valuable unlabeled resource, models can achieve high performance even in heavily corrupted environments. Future work aims to extend this framework to more complex computer vision tasks such as object detection and semantic segmentation.

Summary updated

BibTeX
@article{tong2023identifymix,
  author = {Kai Tong and Xiao Ke and K Joseph and S Khan and F Khan and V Balasubramanian and H Noh and S Hong and B Han and C Zhang and S Bengio and M Hardt and B Recht and O Vinyals and X Zhou and X Liu and J Jiang and X Gao and X Ji and C Tan and J Xia and L Wu and S Li and L Jiang and D Huang and M Liu and W Yang and Y Qu and S Mo and J Niu and B Han and Q Yao and X Yu and G Niu and M Xu and W Hu and I Tsang and M Sugiyama and Z Zhang and H Zhang and S Arik and H Lee and T Pfister and Y Liu and H Guo and Y Yao and T Liu and B Han and M Gong and J Deng and G Niu and M Sugiyama and G Patrini and A Rozza and A Menon and R Nock and L Qu and X Ma and H Huang and Y Wang and S Romano and S Erfani and J Bailey and Z Zhang and M Sabuncu and J Shu and Q Xie and L Yi and Q Zhao and S Zhou and Z Xu and D Meng and H Wei and L Feng and X Chen and B An and X Yu and B Han and J Yao and G Niu and I Tsang and M Sugiyama and H Song and M Kim and J Lee and G Pleiss and T Zhang and E Elenberg and K Weinberger and H Lin and S Wang and Z Liu and S Xiao and S Du and W Guo and D Berthelot and N Carlini and I Goodfellow and N Papernot and A Oliver},
  title = {{IdentifyMix: An efficient two-stage learning approach to combating label noise}},
  journal = {Journal of Applied and Numerical Optimization},
  year = {2023},
  doi = {10.23952/jano.5.2023.2.04},
}
Figure