Instance Correction for Learning with Open-set Noisy Labels

Xiaobo Xia, Tongliang Liu, Bo Han, Mingming Gong, Jun Yu, Gang Niu, Masashi SugiyamaarXiv 2021

Introduction

In real-world machine learning, datasets are rarely perfectly labeled. While much research has focused on closed-set noisy labels (e.g., an image of a dog mistakenly labeled as a cat), this paper addresses the more challenging problem of open-set noisy labels. This occurs when an image does not belong to any of the valid classes in a dataset but is forced into one (e.g., an image of a wolf labeled as a "dog" in a dataset containing only cats and dogs).

Traditional methods typically rely on sample selection, identifying "clean" examples and discarding "noisy" ones. However, this paper argues that discarding data is suboptimal. Even an out-of-distribution image like a wolf contains "robust features" (e.g., fur, four legs) that can help a model learn the general characteristics of related classes like "dog."

Methodology: Instance Correction

The authors propose Instance Correction, a framework that repurposes discarded data instead of throwing it away. The process follows three main steps:

  1. Sample Selection: A training batch is separated into "clean" examples (low loss) and "discarded" mislabeled examples (high loss).
  2. Instance Correction via Adversarial Attack: Instead of discarding the high-loss examples, the authors apply a targeted adversarial attack (specifically, $L_\infty$ PGD). The target of the attack is the noisy label originally assigned to the image.
  3. Training on the Mix: The network is updated using both the clean examples and the newly "corrected" adversarial examples.
The Instance Correction pipeline: Clean examples are used directly, while mislabeled examples undergo adversarial correction to align non-robust features with the noisy label before training.

This approach works by leveraging the distinction between "robust" features (human-comprehensible patterns) and "non-robust" features (imperceptible statistical patterns). Adversarial attacks primarily alter non-robust features. By attacking a wolf image to be classified as a "dog," the algorithm aligns the image's non-robust features with the "dog" label while leaving the robust features (fur, legs) intact, allowing the network to learn safely from the image.

Experimental Setup

The proposed method was evaluated on both synthetic and real-world datasets:

  • CIFAR-10 with Synthetic Noise: Two types of noise were injected:
  • Type I: Out-of-distribution images from datasets like SVHN, CIFAR-100, and ImageNet32.
  • Type II: CIFAR-10 images heavily degraded by Gaussian noise, corruptions, and blur.
  • WebVision: A large-scale dataset (2.4 million images) with real-world web-crawled noise.
Examples of Type I open-set noisy labels, where images from external datasets (SVHN, CIFAR-100, ImageNet32) are introduced into the training set.

Key Results and Insights

The experimental results demonstrate that Instance Correction consistently outperforms state-of-the-art baselines, particularly in high-noise environments.

  • Synthetic Benchmarks: On CIFAR-10 with 80% Type II noise, the proposed S-InsCorr method achieved 71.05% accuracy, significantly higher than the base S2E method (70.26%) and MentorNet (29.75%).
  • Real-world Performance: On the WebVision dataset, M-InsCorr achieved 57.89% Top-1 accuracy, outperforming traditional joint label correction methods (47.60%).

The study highlights that "discarded" data is not garbage. Even out-of-distribution data contains semantic, robust features that are useful for generalization. However, simply mixing bad data back into the pool without correction hurts performance; the adversarial correction step is vital for safely extracting value.

Conclusion and Future Work

Instance Correction redefines how we handle noisy labels by treating adversarial attacks as a constructive tool for data reconciliation. While the method struggles when there are no shared robust features between the noisy image and the target class (e.g., house numbers in an animal dataset), it provides a powerful mechanism for improving model robustness in most practical scenarios. Future work may explore more sophisticated correction methods to further unlock the potential of discarded training data.

Summary updated

BibTeX
@misc{xia2021instance,
  author = {Xiaobo Xia and Tongliang Liu and Bo Han and Mingming Gong and Jun Yu and Gang Niu and Masashi Sugiyama},
  title = {{Instance Correction for Learning with Open-set Noisy Labels}},
  year = {2021},
  eprint = {2106.00455},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.00455},
}
Figure