Instance-Dependent Noisy Label Learning via Graphical Modelling

Arpit Garg, Cuong Nguyen, Rafael Felix, Thanh-Toan Do, Gustavo Carneiro

TL;DR

Deep learning models easily overfit to mislabeled data, especially when the mistakes depend on the image content itself (Instance-Dependent Noise). This paper introduces InstanceGM, a novel graphical modeling framework that elegantly pairs a discriminative classifier with a generative model. By adopting a continuous Bernoulli distribution for image reconstruction and leveraging semi-supervised learning, InstanceGM eliminates tedious hyperparameter tuning and achieves state-of-the-art accuracy across major noisy-label benchmarks.

What Problem Does This Paper Address?

In machine learning, we often assume our training labels are pristine. In reality, large datasets curated via crowdsourcing or web-scraping are riddled with errors. Early research focused on Instance-Independent Noise (IIN), assuming a cat image is just as likely to be mislabeled as a dog regardless of whether the image is clear or blurry.

However, real-world label noise is Instance-Dependent (IDN): mistakes happen precisely because an image is ambiguous, poorly lit, or contains overlapping classes. Dealing with IDN is notoriously difficult because deep networks struggle to differentiate between a legitimately "hard" clean sample and a noisy, mislabeled one.

Prior graphical models attempted to solve this by generating the image from latent clean labels, but they suffered from two major flaws:

  1. They relied on "co-teaching" strategies that completely discard suspected noisy samples, leading to severe error accumulation.
  2. They used Mean Squared Error (MSE) or standard Binary Cross-Entropy (BCE) for image reconstruction, which mathematically misrepresents pixel data and forces researchers to manually tune complex hyperparameter weights to balance the loss functions.

Methods

InstanceGM addresses these flaws by redesigning the data generation pipeline using a unified graphical model.

The proposed graphical model of the generation process

As shown in Figure 1, the framework treats the true clean label ($Y$) and the image feature representation ($Z$) as hidden latent variables that generate both the observed image ($X$) and its noisy label ($\hat{Y}$).

The training pipeline introduces two key innovations:

  • The Continuous Bernoulli Distribution: Instead of using MSE or standard BCE (which assumes pixels are strictly binary $\{0,1\}$), the authors utilize the continuous Bernoulli distribution. Because it properly accounts for continuous pixel values in the $[0,1]$ range, its log-likelihood includes the correct normalization constants. This mathematically balances the reconstruction loss against the regularization terms automatically, eliminating the need for grid-searching hyperparameter weights.
  • DivideMix Integration: Instead of throwing away noisy samples, InstanceGM integrates a semi-supervised framework called DivideMix. It uses a Gaussian Mixture Model (GMM) to divide the dataset into clean and noisy sets based on model loss. Clean samples are treated as labeled data, while noisy samples are treated as unlabeled data via a MixMatch approach. This allows the model to learn from the visual features of the entire dataset.
The proposed InstanceGM training pipeline

Datasets

The authors evaluated InstanceGM on both synthetically generated IDN datasets and real-world noisy benchmarks:

  • CIFAR-10 & CIFAR-100: Standard datasets injected with synthetic instance-dependent noise at rates ranging from 20% to 50% (and up to 90% for extreme stress testing).
  • Red Mini-ImageNet: A controlled real-world dataset with web-crawled label noise at rates from 20% to 80%.
  • ANIMAL-10N: A real-world dataset featuring 10 animal classes that are naturally confusing to humans (e.g., wolves vs. coyotes), with an estimated natural noise rate of 8%.
  • CLOTHING-1M: A massive, large-scale real-world dataset containing 1 million clothing images scraped from online shopping sites, with an estimated noise rate of 38.5%.

Key Insights and Ideas

  • Mathematical Rigor Simplifies Pipelines: The "aha moment" of the paper is that hyperparameter tuning for loss balancing is often just a band-aid for using the wrong probability distribution. Switching to a continuous Bernoulli distribution naturally balances the variational lower bound (ELBO), making the model simpler and more robust to train.
  • Noisy Data is Still Useful Data: Traditional sample-selection methods treat noisy data as toxic and discard it. InstanceGM proves that treating noisy samples as unlabeled data in a semi-supervised loop preserves critical geometric and feature information of the underlying image space, which is vital for resolving instance-dependent ambiguities.

Key Results

InstanceGM consistently outperformed existing state-of-the-art methods across the board:

  • Synthetic IDN Benchmarks: On CIFAR-100 with a 50% noise rate, InstanceGM achieved 77.19% accuracy, vastly outperforming its direct graphical model predecessor, CausalNL (32.13%), and beating the popular DivideMix baseline (58.61%).
Test accuracy comparison on CIFAR10 and CIFAR100
  • Real-World Noise: On the challenging Red Mini-ImageNet dataset, InstanceGM achieved a clear performance margin across all noise rates. When paired with self-supervised pre-training (InstanceGM-SS), it reached 44.03% accuracy at an extreme 80% noise rate.
Test accuracy comparison on Red Mini-ImageNet
  • Ablation Success: An ablation study on CIFAR-10 (at 50% noise) revealed that swapping co-teaching for DivideMix provided a ~10% accuracy boost, while adding the continuous Bernoulli distribution provided an additional ~7% improvement, validating both core contributions.

Limitations and Future Work

While InstanceGM shows remarkable resilience, its performance still degrades under extreme noise conditions. For instance, when tested at a 90% noise rate on CIFAR-10, accuracy dropped to 11.01% (essentially random guess), though it still outperformed competitors. Additionally, because the framework trains multiple encoders, decoders, and classifiers simultaneously in a parallel dual-model architecture, it carries a higher computational and memory overhead during training compared to simpler, single-model discriminative classifiers. Future work could explore distilling this graphical knowledge into more lightweight architectures for deployment.

Summary updated

BibTeX
@inproceedings{garg2023instance,
  author = {Arpit Garg and Cuong Nguyen and Rafael Felix and Thanh-Toan Do and Gustavo Carneiro},
  title = {{Instance-Dependent Noisy Label Learning via Graphical Modelling}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00232},
}
Figure