An instance-dependent simulation framework for learning with label noise

Keren Gu, Xander Masotto, Vandana Bachani, Balaji Lakshminarayanan, Jack Nikodem, Dong Yin

TL;DR

This paper introduces a novel framework for simulating instance-dependent label noise, which better reflects real-world annotation errors than traditional random noise models. They demonstrate that this instance-dependent noise has a more significant negative impact on model performance, especially in imbalanced datasets and for easier tasks. Furthermore, they propose a "Label Quality Model" (LQM) that leverages simulated rater features to correct noisy labels, significantly improving model robustness.

What Problem Does This Paper Address?

Training machine learning models relies heavily on labeled data. However, in real-world scenarios, human annotations are often imperfect, leading to "label noise." While much research has focused on mitigating the impact of label noise, existing simulation methods typically generate noise randomly and independently of the input data or class. This is a significant simplification, as human errors are often "instance-dependent" – meaning certain examples (e.g., complex or ambiguous ones) are more prone to mislabeling. This disconnect between simulated and real-world noise limits the generalizability of findings and the effectiveness of developed algorithms. The paper aims to bridge this gap by creating a more realistic simulation of label noise and then using this to study its impact and develop better noise-handling techniques.

Methods

The core of the paper is the instance-dependent simulation framework. This framework uses a pseudo-labeling paradigm:

  1. Rater Model Training: A subset of data with clean labels is used to train multiple "rater models" (e.g., neural networks). These models are trained with varying architectures, hyperparameters, and training configurations to simulate a diverse pool of annotators.
  2. Pseudo-Label Generation: These trained rater models are then used to predict labels for the remaining data. The "hard predictions" (i.e., the class with the highest logit) are used as synthetic noisy labels.
  3. Rater Feature Simulation: Crucially, characteristics of these rater models (like training epochs, validation performance, architecture type) are used as proxies for real-world rater features (e.g., annotator expertise, tenure).

For label correction, they propose the Label Quality Model (LQM). This is an intermediate supervised task that:

  1. Leverages the simulated rater features and a small subset of data with both noisy and clean labels (the "paired-subset").
  2. Learns to predict a more accurate label distribution for each instance, considering the input, the noisy label, and the rater's features.
  3. The output of LQM is then used to guide the training of the main prediction model, either by directly replacing noisy labels or by interpolating with the original noisy labels.

Datasets

The paper uses several standard datasets for their experiments:

  • CIFAR10, CIFAR100: Used for image classification tasks, including generating synthetic noisy datasets and benchmarking algorithms.
  • PatchCamelyon (PCam): A medical imaging dataset used for binary classification.
  • Cats vs Dogs (CvD): Another binary classification dataset.
  • CIFAR10-H: Used as a reference for real human labels to evaluate the realism of their synthetic datasets.

They introduce synthetic datasets with instance-dependent label noise generated using their framework, which are made publicly available. These datasets are designed to have controllable noise levels and simulated rater features, differentiating them from datasets with only independent or class-conditional noise.

Key Insights and Ideas

  • Instance-dependent noise is harder: The paper strongly suggests that instance-dependent label noise, which better mimics human annotation errors, is more detrimental to model performance than traditional random noise, even at the same error rate. This highlights the limitations of existing benchmarks.
  • Easier tasks are more sensitive: Counter-intuitively, easier tasks (those with higher accuracy on clean data) are more negatively impacted by label noise. This is because noise can more easily corrupt the well-defined decision boundaries of easy tasks.
  • Pretraining offers robustness: Pretraining models on large datasets significantly improves their robustness to label noise, especially when fine-tuning. This is attributed to the strong inductive biases learned during pretraining.
  • Rater features are valuable: The simulated rater features are shown to be highly effective for correcting noisy labels, leading to the development of the LQM. This suggests that incorporating annotator information is a promising direction for robust learning.

Key Results

  • Dataset Realism: Their synthetic instance-dependent noisy datasets show a smaller mean total variation distance to real human labels compared to independent and class-conditional random noise datasets.
  • Impact of Noise:
    • Label noise has a more pronounced negative impact on class-imbalanced datasets.
  • Pretrained models show a smaller accuracy drop under label noise compared to models trained from random initialization.
  • Easier tasks (higher clean accuracy) are more sensitive to label noise, exhibiting larger accuracy drops.
  • Algorithm Benchmarking: Existing noisy label algorithms perform differently on their instance-dependent datasets compared to random noise datasets. For multi-class problems, their datasets are "easier" for these algorithms, while for binary classification, they are "harder."
  • LQM Performance: The proposed Label Quality Model (LQM), which leverages rater features, significantly improves test accuracy across various datasets and noise levels, especially in medium and high noise settings. For example, on CIFAR10 with high noise (err=0.48), LQM achieves 73.4% accuracy compared to the baseline's 62.4%.
  • LQM Combination: Combining LQM with other noisy label techniques further boosts performance in many settings, particularly on CIFAR10 and CIFAR100.

Limitations and Future Work

  • Simulation Scope: The framework primarily simulates human errors. Other types of label noise (e.g., systematic errors in data collection pipelines) might require different simulation methods.
  • Control Complexity: Controlling the exact amount of label noise in their framework requires careful architecture selection and hyperparameter tuning, making it more complex than simple random flipping.
  • LQM Data Requirement: The LQM requires a "paired-subset" of data with both noisy and clean labels for training. This requirement might not be met in all real-world applications.
  • Future Work: The authors suggest exploring combinations of LQM with semi-supervised learning techniques (like data augmentation and consistency training) and investigating other types of label noise. They also note that understanding the impact of label noise on the validation set itself is a future direction.

Summary updated

BibTeX
@article{gu2023instance,
  author = {Keren Gu and Xander Masotto and Vandana Bachani and Balaji Lakshminarayanan and Jack Nikodem and Dong Yin},
  title = {{An instance-dependent simulation framework for learning with label noise}},
  journal = {Machine Learning},
  year = {2023},
  doi = {10.1007/s10994-022-06207-7},
}
Figure