Abstract: In this paper, we study the problem of learning image classification models with label noise. Existing approaches depending on human supervision are generally not scalable as manually identifying correct or incorrect labels is time-consuming, whereas approaches not relying on human supervision are scalable but less effective. To reduce the amount of human supervision for label noise cleaning, we introduce CleanNet, a joint neural embedding network, which only requires a fraction of the classes being manually verified to provide the knowledge of label noise that can be transferred to other classes. We further integrate CleanNet and conventional convolutional neural network classifier into one framework for image classification learning. We demonstrate the effectiveness of the proposed algorithm on both of the label noise detection task and the image classification on noisy data task on several large-scale datasets. Experimental results show that CleanNet can reduce label noise detection error rate on held-out classes where no human supervision available by 41.5% compared to current weakly supervised methods. It also achieves 47% of the performance gain of verifying all images with only 3.2% images verified on an image classification task.
Introduction
Deep learning models for image classification require vast amounts of labeled data. While web-scraping provides a scalable way to collect millions of images, it introduces significant "label noise"—incorrectly labeled images that degrade model performance. Traditional solutions involve either expensive manual verification or less effective unsupervised heuristics. CleanNet addresses this by introducing a transfer learning framework that learns to identify label noise from a small subset of verified classes and generalizes this knowledge to thousands of unverified categories.
The CleanNet Architecture
CleanNet is a joint neural embedding network designed to determine the relevance of an image to a specific class. It consists of two primary components:
- Reference Set Encoder ($f_s$): This module processes a set of images representing a class (the reference set) to generate a class embedding vector $\phi_c^s$. It employs an attention mechanism to prioritize prototypical images and discount outliers.
- Query Encoder ($f_q$): This module maps a single query image into a query embedding vector $\phi^q$.
The core innovation lies in the shared parameters of these encoders across all classes. By training on a fraction of manually verified classes, the model learns a general matching constraint: relevant images should have embeddings close to their class prototype in the vector space. This allows CleanNet to predict image relevance even for classes it has never seen during supervised training.
Integration with Image Classifiers
CleanNet is designed to be integrated into the training pipeline of standard convolutional neural network (CNN) classifiers. Instead of simply filtering out noisy labels, CleanNet assigns a "sample weight" to each image based on its similarity to the class embedding.
The training follows an alternating scheme: a classifier is initially trained on noisy data; its features are then used to train CleanNet; finally, CleanNet provides weights to fine-tune the classifier using a weighted cross-entropy loss. This "soft weighting" approach preserves potentially useful information while minimizing the impact of incorrect labels.
Experimental Evaluation
The authors evaluated CleanNet on three large-scale datasets: Clothing1M, WebVision, and a newly introduced dataset, Food-101N. Food-101N contains 310k food images with approximately 20% noise, accompanied by 55k manual verification labels to support research in this field.
Key results include:
- Generalization: CleanNet reduced the label noise detection error rate by 41.5% on held-out classes compared to weakly supervised baselines.
- Efficiency: On WebVision, CleanNet achieved 47% of the performance gain of full manual verification while only requiring 3.2% of images to be verified.
- Performance: On Clothing1M, CleanNet reached a state-of-the-art top-1 accuracy of 74.69%.
Conclusion
CleanNet demonstrates that the concept of "class relevance" is transferable across categories. By leveraging an attention-based reference set encoder and a joint embedding space, it provides a scalable and effective solution for training robust classifiers on noisy web data. Future work may explore improved reference set selection and broader applications of this transfer learning approach to other forms of data noise.
Summary updated