CurriculumNet: Weakly Supervised Learning from Large-Scale Web Images

Sheng Guo, Weilin Huang, Haozhi Zhang, Chenfan Zhuang, Dengke Dong, Matthew R. Scott, Dinglong Huang

Abstract

Deep neural networks typically require massive, manually annotated datasets to achieve high performance. While web-crawled images offer a scalable alternative, they are often "weakly supervised" and contain significant label noise. This paper introduces CurriculumNet, a novel training strategy that leverages unsupervised density-based clustering to rank images by complexity. By training the model through a structured curriculum—starting with clean data and gradually introducing noisy samples—the authors demonstrate that even highly noisy data can act as a regularizer, significantly improving model generalization and achieving state-of-the-art results on large-scale benchmarks.

Introduction

The success of deep learning in computer vision is largely attributed to datasets like ImageNet. However, human annotation is expensive and difficult to scale. Crawling the web using text queries is a cost-effective alternative, but it introduces "label noise"—mismatches between the image content and its search-query label.

Standard training methods often struggle with this noise, as they cannot easily distinguish between "hard" examples (correctly labeled but visually unusual) and "noisy" examples (incorrectly labeled). CurriculumNet addresses this by treating the training process as a curriculum, mimicking the human learning process of mastering simple concepts before tackling complex ones.

Methodology

The CurriculumNet pipeline consists of three primary stages designed to handle noise without human intervention.

1. Feature Generation

Initially, a standard CNN (Inception-v2) is trained on the entire noisy dataset. This model serves as a feature extractor, mapping all images into a high-dimensional space where visual similarities can be measured.

2. Unsupervised Curriculum Design

Within each category, the complexity of images is calculated using a density-based clustering algorithm.

  • Clean/Easy: Images located in high-density regions are visually similar to many others in the same category, suggesting they are likely correct.
  • Noisy/Complex: Images in low-density regions are outliers, likely representing mislabeled or irrelevant content.

The data is partitioned into three subsets: Clean, Noisy, and Highly Noisy.

Examples of images from the WebVision dataset, illustrating the transition from clean, high-density samples (left) to noisy outliers (right).

3. Curriculum Learning

The model is trained sequentially:

  • Stage 1: Training begins on the Clean subset to establish a stable visual foundation.
  • Stage 2: The Noisy subset is added to improve the model's discriminative power.
  • Stage 3: Finally, the Highly Noisy subset is introduced. Rather than discarding "junk" data, it is used with reduced loss weights to provide additional regularization.

Experimental Results

The approach was evaluated on several large-scale datasets, including WebVision (2.4M images), Clothing-1M, and Food-101.

  • WebVision Challenge: CurriculumNet won the 2017 WebVision challenge with a 5.2% top-5 error rate, outperforming the runner-up by a 50% relative margin.
  • Clothing-1M: The method achieved an 18.5% error rate, surpassing specialized noise-reduction algorithms like Patrini et al. (19.6%).
  • Cross-Domain Generalization: Models trained on noisy WebVision data using this curriculum performed nearly as well on the clean ImageNet validation set as models trained directly on ImageNet, proving the effectiveness of the weak supervision.

Discussion and Key Insights

A significant finding of this work is that noise can act as a regularizer. When introduced at the final stage of a curriculum, highly noisy data prevents the model from overfitting to the clean subset, enhancing its ability to generalize to unseen images. Furthermore, the success of the density-based clustering proves that data can effectively "label itself" in terms of complexity without requiring ground-truth verification.

Limitations

The method's effectiveness depends on the quality of the initial feature generation. If the first pass is too biased by noise, the resulting clusters may be inaccurate. Additionally, the current implementation uses fixed hyperparameters for the number of stages and loss weights, which may require tuning for different domains.

Conclusion

CurriculumNet provides a robust framework for training deep models on massive, unannotated web data. By structuring the learning process, it turns the challenge of label noise into a beneficial regularizing force, paving the way for more scalable weakly supervised learning.

Summary updated

BibTeX
@inproceedings{guo2018curriculumnet,
  author = {Sheng Guo and Weilin Huang and Haozhi Zhang and Chenfan Zhuang and Dengke Dong and Matthew R. Scott and Dinglong Huang},
  title = {{CurriculumNet: Weakly Supervised Learning from Large-Scale Web Images}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01249-6\_9},
}
Figure