MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks on Corrupted Labels

Lu Jiang, Zhengyuan Zhou, Thomas Leung, Li-Jia Li

TL;DR

Deep neural networks are incredibly powerful, but their massive capacity allows them to easily "memorize" incorrect or noisy labels, leading to poor generalization on real-world data. MentorNet addresses this by training a secondary "teacher" network that learns a data-driven curriculum. It automatically weights training samples so the primary "student" network focuses on likely correct labels while ignoring the noise.

What Problem Does This Paper Address?

Modern deep Convolutional Neural Networks (CNNs) have a massive capacity for memorization. Research has shown that if you give a deep network totally random labels, it can still reach 0% training error. While impressive, this is a nightmare for real-world datasets (like those scraped from the web) which often contain "corrupted" or "noisy" labels. The model overfits the noise and fails to generalize to clean test data.

Existing techniques like Curriculum Learning (CL) try to fix this by showing the model "easy" examples first. However, traditional CL relies on human-defined, static rules (e.g., "sort by image brightness" or "use samples with low loss"). These predefined curriculums don't adapt to the specific student model's progress or the complex nuances of the data.

Methods

The authors introduce a framework consisting of two interacting networks:

  1. StudentNet: The primary deep CNN (e.g., ResNet-101) being trained for the end task.
  2. MentorNet: A smaller, auxiliary network that acts as a teacher.
MentorNet Architecture

For every training sample, MentorNet computes a weight $v \in [0, 1]$. A high weight means the sample is likely correctly labeled and important; a low weight suggests the sample is noisy and should be ignored.

How is MentorNet trained? * Predefined Approximation: It can be trained to mimic existing mathematical curriculums like Self-Paced Learning. * Data-Driven (DD): This is the core innovation. MentorNet is trained on a small subset of data with verified clean labels. It learns to predict whether a label is correct based on features like the current loss, the difference between current loss and a moving average, and the current training epoch.

The SPADE Algorithm: To train these together, the authors propose SPADE (Scholastic gradient PArtial DEscent). Standard alternating minimization is too slow for deep learning. SPADE allows for efficient, mini-batch-based joint optimization, making it feasible to train very deep networks on massive datasets.

Datasets

The paper evaluates the approach on both synthetic and real-world noise:

  • CIFAR-10 & CIFAR-100: Evaluated with synthetic label noise levels of 20%, 40%, and 80%.
  • ImageNet (ILSVRC2012): Evaluated with 40% synthetic noise to test large-scale performance.
  • WebVision: A massive real-world benchmark containing 2.2 million images with noisy labels crawled from the web. This is the "gold standard" for testing robustness to real-world label corruption.

Key Insights and Ideas

  • The "Aha" Moment on Robustness: The authors prove that MentorNet isn't just a heuristic; it's mathematically related to Robust M-estimators. By weighting samples, the StudentNet is effectively optimizing a robust loss function that is less sensitive to outliers (noisy labels).
  • Curriculum Transferability: A MentorNet trained on a small clean subset of CIFAR-10 can be successfully used to guide a StudentNet training on CIFAR-100. This suggests the "teaching strategy" for identifying noise is somewhat universal across similar domains.
  • Dynamic Feedback: Unlike static curriculums, MentorNet looks at the StudentNet's current loss. If the student is struggling with a sample that it should know by now, MentorNet can adjust its importance dynamically.
  • Burn-in Period: The authors found that letting the StudentNet train on all data (with random dropout) for the first 20% of epochs helps stabilize the model before the "teacher" starts filtering samples.

Key Results

  • Massive Gains on Noise: On CIFAR-10 with 40% noise, MentorNet DD (Data-Driven) achieved 89% accuracy, compared to just 69% for a standard training baseline.
Validation Error Comparison
  • State-of-the-Art on WebVision: At the time of publication, MentorNet achieved the best-published results on the WebVision benchmark (72.6% top-5 accuracy), significantly outperforming other weakly-supervised learning methods.
  • Scalability: The SPADE algorithm proved that curriculum learning could be scaled to "very deep" networks like ResNet-101 and Inception-ResNet without a prohibitive computational overhead.

Limitations and Future Work

  • Clean Data Requirement: The most effective version (MentorNet DD) requires a small amount of clean, golden-labeled data to train the teacher. While the paper shows this transfers well, it might be a bottleneck for entirely new domains where no clean data exists.
  • Complexity: While MentorNet itself is simple (using an LSTM and a few layers), managing the training of two networks and the "burn-in" schedule adds complexity to the ML pipeline.
  • Future Directions: The authors suggest exploring more complex features for MentorNet, such as image features themselves, rather than just metadata like loss and epoch percentage. There is also potential to apply this to other types of noise beyond label corruption, such as feature noise.

Summary updated

BibTeX
@inproceedings{jiang2018mentornet,
  author = {Lu Jiang and Zhengyuan Zhou and Thomas Leung and Li-Jia Li and Li Fei-Fei},
  title = {{MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks on Corrupted Labels}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure