SELC: Self-Ensemble Label Correction Improves Learning with Noisy Labels
Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 3278-3284.
https://doi.org/10.24963/ijcai.2022/455
Keywords
- Machine Learning: Weakly Supervised Learning
- Machine Learning: Ensemble Methods
- Machine Learning: Classification
Abstract
Deep neural networks are prone to overfitting noisy labels, resulting in poor generalization performance. To overcome this problem, we present a simple and effective method self-ensemble label correction (SELC) to progressively correct noisy labels and refine the model. We look deeper into the memorization behavior in training with noisy labels and observe that the network outputs are reliable in the early stage. To retain this reliable knowledge, SELC uses ensemble predictions formed by an exponential moving average of network outputs to update the original noisy labels. We show that training with SELC refines the model by gradually reducing supervision from noisy labels and increasing supervision from ensemble predictions. Despite its simplicity, compared with many state-of-the-art methods, SELC obtains more promising and stable results in the presence of class-conditional, instance-dependent, and real-world label noise. The code is available at https://github.com/MacLLL/SELC.
- Dataset Noise Cross Entropy Co-teaching+ GCE SCE LRT PLC SELC (ours) [
- [Yu et al., 2019] [
- [Zhang and Sabuncu, 2018] [
- [Wang et al., 2019] [
- [Zheng et al., 2020] [
- [Zhang et al., 2020] CIFAR-10 Type-I (35%) 78.11 ± 0.74 79.97 ± 0.15 80.65 ± 0.39 79.76 ± 0.72 80.98 ± 0.80 82.80 ± 0.27 86.97 ± 0.15 Type-I (70%) 41.98 ± 1.96 40.69 ± 1.99 36.52 ± 1.62 36.29 ± 0.66 41.52 ± 4.53 42.74 ± 2.14 43.78 ± 2.64 Type-II (35%) 76.65 ± 0.57 77.34 ± 0.44 77.60 ± 0.88 77.92 ± 0.89 80.74 ± 0.25 81.54 ± 0.47 87.06 ± 0.20 Type-II (70%) 45.57 ± 1.12 45.44 ± 0.64 40.30 ± 1.46 41.11 ± 1.92 44.67 ± 3.89 46.04 ± 2.20 46.79 ± 3.06 Type-III (35%) 76.89 ± 0.79 78.38 ± 0.67 79.18 ± 0.61 78.81 ± 0.29 81.08 ± 0.35 81.50 ± 0.50 87.31 ± 0.18 Type-III (70%) 43.32 ± 1.00 41.90 ± 0.86 37.10 ± 0.59 38.49 ± 1.46 44.47 ± 1.23 45.05 ± 1.13 45.57 ± 1.71 CIFAR-100 Type-I (35%) 57.68 ± 0.29 56.70 ± 0.71 58.37 ± 0.18 55.20 ± 0.33 56.74 ± 0.34 60.01 ± 0.43 65.72 ± 0.17 Type-I (70%) 39.32 ± 0.43 39.53 ± 0.28 40.01 ± 0.71 40.02 ± 0.85 45.29 ± 0.43 45.92 ± 0.61 49.72 ± 0.15 Type-II (35%) 57.83 ± 0.25 56.57 ± 0.52 58.11 ± 1.05 56.10 ± 0.73 57.25 ± 0.68 63.68 ± 0.29 66.79 ± 0.18 Type-II (70%) 39.30 ± 0.32 36.84 ± 0.39 37.75 ± 0.46 38.45 ± 0.45 43.71 ± 0.51 45.03 ± 0.50 52.65 ± 0.26 Type-III (35%) 56.07 ± 0.79 55.77 ± 0.98 57.51 ± 1.16 56.04 ± 0.74 56.57 ± 0.30 63.68 ± 0.29 66.41 ± 0.17 Type-III (70%) 40.01 ± 0.18 35.37 ± 2.65 40.53 ± 0.60 39.94 ± 0.84 44.41 ± 0.19 44.45 ± 0.62 49.85
- [Arazo et al., 2019] Eric Arazo, Diego Ortego, Paul Albert, Noel O'Connor, and Kevin Mcguinness. Unsupervised label noise modeling and loss correction. In ICML, pages 312-321, 2019.
- [Arpit et al., 2017] Devansh Arpit, Stanislaw K Jastrzebski, Nico- las Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kan- wal, Tegan Maharaj, Asja Fischer, Aaron C Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In ICML, 2017.
- [Chen et al., 2019] Pengfei Chen, Ben Ben Liao, Guangyong Chen, and Shengyu Zhang. Understanding and utilizing deep neural networks trained with noisy labels. In ICML, pages 1062-1070, 2019.
- [Chen et al., 2021a] Pengfei Chen, Junjie Ye, Guangyong Chen, Jingwei Zhao, and Pheng-Ann Heng. Beyond class-conditional assumption: A primary attempt to combat instance-dependent la- bel noise. In AAAI, volume 35, pages 11442-11450, 2021.
- [Chen et al., 2021b] Yingyi Chen, Xi Shen, Shell Xu Hu, and Jo- han AK Suykens. Boosting co-teaching with compression regu- larization for label noise. In CVPR, pages 2688-2692, 2021.
- [Gui et al., 2021] Xian-Jin Gui, Wei Wang, and Zhang-Hao Tian. Towards understanding deep learning from noisy labels with small-loss criterion. IJCAI, 2021. IJCAI
- [Han et al., 2018] Bo Han, Quanming Yao, Xingrui Yu, Gang Niu, Miao Xu, Weihua Hu, Ivor Tsang, and Masashi Sugiyama. Co- teaching: Robust training of deep neural networks with extremely noisy labels. In NIPS, pages 8527-8537, 2018.
- [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In CVPR, pages 770-778, 2016.
- [Kim et al., 2019] Youngdong Kim, Junho Yim, Juseung Yun, and Junmo Kim. Nlnl: Negative learning for noisy labels. In ICCV, pages 101-110, 2019.
- [Krizhevsky et al., 2009] Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
- [Li et al., 2017] Wen Li, Limin Wang, Wei Li, Eirikur Agustsson, and Luc Van Gool. Webvision database: Visual learning and understanding from web data. arXiv, 2017.
- [Liu et al., 2020] Sheng Liu, Jonathan Niles-Weed, Narges Raza- vian, and Carlos Fernandez-Granda. Early-learning regulariza- tion prevents memorization of noisy labels. NIPS, 33, 2020.
- [Lu et al., 2021] Yangdi Lu, Yang Bo, and Wenbo He. Confidence adaptive regularization for deep learning with noisy labels. arXiv preprint arXiv:2108.08212, 2021.
- [Lu et al., 2022] Yangdi Lu, Yang Bo, and Wenbo He. An ensemble model for combating label noise. In Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining, pages 608-617, 2022.
- [Ma et al., 2020] Xingjun Ma, Hanxun Huang, Yisen Wang, Si- mone Romano, Sarah Erfani, and James Bailey. Normalized loss functions for deep learning with noisy labels. In In ICML, pages 6543-6553. PMLR, 2020.
- [Mirzasoleiman et al., 2020] Baharan Mirzasoleiman, Kaidi Cao, and Jure Leskovec. Coresets for robust training of neural net- works against noisy labels. NIPS, 2020.
- [Natarajan et al., 2013] Nagarajan Natarajan, Inderjit S Dhillon, Pradeep K Ravikumar, and Ambuj Tewari. Learning with noisy labels. NIPS, 26:1196-1204, 2013.
- [Nguyen et al., 2020] Tam Nguyen, C Mummadi, T Ngo, L Beggel, and Thomas Brox. Self: learning to filter noisy labels with self- ensembling. In ICLR, 2020.
- [Patrini et al., 2017] Giorgio Patrini, Alessandro Rozza, Aditya Kr- ishna Menon, Richard Nock, and Lizhen Qu. Making deep neu- ral networks robust to label noise: A loss correction approach. In CVPR, pages 1944-1952, 2017.
- [Permuter et al., 2006] Haim Permuter, Joseph Francos, and Ian Jermyn. A study of gaussian mixture models of color and tex- ture features for image classification and segmentation. Pattern recognition, 39(4):695-706, 2006.
- [Reed et al., 2015] Scott E Reed, Honglak Lee, Dragomir Anguelov, Christian Szegedy, Dumitru Erhan, and Andrew Rabinovich. Training deep neural networks on noisy labels with bootstrapping. In ICLR (Workshop), 2015.
- [Song et al., 2019] Hwanjun Song, Minseok Kim, and Jae-Gil Lee. Selfie: Refurbishing unclean samples for robust deep learning. In ICML, pages 5907-5915, 2019.
- [Tanaka et al., 2018] Daiki Tanaka, Daiki Ikami, Toshihiko Ya- masaki, and Kiyoharu Aizawa. Joint optimization framework for learning with noisy labels. In CVPR, pages 5552-5560, 2018.
- [Thulasidasan et al., 2019] Sunil Thulasidasan, Tanmoy Bhat- tacharya, Jeff Bilmes, Gopinath Chennupati, and Jamal Mohd- Yusof. Combating label noise in deep learning using abstention. In ICML, pages 6234-6243. PMLR, 2019.
- [Wang et al., 2019] Yisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo, Jinfeng Yi, and James Bailey. Symmetric cross entropy for robust learning with noisy labels. In ICCV, pages 322-330, 2019.
- [Xiao et al., 2015] Tong Xiao, Tian Xia, Yi Yang, Chang Huang, and Xiaogang Wang. Learning from massive noisy labeled data for image classification. In CVPR, pages 2691-2699, 2015.
- [Xu et al., 2019] Yilun Xu, Peng Cao, Yuqing Kong, and Yizhou Wang. L dmi: A novel information-theoretic loss function for training deep nets robust to label noise. Advances in Neural In- formation Processing Systems, 32:6225-6236, 2019.
- [Yi and Wu, 2019] Kun Yi and Jianxin Wu. Probabilistic end-to- end noise correction for learning with noisy labels. In CVPR, pages 7017-7025, 2019.
- [Yu et al., 2019] Xingrui Yu, Bo Han, Jiangchao Yao, Gang Niu, IW Tsang, and Masashi Sugiyama. How does disagreement help generalization against label corruption? In ICML, 2019.
- [Zhang and Sabuncu, 2018] Zhilu Zhang and Mert Sabuncu. Gen- eralized cross entropy loss for training deep neural networks with noisy labels. In NIPS, pages 8778-8788, 2018.
- [Zhang et al., 2018] Hongyi Zhang, Moustapha Cisse, Yann N Dauphin, and David Lopez-Paz. mixup: Beyond empirical risk minimization. In ICLR, 2018.
- [Zhang et al., 2020] Yikai Zhang, Songzhu Zheng, Pengxiang Wu, Mayank Goswami, and Chao Chen. Learning with feature- dependent label noise: A progressive approach. In International Conference on Learning Representations, 2020.
- [Zhang et al., 2021] Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning (still) requires rethinking generalization. Communications of the ACM, 64(3):107-115, 2021.
- [Zheng et al., 2020] Songzhu Zheng, Pengxiang Wu, Aman Goswami, Mayank Goswami, Dimitris Metaxas, and Chao Chen. Error-bounded correction of noisy labels. In ICML, pages 11447-11457. PMLR, 2020.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
The recent success of deep neural networks (DNNs) for vision tasks owes much to the availability of large-scale, correctly annotated datasets. However, obtaining such highquality datasets can be extremely expensive, and sometimes even impossible. The common approaches, such as web queries [Li et al., 2017] and crowdsourcing [Song et al., 2019], can easily provide extensive labeled data, but unavoidably introduce noisy labels. Existing studies [Arpit et al., 2017; Zhang et al., 2021] have demonstrated that DNNs can easily overfit noisy labels, which deteriorates the generalization performance. Thus, it is essential to develop noise-robust algorithms for learning with noisy labels.
Given a noisy training set consisting of clean samples and mislabeled samples, a common category of approaches [Reed et al., 2015; Arazo et al., 2019; Zhang et al., 2020] to mitigating the negative influence of noisy labels is to identify and correct the mislabeled samples. However, the correction procedure in these methods only updates the noisy labels using the model prediction from the most recent training epoch directly, thus it may suffer from the false correction as the model predictions for noisy samples tend to fluctuate. Take a bird image mislabeled as an airplane as an example. During the training, the clean bird samples would encourage the model to predict a given bird image as a bird, while the bird images with airplane labels regularly pull the model back to predict the bird as an airplane. Hence, the model prediction gathered in one training epoch may change back and forth between bird and airplane, resulting in false correction.
We investigate the reason for performance degradation by analyzing the memorization behavior of the DNNs models. We observe that there exists a turning point during training. Before the turning point, the model only learns from easy (clean) samples, and thus model prediction is likely to be consistent with clean samples. After the turning point, the model increasingly memorizes hard (mislabeled) samples. Hence model prediction oscillates strongly on clean samples. Triggered by this observation, we seek to make the model retain the early-learning memory for consistent predictions on clean samples even after the turning point.
In this paper, we propose self-ensemble label correction (SELC), which potentially corrects noisy labels during training thus preventing the model from being affected by the noisy labels. SELC leverages the knowledge provided in the model predictions over historical training epochs to form a consensus of prediction (ensemble prediction) before the turning point. We demonstrate that combining ensemble prediction with the original noisy label leads to a better target. Accordingly, the model is gradually refined as the targets become less noisy, resulting in improving performance. However, it is challenging to find the turning point. Existing works estimate the turning point based on a test set or noise information, which are unobservable in practice. We propose a metric to estimate the turning point only using training data, allowing us to select a suitable initial epoch to perform SELC. Overall, our contributions are summarized as follows:
- We propose a simple and effective label correction method SELC based on self-ensembling.
- We design an effective metric based on unsupervised loss modeling to detect the turning point without requiring the test set and noise information.
- SELC achieves superior results and can be integrated with other techniques such as mixup [Zhang et al., 2018] to further enhance the performance.

2 RelatedWork
We briefly discuss the existing methods that do not require a small set of clean data (as opposed to [Xiao et al., 2015]). Robust loss functions. Some methods aim to develop loss functions that are robust to label noise, including GCE [Zhang and Sabuncu, 2018], LDMI [Xu et al., 2019], SCE [Wang et al., 2019] and NCE [Ma et al., 2020]. Loss correction. [Patrini et al., 2017] focus on correcting the loss function explicitly by estimating the noise transition matrix. Sample selection. Co-training-based methods [Han et al., 2018; Lu et al., 2022] maintain two networks, and each network is trained on low-risk samples which are selected by its peer network based on the small-loss criterion. Regularization. These methods [Liu et al., 2020; Lu et al., 2021] prevent memorization of mislabeled samples by using a regularizer. Label filtering. SELF [Nguyen et al., 2020] filters the mislabeled samples by ensemble predictions to improve the performance. Label correction. Joint Opt [Tanaka et al., 2018] and PENCIL [Yi and Wu, 2019] replace the noisy labels with soft (i.e. model probability) or hard (i.e. to one-hot vector) pseudo-labels. Bootstrap [Reed et al., 2015] and Mcorrection [Arazo et al., 2019] correct the labels by using a convex combination of noisy labels and the model prediction. PLC [Zhang et al., 2020] updates the noisy labels of high confident samples with model predictions.
Our method is related to label correction. Compared with existing methods, we focus on using ensemble prediction based on historical model outputs to correct the noisy labels, rather than only using prediction from the most recent training epoch. Our approach is straightforward and yields superior performance. Furthermore, our technique can be employed as an add-on component to further enhance the other approaches in challenging cases.
3 Preliminaries
Supervised Classification. Considering a supervised classification problem with C classes, suppose X ∈ Rd be the input space, Y ∈ {0, 1}C is the ground-truth label space in an one-hot manner. In practice, the joint distribution P over X ×Y is unknown. We have a training set D = {(xi, yi)}Ni=1 which are independently sampled from P. Assume a mapping function class F wherein each f : X → RC maps the input space to C-dimensional score space, we seek f ∗ ∈ F
that minimizes an empirical risk 1N ∑Ni=1 ℓ(yi, f(xi)) for a certain loss function ℓ.
Learning with Noisy Labels. Our goal is to learn from a noisy training distribution Pη where the labels are corrupted, with probability η, from their true distribution P. Given a noisy training set ˆD = {(xi, ˆ yi)}Ni=1 , the observable noisy label ˆ yi has a probability of η to be incorrect. Suppose the mapping function f is a deep neural network classifier parameterized by Θ. f maps an input xi to C-dimensional logits zi = f(xi, Θ). We obtain conditional probability of each class by using a softmax function S(·), thus pi = S(zi). Then the empirical risk on ˆD using cross-entropy loss is
When optimizing Lce by stochastic gradient descent (SGD), the DNNs have been observed to completely fit the training set including mislabeled samples eventually (see Figure 1 (a)), resulting in the test performance degradation in the later stage of training (see Figure 1 (b)).
Noise Models. The generation of real-world label noise is unpredictable, a common methodology to cope with noisy labels is to posit a noise model and design robust algorithms under this model. Then we evaluate the algorithms on the real-world datasets to see their effectiveness. A common noise model is class-conditional noise [Natarajan et al., 2013], wherein label noise is independent of input features and true label is corrupted by either a symmetric or asymmetric noise transition matrix (details are in Section 5.1). Recently, another label noise model, named instance-dependent noise [Zhang et al., 2020; Chen et al., 2021a], is proposed, in which the noise not only depends on the class but also the input feature.
4 Our Method
4.1 Memorization Behavior
Our motivation stems from the memorization behavior of DNNs when trained with noisy labels. In Figure 1 (c), we observe that for clean samples, the model predicts them correctly with the increase of epochs. For mislabeled samples in Figure 1 (d), the model predicts the true labels correctly for most mislabeled samples in the early stage (high blue line), even though the model begins making incorrect predictions because of the memorization of wrong labels (increasing red line). Since the model predictions are relatively correct for both mislabeled and clean samples in the early stage, can these reliable model predictions help correct the noisy labels?
4.2 Ensemble Prediction
To alleviate the impact of noisy labels, existing work Bootstrap [Reed et al., 2015] proposes to generate soft target by interpolating between the original noisy distributions and model predictions by βˆ y+(1-β)p, where β weights the degree of interpolation. Thus the cross-entropy loss using Bootstrap becomes
However, applying a static weight (e.g. β = 0.8) to the prediction limits the correction of a hypothetical noisy label. Although another work M-correction [Arazo et al., 2019] makes β dynamic for different samples, the one-step correction based solely on the model predictions at the most recent training epoch still easily incurs false correction.
Since the predictions gathered in a single training epoch for correction is sub-optimal, we generate the ensemble prediction ˜ p for each sample, aggregating the predictions over multiple previous epochs by exponential moving average. Let's denote the model prediction in epoch k as p[k-1]. In epoch k, we have ensemble prediction
where 0 ≤ α < 1 is the momentum. Based on the Eq. (3), we can derive the ensemble prediction in k-th epoch as ˜ p[k] = ∑kj=1 (1 - α)αk-j p[j]. Although ensemble prediction requires a new hyperparameter α and auxiliary memory to record, it maintains a more stable and accurate prediction, especially for mislabeled samples.
4.3 Self-Ensemble Label Correction
We seek to utilize the ensemble predictions to progressively enhance the targets in loss function. There are two options to be considered.
- Option I. Directly use ensemble prediction as the target.
- Option II. Preserve the original noisy label, and combine it with ensemble prediction as the target.
The first option is widely adopted in semi-supervised learning, as the ensemble prediction learned from the labeled inputs can be used as targets for the unlabeled inputs. However, in the noisy labels setting, the model needs supervisions from noisy labels as no extra clean samples are provided. We would compare these two options in Section 5.4. In SELC, we choose the second option. Specifically, for each training sample, we initialize the soft target t using original noisy label ˆ y. Then we update t in each training epoch k by
Based on the Eq. (4), we rewrite above equation as
The first term preserves the original noisy labels with exponential decaying weights αk . The second term is exactly the ensemble prediction at epoch k. Therefore, in training epoch k, the loss of SELC becomes
where pi[j] denotes the model prediction in epoch j for input xi. The first loss term is actually the cross-entropy loss Lce but weighed by αk . With the increase of training epoch k, αk becomes smaller. Thus Lselc is less and less reliant on original noisy labels. The second loss term maintains an exponential moving average of historical prediction as target, and penalizes model predictions that are inconsistent with this target. As a consequence, SELC effectively prevents memorization of mislabeled samples (low red line in Figure 1 (f)) and attains superior performance.
4.4 Estimation of Turning Point
In semi-supervised learning, the initial epoch to perform ensemble prediction is not crucial as the supervision from the clean set guides the model to predict consistent prediction throughout the training. Comparatively, in our scenario, the model would overfit to noisy labels, causing the model predictions to deteriorate. Therefore, it is essential to select the initial epoch in SELC before the turning point T , at which the model starts to memorize mislabeled samples.
We can clearly observe the occurrence of turning point by monitoring the test accuracy drop (Figure 1 (b)). However, the test set is unobservable in practice. The way to accurately identify the turning point without a test set and noise information remains challenging and underexplored.
In this paper, we propose three metrics and choose the optimal one to estimate the turning point by modeling training samples' loss distribution without requiring a clean test set. Due to the memorization behavior of DNNs, the clean samples tend to have smaller loss values than the mislabeled samples in early stage. We analyze the normalized loss distribution over different training epochs in Figure 2 top row. Intriguingly, the two distributions are merged at the initialization, then start to separate, but resume merging after the turning point. Therefore, we propose to estimate the turning point by finding the epoch that has the largest distance between two distributions. To model these two distributions, we use two unsupervised learning approaches: Gaussian Mixture Model (GMM) [Permuter et al., 2006] and K-Means.
epoch 1

�
�
�

Metric 1 and Metric 2. We fit a two-component GMM to loss distribution (in Figure 2 bottom row). The probability density function (pdf) of GMM with M components on the per sample loss value ℓ can be defined as P(ℓ) = ∑Mm=1 πmN(ℓ | µm, σ2m), ∑Mm=1 πm = 1, where πm is the coefficient for the linear convex combination of each individual pdf N(ℓ | µm, σ2m). We use the ExpectationMaximization (EM) algorithm to estimate the πm, µm and σ2m. For Metric 1, we directly calculate the distance between two components by
For Metric 2, we calculate the Kullback-Leibler (KL) divergence of two components as distance.
Metric 3. We fit two clusters by K-Means on the loss distribution. Then we calculate the distance between two cluster centroids S1 and S2 as the Metric 3.
When we train the DNNs with noisy labels, we monitor these three metrics. Once they achieve the maximum value, the corresponding epoch is likely to be the turning point T. We compare three metrics on CIFAR-10 with label noise in Figure 3. M1 is the most reliable and stable one since its corresponding epoch of maximum value precisely aligns with the epoch when test accuracy starts to drop in Figure 1 (b) in all noise cases. We put pseudocode of SELC in Algorithm 1.
5 Experiments
This section, first, investigates the effectiveness of the proposed SELC for classification with class-conditional noise
Algorithm 1 SELC pseudocode.
Input: DNNs f(Θ), training data ˆD = {(xi, ˆ yi)}Ni=1 , Estimated turning point T , total epoch Tmax, hyperparameter α Output: Optimized DNN f (Θ∗ )
- 1: Let t = ˆ y.
- 2: Select an initial epoch Te < T (e.g. Te = T - 10).
- 3: while epoch e < Tmax do
- 4: if epoch e < Te then
- 5: Train f(Θ) by CE loss in Eq. (1) using SGD.
- 6: else
- 7: Update t by (5).
- 8: Train f(Θ) by SELC loss in Eq. (6) using SGD.
- 9: end if
- 10: end while
(Section 5.1), instance-dependent noise (Section 5.2) and real-world noise (Section 5.3). This is followed by several empirical analyses (Section 5.4) to shed light on SELC.
5.1 Class-conditional Label Noise
Datasets and Networks. We conduct the experiments with class-conditional label noise on CIFAR-10 and CIFAR-100 [Krizhevsky et al., 2009]. Given these two datasets are initially clean, we follow [Patrini et al., 2017] to inject noise by label transition matrix Q, where Qij = Pr[ˆ y = j | y = i] denotes the probability that noisy label ˆ y is flipped from true label y. We evaluate SELC in two types of noise: symmetric and asymmetric. Symmetric noise is generated by replacing the labels for a percentage of the training data with all possible labels uniformly. Asymmetric noise is designed to mimic the structure of real-world label noise, where the annotators are more likely to make mistakes only within very similar classes (e.g. deer → horse and cat ↔ dog). We use the ResNet34 [He et al., 2016] as backbone for both datasets, and train the model using SGD with a momentum of 0.9, a weight decay of 0.001, and a batch size of 128. The network is trained for 200 epochs. We set the initial learning rate as 0.02, and reduce it by a factor of 10 after 40 and 80 epochs. We fix hyperparameter α = 0.9. More discussions on α are in Section 5.4. Note that we do not perform early stopping since we don't assume the presence of clean validation data.
| Dataset | CIFAR-10 | CIFAR-100 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Class-conditional noise type | symm | asymm | symm | asymm | ||||||
| Method/Noise ratio | 20% | 40% | 60% | 80% | 40% | 20% | 40% | 60% | 80% | 40% |
| Cross Entropy | 86.98 ± 0.12 | 81.88 ± 0.29 | 74.14 ± 0.56 | 53.82 ± 1.04 | 80.11 ± 1.44 | 58.72 ± 0.26 | 48.20 ± 0.65 | 37.41 ± 0.94 | 18.10 ± 0.82 | 42.74 ± 0.61 |
| Bootstrap [Reed et al., 2015] | 86.23 ± 0.23 | 82.23 ± 0.37 | 75.12 ± 0.56 | 54.12 ± 1.32 | 81.21 ± 1.47 | 58.27 ± 0.21 | 47.66 ± 0.55 | 34.68 ± 1.10 | 21.64 ± 0.97 | 45.12 ± 0.57 |
| Forward [Patrini et al., 2017] | 87.99 ± 0.36 | 83.25 ± 0.38 | 74.96 ± 0.65 | 54.64 ± 0.44 | 83.55 ± 0.58 | 39.19 ± 2.61 | 31.05 ± 1.44 | 19.12 ± 1.95 | 8.99 ± 0.58 | 34.44 ± 1.93 |
| GCE [Zhang and Sabuncu, 2018] | 89.83 ± 0.20 | 87.13 ± 0.22 | 82.54 ± 0.23 | 64.07 ± 1.38 | 76.74 ± 0.61 | 66.81 ± 0.42 | 61.77 ± 0.24 | 53.16 ± 0.78 | 29.16 ± 0.74 | 47.22 ± 1.15 |
| Mixup [Zhang et al., 2018] | 93.58 | 89.46 | 78.32 | 66.32 | 81.66 | 69.31 | 58.12 | 41.10 | 18.77 | 49.61 |
| Joint Opt [Tanaka et al., 2018] | 92.25 | 90.79 | 86.87 | 69.16 | - | 58.15 | 54.81 | 47.94 | 17.18 | - |
| PENCIL [Yi and Wu, 2019] | - | - | - | - | 91.01 | - | 69.12 ± 0.62 | 57.70 ± 3.86 | fail | 63.61 ± 0.23 |
| NLNL [Kim et al., 2019] | 94.23 | 92.43 | 88.32 | - | 89.86 | 71.52 | 66.39 | 56.51 | - | 45.70 |
| SCE [Wang et al., 2019] | 89.83 ± 0.20 | 87.13 ± 0.26 | 82.81 ± 0.61 | 68.12 ± 0.81 | 82.51 ± 0.45 | 70.38 ± 0.13 | 62.27 ± 0.22 | 54.82 ± 0.57 | 25.91 ± 0.44 | 69.32 ± 0.87 |
| M-correction [Arazo et al., 2019] | - | 92.30 | 86.10 | 74.10 | - | - | 70.10 | 59.50 | 39.50 | - |
| DAC [Thulasidasan et al., 2019] | 92.91 | 90.71 | 86.30 | 74.84 | - | 73.55 | 66.92 | 57.17 | 32.16 | - |
| SELF [Nguyen et al., 2020] | - | 91.13 | - | 63.59 | - | - | 66.71 | - | 35.56 | - |
| NCE+RCE [Ma et al., 2020] | - | 86.02 ± 0.09 | 79.78 ± 0.50 | 52.71 ± 1.90 | 79.59 ± 0.40 | - | 59.48 ± 0.56 | 47.12 ± 0.62 | 25.80 ± 1.12 | 46.69 ± 0.96 |
| ELR [Liu et al., 2020] | 91.16 ± 0.08 | 89.15 ± 0.17 | 86.12 ± 0.49 | 73.86 ± 0.61 | 90.12 ± 0.47 | 74.21 ± 0.22 | 68.28 ± 0.31 | 59.28 ± 0.67 | 29.78 ± 0.56 | 73.26 ± 0.64 |
| SELC (Ours) | 93.09 ± 0.02 | 91.18 ± 0.06 | 87.25 ± 0.09 | 74.13 ± 0.14 | 91.05 ± 0.11 | 73.63 ± 0.07 | 68.46 ± 0.10 | 59.41 ± 0.06 | 32.63 ± 0.06 | 70.82 ± 0.09 |
| SELC+ (Ours) | 94.97 ± 0.04 | 93.12 ± 0.08 | 90.46 ± 0.12 | 78.62 ± 0.24 | 92.92 ± 0.10 | 76.39 ± 0.15 | 71.73 ± 0.11 | 64.49 ± 0.15 | 37.18 ± 0.50 | 73.58 ± 0.11 |
| Method/Noise ratio | 10% | 20% | 30% | 40% |
|---|---|---|---|---|
| Cross Entropy | 91.25 ± 0.27 | 86.34 ± 0.11 | 80.87 ± 0.05 | 75.68 ± 0.29 |
| Forward [Patrini et al., 2017] | 91.06 ± 0.02 | 86.35 ± 0.11 | 78.87 ± 2.66 | 71.12 ± 0.47 |
| Co-teaching [Han et al., 2018] | 91.22 ± 0.25 | 87.28 ± 0.20 | 84.33 ± 0.17 | 78.72 ± 0.47 |
| GCE [Zhang and Sabuncu, 2018] | 90.97 ± 0.21 | 86.44 ± 0.23 | 81.54 ± 0.15 | 76.71 ± 0.39 |
| DAC [Thulasidasan et al., 2019] | 90.94 ± 0.09 | 86.16 ± 0.13 | 80.88 ± 0.46 | 74.80 ± 0.32 |
| DMI [Xu et al., 2019] | 91.26 ± 0.06 | 86.57 ± 0.16 | 81.98 ± 0.57 | 77.81 ± 0.85 |
| SEAL [Chen et al., 2021a] | 91.32 ± 0.14 | 87.79 ± 0.09 | 85.30 ± 0.01 | 82.98 ± 0.05 |
| SELC (Ours) | 91.63 ± 0.15 | 88.33 ± 0.16 | 86.28 ± 0.22 | 84.23 ± 0.37 |
All test accuracy are recorded from the last epoch of training.
Improving Other Methods. In comparison to the original noisy labels, we obtain cleaner targets t after using SELC. Therefore, SELC can be easily integrated with other methods. For fair comparison with the existing approaches (e.g. Mcorrection and NLNL) that use mixup or multiple stages of training to boost the performance, we propose SELC+ which uses the corrected labels from SELC to retrain an initialized DNNs using mixup.
Results. Table 1 shows the results on CIFAR with different types and levels of class-conditional label noise. SELC achieves excellent performance compared to the methods that only modify the training loss without extra techniques to boost the performance. When integrated with mixup data augmentation, SELC+ achieves the best performance across most noise ratios, demonstrating the effectiveness of the proposed method on class-conditional label noise.
5.2 Instance-dependent Label Noise
Datasets and Networks. We follow the recent works SEAL [Chen et al., 2021a] and PLC [Zhang et al., 2020] to inject instance-dependent label noise to CIFAR. SEAL generates the controllable label noise based on the assumption that 'hard' (low confidence) samples are more likely to be mislabeled. PLC introduces Polynomial Margin Diminishing (PMD) noise which allows arbitrary noise strength in a wide buffer near the decision boundary. For fair comparison with SEAL, we use the same network architecture Wide ResNet28×10. As for PMD noise, we use the same network architecture PreAct ResNet34 as PLC.
Results. Table 2 shows the results on instance-dependent label noise from SEAL. Our approach consistently achieves the best generalization performance over different noise ratios. The larger the noise ratio is, the more improvement SELC obtains. Table 3 lists the performance of different methods under three types of PMD noise at noise level 35% and 70%. We observe that the proposed method outperforms baselines across different noise settings. When the noise level is high, performances of a few baselines deteriorate and become worse than the standard (CE) approach. In contrast, the improvement of SELC is substantial (∼10% in accuracy) for the more challenging CIFAR-100 with 70% label noise.
5.3 Real-world Label Noise
Datasets and Networks. We use ANIMAL-10N [Song et al., 2019], Clothing1M [Xiao et al., 2015] and Webvision [Li et al., 2017] to evaluate the performance of SELC under the real-world label noise settings. ANIMAL-10N contains human-labeled online images for 10 animals with confusing appearance. The estimated label noise rate is 8%. Clothing1M consists of 1 million images collected from online shopping websites with labels generated from surrounding texts. The estimated label noise rate is 38.5%. WebVision contains 2.4 million images crawled from the web using the 1,000 concepts in ImageNet ILSVRC12. The estimated label noise rate is 20%. For ANIMAL-10N, we use VGG-19 with batch normalization. For Clothing1M, we use ResNet50 pretrained on ImageNet. For Webvision, we use InceptionResNetV2. Note that all the compared method do not use mixup to boost the performance for fair comparison.
Results. Table 4, Table 5 and Table 6 show the results on ANIMAL-10N, Clothing1M and Webvision respectively. On ANIMAL-10N and Webvision, our approach outperforms the existing baselines. On Clothing1M, SELC achieves the comparable performance to PLC, despite its simplicity.
5.4 Empirical Analysis
Correction Accuracy. The key idea of SELC is to correct the original noisy labels. We analyze the quality of the new target t by calculating its correction accuracy: 1N ∑Ni 1{argmaxyi = argmax ti}, where yi is the true label of xi. Figure 4 (a) shows the correction accuracy of the Option I and Option II (SELC). We observe SELC achieves higher accuracy than Option I and correction accuracy is stable with the increase of training epochs. Figure 5 shows the confusion matrix of corrected labels w.r.t the true labels on CIFAR-10 with 40% symmetric label noise. SELC corrects the noisy labels impressively well for all classes.
| Dataset | Noise | Cross Entropy | Co-teaching+ [Yu et al., 2019] | GCE [Zhang and Sabuncu, 2018] | SCE [Wang et al., 2019] | LRT [Zheng et al., 2020] | PLC [Zhang et al., 2020] | SELC (ours) |
|---|---|---|---|---|---|---|---|---|
| CIFAR-10 | Type-I (35%) | 78.11 ± 0.74 | 79.97 ± 0.15 | 80.65 ± 0.39 | 79.76 ± 0.72 | 80.98 ± 0.80 | 82.80 ± 0.27 | 86.97 ± 0.15 |
| Type-I (70%) | 41.98 ± 1.96 | 40.69 ± 1.99 | 36.52 ± 1.62 | 36.29 ± 0.66 | 41.52 ± 4.53 | 42.74 ± 2.14 | 43.78 ± 2.64 | |
| Type-II (35%) | 76.65 ± 0.57 | 77.34 ± 0.44 | 77.60 ± 0.88 | 77.92 ± 0.89 | 80.74 ± 0.25 | 81.54 ± 0.47 | 87.06 ± 0.20 | |
| Type-II (70%) | 45.57 ± 1.12 | 45.44 ± 0.64 | 40.30 ± 1.46 | 41.11 ± 1.92 | 44.67 ± 3.89 | 46.04 ± 2.20 | 46.79 ± 3.06 | |
| Type-III (35%) | 76.89 ± 0.79 | 78.38 ± 0.67 | 79.18 ± 0.61 | 78.81 ± 0.29 | 81.08 ± 0.35 | 81.50 ± 0.50 | 87.31 ± 0.18 | |
| Type-III (70%) | 43.32 ± 1.00 | 41.90 ± 0.86 | 37.10 ± 0.59 | 38.49 ± 1.46 | 44.47 ± 1.23 | 45.05 ± 1.13 | 45.57 ± 1.71 | |
| CIFAR-100 | Type-I (35%) | 57.68 ± 0.29 | 56.70 ± 0.71 | 58.37 ± 0.18 | 55.20 ± 0.33 | 56.74 ± 0.34 | 60.01 ± 0.43 | 65.72 ± 0.17 |
| Type-I (70%) | 39.32 ± 0.43 | 39.53 ± 0.28 | 40.01 ± 0.71 | 40.02 ± 0.85 | 45.29 ± 0.43 | 45.92 ± 0.61 | 49.72 ± 0.15 | |
| Type-II (35%) | 57.83 ± 0.25 | 56.57 ± 0.52 | 58.11 ± 1.05 | 56.10 ± 0.73 | 57.25 ± 0.68 | 63.68 ± 0.29 | 66.79 ± 0.18 | |
| Type-II (70%) | 39.30 ± 0.32 | 36.84 ± 0.39 | 37.75 ± 0.46 | 38.45 ± 0.45 | 43.71 ± 0.51 | 45.03 ± 0.50 | 52.65 ± 0.26 | |
| Type-III (35%) | 56.07 ± 0.79 | 55.77 ± 0.98 | 57.51 ± 1.16 | 56.04 ± 0.74 | 56.57 ± 0.30 | 63.68 ± 0.29 | 66.41 ± 0.17 | |
| Type-III (70%) | 40.01 ± 0.18 | 35.37 ± 2.65 | 40.53 ± 0.60 | 39.94 ± 0.84 | 44.41 ± 0.19 | 44.45 ± 0.62 | 49.85 ± 0.36 |
| Method | Accuracy |
|---|---|
| Cross Entropy | 79.40 ± 0.14 |
| Nested [Chen et al., 2021b] | 81.30 ± 0.60 |
| SELFIE [Song et al., 2019] | 81.80 ± 0.09 |
| PLC [Zhang et al., 2020] | 83.40 ± 0.43 |
| SELC (ours) | 83.73 ± 0.06 |
| Method | Accuracy |
|---|---|
| Cross Entropy | 68.94 |
| Forward [Patrini et al., 2017] | 69.84 |
| SEAL [Chen et al., 2021a] | 70.63 |
| SCE [Wang et al., 2019] | 71.02 |
| LRT [Zheng et al., 2020] | 71.74 |
| DMI [Xu et al., 2019] | 72.27 |
| ELR [Liu et al., 2020] | 72.87 |
| Nested [Chen et al., 2021b] | 73.10 |
| PENCIL [Yi and Wu, 2019] | 73.49 |
| PLC [Zhang et al., 2020] | 74.02 |
| SELC (ours) | 74.01 |
| Method | Webvision | ILSVRC12 | ||
|---|---|---|---|---|
| top1 | top5 | top1 | top5 | |
| Forward [Patrini et al., 2017] | 61.12 | 82.68 | 57.36 | 82.36 |
| Co-teaching [Han et al., 2018] | 63.58 | 85.20 | 61.48 | 84.70 |
| Iterative-CV [Chen et al., 2019] | 65.24 | 85.34 | 61.60 | 84.98 |
| RSL [Gui et al., 2021] | 65.64 | 85.72 | 62.04 | 84.84 |
| CRUST [Mirzasoleiman et al., 2020] | 72.40 | 89.56 | 67.36 | 87.84 |
| SELC (ours) | 74.38 | 90.66 | 70.85 | 90.74 |


Hyperparameter Sensitivity. In SELC, we have one hyperparameter α in Eq. (6) to control the momentum in selfensemble. Figure 4 (b) shows the test accuracy when using different α ∈ {0.85, 0.9, 0.95} on CIFAR-10. We observe that the sensitivity to hyperparameter α is quite mild.
6 Conclusion
We propose a simple and effective method SELC to improve learning with noisy labels. SELC leverages the model predictions of previous epochs to correct the noisy labels, thus preventing the model from overfitting to noisy labels. By evaluating SELC on different types of label noise, we observe its superior performance over existing approaches.
@inproceedings{ijcai2022p455,
title = {SELC: Self-Ensemble Label Correction Improves Learning with Noisy Labels},
author = {Lu, Yangdi and He, Wenbo},
booktitle = {Proceedings of the Thirty-First International Joint Conference on
Artificial Intelligence, {IJCAI-22}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Luc De Raedt},
pages = {3278--3284},
year = {2022},
month = {7},
note = {Main Track},
doi = {10.24963/ijcai.2022/455},
url = {https://doi.org/10.24963/ijcai.2022/455},
}
TY - CPAPER TI - SELC: Self-Ensemble Label Correction Improves Learning with Noisy Labels AU - Lu, Yangdi AU - He, Wenbo T2 - Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI-22 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2022 SP - 3278 EP - 3284 DO - 10.24963/ijcai.2022/455 UR - https://doi.org/10.24963/ijcai.2022/455 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: