Iterative Learning with Open-set Noisy Labels

03/31/2018 ∙ by Yisen Wang, et al. ∙ Tsinghua University Georgia Institute of Technology 0

Large-scale datasets possessing clean label annotations are crucial for training Convolutional Neural Networks (CNNs). However, labeling large-scale data can be very costly and error-prone, and even high-quality datasets are likely to contain noisy (incorrect) labels. Existing works usually employ a closed-set assumption, whereby the samples associated with noisy labels possess a true class contained within the set of known classes in the training data. However, such an assumption is too restrictive for many applications, since samples associated with noisy labels might in fact possess a true class that is not present in the training data. We refer to this more complex scenario as the open-set noisy label problem and show that it is nontrivial in order to make accurate predictions. To address this problem, we propose a novel iterative learning framework for training CNNs on datasets with open-set noisy labels. Our approach detects noisy labels and learns deep discriminative features in an iterative fashion. To benefit from the noisy label detection, we design a Siamese network to encourage clean labels and noisy labels to be dissimilar. A reweighting module is also applied to simultaneously emphasize the learning from clean labels and reduce the effect caused by noisy labels. Experiments on CIFAR-10, ImageNet and real-world noisy (web-search) datasets demonstrate that our proposed model can robustly train CNNs in the presence of a high proportion of open-set as well as closed-set noisy labels.



There are no comments yet.


page 3

page 6

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

The success of Convolutional Neural Networks (CNNs) [20] is highly tied to the availability of large-scale annotated datasets, e.g., ImageNet [10]. However, large-scale datasets with high-quality label annotations are not always available for a new domain, due to the significant time and effort it takes for human experts. There exist several cheap but imperfect surrogates for collecting labeled data, such as crowd-sourcing from non-experts or annotations from the web, especially for images (e.g., extracting tags from the surrounding text or query keywords from search engines). These approaches provide the possibility to scale the acquisition of training labels, but invariably result in the introduction of some noisy (incorrect) labels. Moreover, even high-quality datasets are likely to have noisy labels, as data labeling can be subjective and error-prone. The presence of noisy labels for training samples may adversely affect representation learning and deteriorate prediction performance [27]. Training accurate CNNs against noisy labels is therefore of great practical importance.

Figure 1: An illustration of closed-set vs open-set noisy labels.
Figure 2: An overview of our framework that iteratively learns discriminative representations on a “jasmine-cat” dataset with open-set noisy labels. It not only learns a proper decision boundary (the black line separating jasmine and cat) but also pulls away noisy samples (green and purple) from clean samples (blue and red).

We will refer to samples whose classes are mislabeled/incorrectly annotated as noisy samples and denote their labels as noisy labels. Such noisy labels can fall into two types, closed-set and open-set. More specifically, a closed-set noisy label occurs when a noisy sample possesses a true class that is contained within the set of known classes in the training data. While, an open-set noisy label occurs when a noisy sample possesses a true class that is not contained within the set of known classes in the training data. The former scenario has been studied in previous work, but the latter one is a new direction we explore in this paper. Figure 1 provides a pictorial illustration of noisy labels, where we have an image dataset with two classes, jasmine (the plant) and cat (the animal). The closed-set noisy labels occur when cat and jasmine are mislabeled from one category to the other, but the true labels of these images are still cat or jasmine. The open-set noisy labels occur for those images labeled as cat or jasmine, but their true labels are neither cat nor jasmine, e.g., the zoo map and the cartoon character. Table 1 demonstrates all the possible cases on how different samples are labeled in this problem. The leftmost column specifies the true class and the other columns specify the type of label in the dataset.

labeled as “jasmine” labeled as “cat”
true “jasmine” clean closed-set
true “cat” closed-set clean
other class images open-set open-set
Table 1: Types of labels for a “jasmine-cat” dataset.

Previous work has addressed the noisy label problem explicitly or implicitly in a closed-set setting, via either loss correction or noise model based clean label inferring [22, 29, 37, 38]. However, these methods are vulnerable in the more generic open-set scenario, as loss or label correction may be inaccurate since the true class may not exist in the dataset. Open-set noisy labels are likely to occur for scenarios where data are harvested rapidly, or use approximate labels (e.g., using a search engine query to retrieve images and then labeling the images according to the query keyword that was used). To the best of our knowledge, how to address the open-set noisy label problem is a new challenge.

In this paper, we propose an iterative learning framework that can robustly train CNNs on datasets with open-set noisy labels. Our model works iteratively with: (1) a noisy label detector to iteratively identify noisy labels; (2) a Siamese network for discriminative feature learning, which imposes a representation constraint via contrastive loss to pull away noisy samples from clean samples in the deep representation space; and (3) a reweighting module on the softmax loss to express a relative confidence of clean and noisy labels on the representation learning. A simplified illustration of the proposed framework is presented in Figure 2. Our main contributions can be summarized as follows:

(1) We identify the open-set noisy label problem as a new challenge for representation learning and prediction.

(2) We propose an iterative learning framework to robustly train CNNs in the presence of open-set noisy labels. Our model is not dependent on any assumption of noise.

(3) We empirically demonstrate that our model significantly outperforms state-of-the-art noisy label learning models for the open-set setting, and has a comparable or even better performance under the closed-set setting.

2 Related work

A simple approach to handle noisy labels is to remove samples with suspicious labels from the training data [4]. However, such methods are often challenged by the difficulty of distinguishing samples that are inherently hard to learn from those with noisy labels [13]

. In contrast to simply removing them, the following work focuses on addressing the noisy label problem via deep learning.

One alternative approach is to explicitly or implicitly formulate the noise model and use a corresponding noise-aware approach. Symmetric label noise that is independent of the true label was modeled in [21], and asymmetric label noise that is conditionally independent of the individual sample was modeled in [26, 33]. More complex noise models for samples, true labels and noisy labels can be characterized by directed graphical models [43], Conditional Random Fields (CRF) [37], neural networks [38]

or knowledge graphs

[22]. These methods aim to correct noisy labels to their true labels via a clean label inferring. However, they require availability of an extra dataset with pre-identified noisy labels and their ground truth labels in order to model label noise. Moreover, these methods make their own specific assumptions about the noise model, which will limit their effectiveness under complicated label noise.

Other approaches utilize correction methods to adjust the loss function to eliminate the influence of noisy samples. Backward

[29] and Forward [29]

are two such correction methods that use an estimated or learned factor to modify the loss function.

[34, 11] further augment the correction architecture by adding a linear layer on top of the network. Bootstrap [30] is another loss correction method that replaces the target labels used by a loss function with a combination of raw target labels and their predicted labels.

The above methods implicitly assume a closed-set noisy label setting, where the true labels are always contained within the set of known classes in the training data. Such restricted assumption contradicts the more practical open-set scenario. Open-set noisy samples should be considered separately. In our proposed model, we iteratively detect noisy samples and gradually pull them away from clean samples, which is different from removing them or labeling them to a new “unknown” class [33] (these two approaches are evaluated in Section 4.1.3). Moreover, the proposed framework does not depend on the noise model, and is able to address both the open-set and the closed-set noisy label problem.

3 Iterative learning framework

Figure 3: The framework of the proposed iterative learning approach. Iterative noisy label detection module and discriminative feature learning module form a closed-loop, i.e., one module’s inputs are the other module’s output, which can benefit from each other and be jointly enhanced. The network is jointly optimized by two types of losses: reweighted softmax loss and contrastive loss.

Our goal is to learn discriminative features from a dataset with noisy labels. We propose an iterative learning framework that gradually pulls away noisy samples from clean samples in the deep feature space. As illustrated in Figure 

3, our proposed model consists of three major modules: 1) iterative noisy label detection, 2) discriminative feature learning, and 3) reweighting. The noisy label detection uses the output features of the network (dashed lines) to separate training samples into two subsets: clean samples and noisy samples. To benefit from the noisy label detection, we employ a Siamese network to impose a representation constraint forcing the representation of clean samples and that of noisy samples to be as discriminative as possible. Besides, a reweighting module that assigns a weight for each sample based on the confidence supplied by the noisy label detection is used to emphasize clean samples and weaken noise samples on the discriminative representation learning. Such learned discriminative representations will in turn benefit the noisy label detection. Considering the representation learning as an iterative process, we further design the noisy label detection to be iterative so that the discriminative feature learning and the iterative noisy label detection can be jointly improved over iterations. A brief description of how each module works is listed as follows: Iterative noisy label detection: We iteratively detect noisy labels based on the features of the network, because samples from the same class should be intrinsically similar, while mislabeled samples are generally not [2].

Discriminative feature learning: We use a Siamese network with two sub-networks of sharing weights. It takes “similar” or “dissimilar” sample pairs as inputs and uses a contrastive loss to minimize distance between similar samples and maximize distance between dissimilar samples. It can also be seen as a representation constraint.

Reweighting: For detected clean samples, we set their weights to 1 (no reweighting) on softmax loss, while for detected noisy samples, we assign them smaller weights individually based on how likely one sample being noisy. To avoid misdetection, samples near the decision boundary will be weighted of close importance to clean samples.

The framework is jointly optimized by two loss terms:


where RSL is the reweighted softmax loss, CL is the contrastive loss and is a trade-off parameter. The above objective incorporates the iterative noisy label detection, discriminative feature learning and reweighting into an effective learning framework that is robust to noisy labels.

3.1 Iterative noisy label detection

Considering that samples from the same class should have similar high-level representations but samples mislabeled into the class do not [2]

, we detect noisy labels based on the representations of the pre-softmax layer. To benefit from the iterative learning process of representation, we iteratively perform noisy label detection every few epochs. We also use a cumulative criterion based on all previous iterations of detection to reduce the influence of randomness in one particular iteration and further produce more stable detection results.

Our detection method is a probabilistic and cumulative version of Local Outlier Factor algorithm (pcLOF), which inherits the advantages of LOF,


, it is an unsupervised algorithm which performs well on high dimensional data and requires no assumptions of the underlying data distribution. Formally, pcLOF is defined as:


where is the current number of iteration and is a local Gaussian statistics transformation, which scales the cumulative LOF score to a probabilistic value in [0, 1] as in [17, 18]

. The pcLOF score can be directly interpreted as the probability of a sample being an outlier. In the noisy label detection setting, a pcLOF score close to 0 indicates a clean sample, while a score close to 1 indicates a noisy sample.

LOF is a density-based outlier detection algorithm

[3] and the LOF score of a sample is defined as follows:


where is the set of nearest neighbors of and is the local reachability density () of :


where is the reachability distance of to . Intuitively, if is far away from , then the reachability distance is simply (their actual distance). However, if they are “sufficiently” close, the actual distance is replaced by (the distance of to its -th nearest neighbor), which means that samples inside of the nearest of are considered to be equally distant.

Note that the noisy label detection works iteratively, thus we do not need complicated detection algorithms. With the representation become more discriminative, they can converge to almost the same result as long as the iteration is long enough. To balance the efficiency and effectiveness in training, we perform pcLOF based iterative noisy label detection every 10 epochs after 2-epoch network initialization in our experiments.

3.2 Discriminative feature learning

We implement a Siamese network [8, 14] with two channels of the same base network and sharing weights. It generates “similar” and “dissimilar” sample pairs based on the clean and noisy samples detected by the noise label detection module, and works with a contrastive loss to minimize distance between samples of the same class and maximize distance between samples of different classes as well as distance between clean samples and noisy samples.

Denote the Euclidean distance between and in the deep representation space as follows:


where denotes the -th layer output of the network under parameters . The similarity indicator is defined based on the output of noisy label detection:


Two samples are considered to be “similar” (), if and only if the two samples are from the same class and both are correctly labeled. Two samples are considered to be “dissimilar” (), if two samples are from different classes, or one is a clean sample and the other is a noisy sample. Note that we do not define the relationship between two noisy samples as their true classes are not contained within the training data, thus cannot be simply defined as similar or dissimilar. When noisy samples are not available before the first iteration of noisy label detection, dissimilar pairs only contain the samples from different classes.

The contrastive loss for discriminative feature learning can be formulated as:


where is a margin formulating how far away two dissimilar samples should be pulled from each other. This contrastive loss will force the distance between dissimilar pairs, e.g., clean samples and noisy samples, to be larger than the margin , and similar pairs, i.e., clean samples from the same class, to be clustered.

Although the amount of possible sample pairs can be huge, some of the pairs are easy to discriminate and ineffectual for training (i.e., the distance between two dissimilar samples is already larger than the margin ). Therefore, we implement the widely used hard example mining strategy [31] to obtain the closest dissimilar pairs and the most distant similar pairs to feed into the network. The base network can be any kind of architectures, such as VGG [32], ResNet [15] and Inception [36].

3.3 Reweighting

To ensure an efficient and accurate representation learning, we also design a reweighting module before the softmax loss to adaptively use the label information with different confidence. Applying softmax loss on clean samples is intuitively to make use of their trustworthy label information. The reason for also applying softmax loss on noisy samples is that the detected noisy samples may contain some clean samples, especially at the start of the training. Those samples are close to the decision boundary and are often very informative for representation learning as pointed out in [13], which cannot be simply ignored, i.e., setting their weights to 0. This is also verified by the experiments in Section 4.1.3. Therefore, a reweighting module paired with the softmax loss is used to adaptively address the detected clean and noisy samples simultaneously.

Since the noisy label detection method pcLOF provides the confidence/probability of a sample being noisy, we use as a reweighting factor on the detected noisy samples to express their relative confidence. We set the initial to 1 before the first iteration of noisy label detection, as the learning proceeds, the of a noisy sample will be gradually decreased as the noisy label detection tends to be more and more accurate. The reweighted softmax loss (RSL) of our model is defined as:


where , denote the number of detected clean and noisy samples respectively, is the proposed reweighting factor on the detected noisy samples, and is the softmax probability of being in class . The softmax loss used in our framework can also be replaced to more advanced ones [24, 23] to further boost the performance.

4 Experiments

In this section, we evaluate the robustness of our proposed model to noisy labels with comprehensive experiments on CIFAR-10 (small dataset), ImageNet (large-scale dataset), and web-search dataset (real-world noisy dataset).

4.1 Exploratory experiments on CIFAR-10

We first conduct a series of experiments on CIFAR-10 dataset towards a comprehensive understanding of our model through comparisons to the state-of-the-arts.

Baselines: Several recently proposed noisy label learning models are chosen as our baselines: (1) Backward [29]: The networks are trained via loss correction by multiplying the cross entropy loss by an estimated correction matrix; (2) Forward [29]: The networks are trained with label correction by multiplying the network prediction by an estimated correction matrix; (3) Bootstrap [30]: The networks are trained with new labels generated by a convex combination (the “hard” version) of the noisy labels and their predicted labels; and (4) CNN-CRF [37]: The networks are trained with latent clean labels inferred by CRF from only noisy training datasets. We also include the method of Cross-entropy: learning directly from noisy datasets with a vanilla cross entropy loss.

Experimental setup: The baseline models use a network architecture with 6 convolutional layers and 1 fully connected layer (fc7

). Batch normalization (BN)


is applied in each convolutional layer before the ReLU activation, a max-pooling layer is implemented every two convolutional layers, and a softmax layer is added on top of the network for classification. The parameters of the baselines are configured according to their original papers. For our model, two copies of the above network are implemented and the contrastive loss is built upon the

fc7 layer. We set , , and samples with are considered as noisy samples111As pointed by [17, 18], pcLOF is not sensitive to parameter

. The classification accuracy (ACC) on clean CIFAR-10 test set is used as the evaluation metric.

All networks are trained by Stochastic Gradient Descent (SGD) with learning rate 0.01, weight decay

and momentum 0.9, and the learning rate is divided by 10 after 40 and 80 epochs (100 in total). All images are mean-subtracted and normalized to , and no data augmentation is implemented in this part.

Open-set noisy datasets are built by replacing some training images in CIFAR-10 by outside images, while keeping the labels and the number of images per class unchanged. The “mislabeled” outside images are from either different public datasets (type I noise) or severely damaged CIFAR-10 images (type II noise). Type I noise includes images from CIFAR-100 [19], ImageNet32 (3232 ImageNet images) [9] and SVHN [28]

, and only those images whose labels exclude the 10 classes in CIFAR-10 are considered. Type II noise includes images damaged by Gaussian random noise (mean 0.2 and variance 1.0), corruption (

of an image is set to black or white) and resolution distortion (an image is resized to 44 and then dilated back to 3232). Some examples of the type I and type II open-set noise are given in Figure 4. For closed-set noisy datasets, we choose a random proportion of CIFAR-10 training images per class and change its label to an incorrect random one. This closed-set label noise belongs to symmetric noise, which is more challenging than asymmetric noise [29].

Figure 4: Examples of open-set noise for “airplane” in CIFAR-10.
Open-set label noise type Cross-entropy Backward Forward Bootstrap CNN-CRF Ours
Type I CIFAR-10 + CIFAR-100 62.92 55.97 64.18 62.11 64.58 79.28
CIFAR-10 + ImageNet32 58.63 52.35 66.77 57.83 67.53 79.38
CIFAR-10 + SVHN 56.44 52.03 56.70 56.89 56.93 77.73
Type II CIFAR-10 + Gaussian 61.96 54.98 72.70 59.05 72.51 80.37
CIFAR-10 + Corruption 57.40 50.24 63.80 56.00 64.25 74.48
CIFAR-10 + Resolution 56.93 49.58 62.65 58.95 63.60 77.30
Table 2: Accuracies (%) of different models on CIFAR-10 noisy dataset with open-set noise. The best results are in bold.
Method noise noise
Clean 84.85 84.85
Cross-entropy 74.17 62.38
Backward 76.27 75.18
Forward 79.25 77.81
Bootstrapping 74.39 69.50
CNN-CRF 80.15 78.69
Ours 81.36 78.15
Table 3: Accuracies (%) on CIFAR-10 noisy dataset with and closed-set noise. Top 2 results are in bold except for “Clean”.

4.1.1 Classification performance

Open-set label noise: The classification accuracy on CIFAR-10 noisy datasets with open-set noise is reported in Table 2. As can be seen, our model outperforms the baselines with large margins on both type I (top three rows) and type II (bottom three rows) open-set noise. The poor performance of baselines is because they either ignore the existence of noisy labels such as Cross-entropy, or attempt to correct noisy labels to so-called “clean labels”. For example, in CIFAR-10+SVHN, noisy images from SVHN are still noisy even if their labels are corrected to one of the CIFAR-10 classes, thus still harm representation learning. Our superior performance indicates that our model is capable of learning accurate representation directly from datasets with open-set noisy labels. Such capability opens up more opportunities for many applications that, for example, require learning directly from web-search data.

Closed-set label noise: We also assess our model under the closed-set noise settings of and noise rates. The results are reported in Table 3. The first row “clean” provides a performance “upper bound” trained on the totally clean CIFAR-10 dataset. Compared to baselines, our model achieves comparable or better performance. In particular, our model surpasses all baselines at the 20% noise level and its performance is close to the clean training. At the 40% noise level, our model achieves an accuracy that is comparable to CNN-CRF and higher than other baselines. This experiment demonstrates that our model can also effectively learn from datasets with closed-set noisy labels.

Discussion: Revisiting Table 2

, we find that some baselines (Forward and CNN-CRF) achieve considerable improvements on CIFAR-10+CIFAR-100 and CIFAR-10+ImageNet32, compared to Cross-entropy. This may be caused by the similarity between images from CIFAR-100/ImageNet32 and those in CIFAR-10. Since CIFAR-100 and ImageNet32 have many fine-grained classes, some noisy images from these two datasets can be regarded as the closed-set noise rather than the open-set noise. However, for dissimilar datasets,

e.g., CIFAR-10+SVHN, we can see that those baselines perform almost the same poorly. This interesting finding implies another evidence that our model still works well when open-set and closed-set noise coexist.

4.1.2 Model interpretation

We further demonstrate some visual results to help understand how our model works.

Iterative noisy label detection: We first show the effectiveness of the iterative noisy label detection module. We use the measure of true noisy label rate (true positive rate) of the detected noisy labels. In Figure 5, the detection becomes more and more precise as the training proceeds, and the trend is consistent across tall classes, which meets our expectation that the iterative noisy label detection will improve accordingly as the learned features become increasingly discriminative. Figure 6 gives some of those detected noisy images. We can see many noticeable open-set noisy images, e.g., flower, fish to name a few, which confirms that our iterative noisy label detection method can indeed accurately identify noisy samples contained within the dataset.

Figure 5: The true positive rate of the detected noisy labels over iteration on CIFAR-10+CIFAR-100 (40% open-set noise).
Figure 6: Randomly selected images (10 per class) from the detected noisy images of CIFAR-10+CIFAR-100 with open-set noise at -th epoch.
Figure 7: Visualization of the learned features. This visualization experiment uses a 2-class subset of CIFAR-10+CIFAR-100 (40% open-set noise) by setting the output feature dimension as 2.

Discriminative features: Next, we show the discriminative feature learning ability of our model by visualizing the learned features at different stages of the training process in 2-D space. Figure 7 evidently shows that the learned features become more and more discriminative as noisy samples are gradually pulled away from clean samples. At the first epoch, all samples are densely overlapped together, as the training proceeds to the -th epoch, not only the two classes have been separated, the noisy samples are also pulled away from the clean ones within each class. This confirms that the discriminative feature learning module can work effectively with the iterative noisy label detection module to isolate noisy samples.

4.1.3 Module analysis via ablation experiments

For a comprehensive understanding of our model, we further evaluate each module via ablation experiments on CIFAR-10+CIFAR-100 with 20% and 40% open-set noise.

Table 4 presents the following six experiments: (a) Without reweighting: we only change the weights of softmax loss on noisy samples by either assigning the same weights as clean samples (case : ), or ignoring noisy samples (case : ). (b) Without discriminative feature learning: we only remove the contrastive loss (the remaining model still has iterative noisy label detection and reweighted softmax loss modules). As for the detected noisy samples, we either remove them (case : removing) or label them to a new class “unknown” (case : new class). (c) Without iterative noisy label detection: we either conduct detection only once at the first iteration of detection (case : only once) or remove the detection module along with the reweighting on softmax loss (case : no).

Method CIFAR-10+CIFAR-100
noise noise
Our model 81.96 79.28
(a) w/o reweighting
– case : 76.97 74.45
– case : 79.27 76.03
(b) w/o discriminative learning
– case : removing 76.22 68.40
– case : new class 78.34 73.11
(c) w/o iterative detection
– case : only once 77.52 70.31
– case : no 76.17 63.50
Table 4: Accuracies (%) on CIFAR-10+CIFAR-100 ( & open-set noise) after removing (w/o) each module from our model.

Performance drops are observed in Table 4 when any of the three modules is removed or replaced. The accuracy drop compared to our original model can be interpreted as the contribution of the module. Particularly, if discriminative feature learning (case ) or iterative noisy label detection (case ) is removed, the accuracy significantly decreases, which indicates that the two modules work jointly in an efficient way and can enhance each other. When the detected noisy samples are removed (case ) or re-labeled to a new class “unknown” (case ), the accuracy also drops considerably, which proves that discriminative features forced by the contrastive loss are critical for accurate noisy label detection which further improves discriminative feature learning. From both cases in (a), we can see that reweighting is necessary for a proper handling of the detected noisy samples which may contain some clean samples around the decision boundary.

4.1.4 Parameter and complexity analysis

Moreover, we assess the influence of parameter in our model, which is used to balance the contrastive loss and the softmax loss. We test a series of on CIFAR-10+CIFAR-100 with 40% open-set noise. Table 5 shows that our model is not sensitive to the parameter as long as it lies in a comparable range to the weight of softmax loss on clean samples (its weight is 1).

We also compare our model with other baselines against different open-set noise rates on CIFAR-10+CIFAR-100. It can be seen in Figure 8 that our model still performs the best under all noise rates, even at a high noise rate up to 50%. The performance of baselines, however, decrease significantly as noise rate increases.

As for the complexity of our framework, the extra costs mainly lie on pcLOF computing. However, it is computed 1) within each class not on the entire data, 2) in parallel for different classes and 3) only every 10 epochs not each epoch. Moreover, pcLOF can be computed on GPU with 100X speed-up [1]. The proportion of the time cost of pcLOF with respect to the training time is: . Thus, the computation of pcLOF is much less expensive.

0.5 0.7 0.9 1.0 1.3 1.5
Ours 76.08 79.04 79.36 79.77 79.08 77.80
Table 5: Accuracies (%) of our model on CIFAR-10+CIFAR-100 ( open-set noise) with different .
Figure 8: Accuracies of different models on CIFAR-10+CIFAR-100 with different open-set noise rates.

4.2 Experiments on ImageNet

From above experiments, we have demonstrated that our model achieves superior performance on a small dataset CIFAR-10 against both open-set and closed-set label noise. Here, we further present its capacity to handle large-scale datasets containing open-set noisy labels, i.e., ImageNet. Meanwhile, we also show that our model works effectively with different modern deep neural network architectures: ResNet-50 [15] and Inception-v3 [36].

Experimental setup: Based on the ImageNet 2012 dataset [10] (1.3M images of 1000 classes), we generate an open-set noisy dataset by randomly taking 200 classes of images as clean data, which are then mixed with uniformly and randomly selected images from other 800 classes. Finally, we obtain a noisy dataset of

290k images with 200 classes and 20% noise rate in each class. ResNet-50 and Inception-v3 networks are implemented in Keras

[7]. We train the networks with batch size 128 and initial learning rate 0.01, which is reduced by at the 30-th, 60-th and 80-th epoch. The training ends at the 100-th epoch. Several commonly used data augmentations are applied, i.e., pixel random crops, horizontal random flips and scale data augmentation as in [12]

. All images are normalized by the per-color mean and standard deviation. We test the models using the ImageNet validation set of the 200 clean classes along with a single center crop (


Results: The baselines compared here are the same as that in Section 4.1, and we report the Top-1 and Top-5 classification accuracy. The results can be found in Table 6. Again, our model outperforms other baselines with significant margins for ResNet-50 as well as Inception-v3 architectures. Meanwhile, we notice that some baseline models such as CNN-CRF and Forward also demonstrate certain improvements compared to Cross-entropy. This may because that some ImageNet classes are fine-grained and visually similar such that some open-set noisy images are “closed-set” to some extent. In fact, this is in line with complex real-world situations, where a clear boundary between closed-set noisy labels and open-set noisy labels is often hard to draw. The superiority of our model on such datasets implies its advantages against real-world noisy data, where closed-set and open-set label noise may coexist.

4.3 Experiments on real-world noisy dataset

Finally, we assess our model on real-world noisy dataset, where noise type (closed-set or open-set) and noise rate are unknown. This is to demonstrate that our model can effectively make use of noisy data (web-search data) to learn accurate representation for real-world scenarios, e.g., no clean labeled data are available for a new domain.

Experimental setup: We use Google image search engine to obtain a web-search image set of 1.2M images (0.8k per class) using the query list from ImageNet [10], SUN [42] and NEIL [6] datasets, similar as in [5], but we do not remove images from the searched results. For conceptually clear queries, Google returns relatively clean results, however, for “ambiguous” queries, the results are very similar to open-set label noise, e.g., ‘jasmine’ query returns a plant or a cartoon character. The experimental setup and training are same as Section 4.2. For testing, however, this is a challenging task as there are no clean test data available. There are several ways to evaluate the learned features. Here we adopt a well defined classification task to achieve that. Specifically, we treat the learned network as a feature extractor by fixing all its layers except the softmax layer. We then train a softmax layer for classification using the CIFAR-100 training set. Because the optimization of the classification layer (i.e

., multi-class logistic regression) is convex, the classification accuracy can be used to evaluate the learned features.

Results: The classification accuracy on CIFAR-100 test set is reported in Table 7

. As shown, our model achieves the best performance compared to baselines for both ResNet-50 and Inception-v3. This indicates that our model can robustly train CNNs from real-world noisy dataset. Note that the noisy data are from web, thus our model can also be extended to webly supervised learning


In summary, empirical evidence has demonstrated that our model is a promising framework for learning from datasets with noisy labels (open-set and closed-set). Moreover, it can also be used for webly supervised learning.

Method ResNet-50 Inception-v3
Top-1 Top-5 Top-1 Top-5
Cross-entropy 58.51 75.62 60.73 76.75
Backward 59.32 75.61 61.27 76.74
Forward 64.17 79.43 65.48 80.68
Bootstrapping 59.05 75.00 61.50 76.13
CNN-CRF 66.54 82.37 67.23 84.12
Ours 70.29 86.04 71.43 87.87
Table 6: Accuracies (%) of different models on the 200-class ImageNet with 20% open-set noise. The best results are in bold.
Method ResNet-50 Inception-v3
Cross-entropy 57.32 53.82
Backward 58.75 54.02
Forward 61.65 58.28
Bootstrapping 57.62 54.49
CNN-CRF 63.94 60.47
Ours 67.90 64.21
Table 7: Accuracies (%) of different models trained on real-world noisy data (web-search data) and tested on CIFAR-100 test set. The best results are in bold.

5 Conclusions

In this paper, we identified and investigated the open-set noisy label problem – a more complex noisy label scenario that commonly occurs in real-world datasets. We proposed an iterative learning framework to address the problem with three powerful modules: iterative noisy label detection, discriminative feature learning, and reweighting. These modules are designed to benefit from each other and to be jointly improved over iterations. We empirically show that our model not only outperforms the state-of-the-arts for open-set label noise, but also effective for closed-set label noise, on datasets of various scales.

Acknowledgment. This work is supported by National Natural Science Foundation of China (No. 61771273), NSFC U1609220, NSF IIS-1639792 EAGER, ONR N00014-15-1-2340, Intel ISTC, Amazon AWS and China Scholarship Council (CSC).


  • [1] M. Alshawabkeh, B. Jang, and D. Kaeli. Accelerating the local outlier factor algorithm on a gpu for intrusion detection systems. In 3rd Workshop on General-Purpose Computation on Graphics Processing Units, 2010.
  • [2] C. Bouveyron and S. Girard. Robust supervised classification with mixture models: Learning from data with uncertain labels. Pattern Recognition, 42(11):2649–2658, 2009.
  • [3] M. M. Breunig, H. Kriegel, R. T. Ng, and J. Sander. LOF: identifying density-based local outliers. In SIGMOD, 2000.
  • [4] C. E. Brodley and M. A. Friedl. Identifying mislabeled training data.

    Journal of Artificial Intelligence Research

    , 11:131–167, 1999.
  • [5] X. Chen and A. Gupta. Webly Supervised Learning of Convolutional Networks. In ICCV, 2015.
  • [6] X. Chen, A. Shrivastava, and A. Gupta. Neil: Extracting visual knowledge from web data. In ICCV, 2013.
  • [7] F. Chollet. Keras., 2015.
  • [8] S. Chopra, R. Hadsell, and Y. LeCun. Learning a similarity metric discriminatively, with application to face verification. In CVPR, 2005.
  • [9] P. Chrabaszcz, I. Loshchilov, and F. Hutter. A downsampled variant of imagenet as an alternative to the cifar datasets. arXiv preprint arXiv:1707.08819, 2017.
  • [10] J. Deng, W. Dong, R. Socher, J. Li, Li, K. Li, and L. Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009.
  • [11] J. Goldberger and E. Ben-Reuven. Training deep neural-networks using a noise adaptation layer. In ICLR, 2017.
  • [12] S. Gross and M. Wilber. Training and investigating residual nets. Facebook AI Research, 2016.
  • [13] I. Guyon, V. Vapnik, et al. Discovering informative patterns and data cleaning. In KDD, 1996.
  • [14] R. Hadsell, S. Chopra, and Y. LeCun. Dimensionality reduction by learning an invariant mapping. In CVPR, 2006.
  • [15] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, 2016.
  • [16] S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In ICML, 2015.
  • [17] H.-P. Kriegel, P. Kröger, E. Schubert, and A. Zimek. Loop: local outlier probabilities. In CIKM, 2009.
  • [18] H.-P. Kriegel, P. Kroger, E. Schubert, and A. Zimek. Interpreting and unifying outlier scores. In SDM, 2011.
  • [19] A. Krizhevsky and G. Hinton. Learning multiple layers of features from tiny images. 2009.
  • [20] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In NIPS, 2012.
  • [21] J. Larsen, L. Nonboe, M. Hintz-Madsen, and L. K. Hansen.

    Design of robust neural network classifiers.

    In ICASSP, 1998.
  • [22] Y. Li, J. Yang, Y. Song, L. Cao, J. Luo, and J. Li. Learning from noisy labels with distillation. In ICCV, 2017.
  • [23] W. Liu, Y. Wen, Z. Yu, M. Li, B. Raj, and L. Song.

    Sphereface: Deep hypersphere embedding for face recognition.

    In CVPR, 2017.
  • [24] W. Liu, Y. Wen, Z. Yu, and M. Yang. Large-margin softmax loss for convolutional neural networks. In ICML, 2016.
  • [25] W. Liu, Y.-M. Zhang, X. Li, Z. Yu, B. Dai, T. Zhao, and L. Song. Deep hyperspherical learning. In NIPS, 2017.
  • [26] N. Natarajan, I. S. Dhillon, P. Ravikumar, and A. Tewari. Learning with noisy labels. In NIPS, 2013.
  • [27] D. F. Nettleton, A. Orriols-Puig, and A. Fornells. A study of the effect of different types of noise on the precision of supervised learning techniques. Artificial Intelligence Review, 33(4):275–306, 2010.
  • [28] Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu, and A. Y. Ng. Reading digits in natural images with unsupervised feature learning. In NIPS-WS, 2011.
  • [29] G. Patrini, A. Rozza, A. Krishna Menon, R. Nock, and L. Qu. Making deep neural networks robust to label noise: A loss correction approach. In CVPR, 2017.
  • [30] S. Reed, H. Lee, D. Anguelov, C. Szegedy, D. Erhan, and A. Rabinovich. Training deep neural networks on noisy labels with bootstrapping. arXiv preprint arXiv:1412.6596, 2014.
  • [31] E. Simo-Serra, E. Trulls, L. Ferraz, I. Kokkinos, P. Fua, and F. Moreno-Noguer. Discriminative learning of deep convolutional feature point descriptors. In ICCV, 2015.
  • [32] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
  • [33] S. Sukhbaatar, J. Bruna, M. Paluri, L. Bourdev, and R. Fergus. Training convolutional networks with noisy labels. arXiv preprint arXiv:1406.2080, 2014.
  • [34] S. Sukhbaatar and R. Fergus. Learning from noisy labels with deep neural networks. arXiv preprint arXiv:1406.2080, 2(3):4, 2014.
  • [35] Y. Sun, Y. Chen, X. Wang, and X. Tang. Deep learning face representation by joint identification-verification. In NIPS, 2014.
  • [36] C. Szegedy, V. Vanhoucke, S. Ioffe, J. Shlens, and Z. Wojna.

    Rethinking the inception architecture for computer vision.

    In CVPR, 2016.
  • [37] A. Vahdat. Toward robustness against label noise in training deep discriminative neural networks. In NIPS, 2017.
  • [38] A. Veit, N. Alldrin, G. Chechik, I. Krasin, A. Gupta, and S. J. Belongie. Learning from noisy large-scale datasets with minimal supervision. In CVPR, 2017.
  • [39] Y. Wang, F. Liu, S.-T. Xia, and J. Wu. Link sign prediction by variational bayesian probabilistic matrix factorization with student-t prior. Information Sciences, 405:175–189, 2017.
  • [40] Y. Wang, Q. Tang, S.-T. Xia, J. Wu, and X. Zhu.

    Bernoulli random forests: Closing the gap between theoretical consistency and empirical soundness.

    In IJCAI, 2016.
  • [41] Y. Wang, S.-T. Xia, Q. Tang, J. Wu, and X. Zhu. A novel consistent random forest framework: Bernoulli random forests. IEEE Transactions on Neural Networks and Learning Systems, 2017.
  • [42] J. Xiao, J. Hays, K. A. Ehinger, A. Oliva, and A. Torralba.

    Sun database: Large-scale scene recognition from abbey to zoo.

    In CVPR, 2010.
  • [43] T. Xiao, T. Xia, Y. Yang, C. Huang, and X. Wang. Learning from massive noisy labeled data for image classification. In CVPR, 2015.