Addressing Long-Tail Noisy Label Learning Problems: a Two-Stage Solution with Label Refurbishment Considering Label Rarity

Ying-Hsuan Wu, Jun-Wei Hsieh, Li Xin, Shin-You Teng, Yi-Kuan Hsieh, Ming-Ching ChangarXiv 2024 · DOI

TL;DR

This paper introduces a novel two-stage approach, LR², to tackle the challenging problem of learning from datasets with both noisy labels and long-tailed class distributions. By combining robust feature learning with a unique label refurbishment strategy and a multi-expert ensemble, LR² significantly improves classification accuracy on these complex real-world datasets.

What Problem Does This Paper Address?

Many real-world datasets suffer from two major issues: noisy labels (incorrectly assigned class labels) and long-tailed distributions (where a few classes have many samples, and many classes have very few). These problems often coexist, making it difficult for standard machine learning models to learn effectively. Previous methods often address these issues independently. For instance, methods designed for noisy labels might assume a balanced dataset, ignoring rare classes, while methods for long-tailed data might not be robust to label noise. This can lead to models making erroneous predictions, especially for the rare classes, or incorrectly refurbishing labels due to confusion between noisy head-class labels and clean tail-class labels. This paper aims to provide a unified solution that effectively handles both challenges simultaneously.

Methods

The proposed solution, dubbed Label Refurbishment considering Label Rarity (LR²), employs a two-stage strategy:

Stage 1: Robust Initial Predictions and Label Refurbishment

  1. Contrastive Learning for Unbiased Features: The first step uses unsupervised contrastive learning (specifically, a MoCo-like setup) to extract robust and unbiased feature representations. This is crucial because contrastive learning is not affected by incorrect labels or class imbalance, ensuring that the learned features are reliable.
  2. Balanced Noise-tolerant Cross-entropy (BANC) Loss: A novel loss function, BANC, is introduced to train a classifier on these features. BANC is inspired by Symmetric Cross Entropy (SCE) but incorporates a linear term to provide better tolerance to label noise and class imbalance, leading to more accurate initial predictions.
  3. Label Refurbishment with Rarity Consideration: Instead of rigidly assigning new labels, the method generates soft labels. It combines the original label with the predicted logit, weighted by a confidence score (from the prediction) and a rarity score (which prioritizes rare classes). This nuanced approach helps correct noisy labels without overly relying on potentially erroneous predictions, especially for tail classes.

Stage 2: Multi-Expert Ensemble Learning

  1. Shared Backbone and Specialized Experts: A shared backbone network is trained using the refurbished soft labels. This is followed by an ensemble of three expert classifiers, each specialized for different class groups:
  2. Many-shot expert (E₁): Focuses on the majority classes.
  3. Medium-shot expert (E₂): Balances predictions across all classes.
  4. Few-shot expert (E₃): Specifically targets rare classes, compensating for the weaknesses of E₁.
  5. Adaptive Loss Functions: Each expert uses a tailored loss function, with weights adjusted based on class sample sizes. Notably, these sample sizes are estimated using the soft labels from the refurbishment stage, providing a more accurate representation of the true class distribution.

Datasets

The authors evaluated their method on:

  • Simulated Noisy and Long-tailed Datasets: CIFAR-10 and CIFAR-100, with artificially introduced symmetric and asymmetric noise and long-tailed distributions.
  • Real-world Noisy and Long-tailed Datasets: Food-101N and Animal-10N.

Key Insights and Ideas

  • Rarity Matters for Refurbishment: The core innovation is incorporating "label rarity" into the refurbishment process. This acknowledges that errors are more likely and impactful in rare classes, guiding the model to be more cautious and accurate when dealing with them.
  • Soft Labels for Robustness: Moving from hard label assignments to soft labels during refurbishment and for expert training is crucial. This allows the model to learn more nuanced representations and avoid overfitting to potentially incorrect hard labels.
  • Specialized Experts for Long-Tail: The multi-expert ensemble, with each expert focusing on a specific class frequency group (many, medium, few), is a powerful way to address the long-tailed distribution. This allows for tailored learning strategies for different data regimes.
  • Unsupervised Features are Key: Starting with unsupervised contrastive learning provides a strong, unbiased foundation that is resilient to the noise and imbalance present in the labels.

Key Results

The proposed LR² method achieved state-of-the-art results across various benchmarks:

  • Simulated Datasets:
    • CIFAR-10 (long-tail, symmetric noise): 92.21% accuracy (imbalance ratio 10, noise 0.4).
  • CIFAR-100 (long-tail, symmetric noise): 70.81% accuracy (imbalance ratio 100, noise 0.4).
  • CIFAR-10 (long-tail, asymmetric noise): 94.19% accuracy (imbalance ratio 10, noise 0.4).
  • CIFAR-100 (long-tail, asymmetric noise): 66.49% accuracy (imbalance ratio 100, noise 0.4).
  • Real-world Datasets:
    • Food-101N: 77.74% accuracy (imbalance ratio 100).
  • Animal-10N: 81.40% accuracy (imbalance ratio 100).

These results consistently surpassed existing methods, demonstrating significant improvements, especially on more challenging scenarios with higher imbalance ratios and noise levels.

Limitations and Future Work

  • Hyperparameter Sensitivity: The paper investigates the influence of hyperparameters like c (for BANC loss) and α (for weighting contrastive and BANC losses), suggesting optimal values were found through experimentation. However, the sensitivity of the model to these parameters in diverse real-world scenarios might warrant further study.
  • Computational Cost: The two-stage approach, involving contrastive learning, a separate classifier training, label refurbishment, and then multi-expert ensemble training, likely incurs a higher computational cost compared to single-stage methods.
  • Future Work: The authors suggest that their approach can be extended to other domains and that further exploration into adaptive loss functions and more sophisticated ensemble strategies could yield even better results. The robustness of their method to different types and levels of noise and imbalance is a promising avenue for future research.

Summary updated

BibTeX
@misc{wu2024addressing,
  author = {Ying-Hsuan Wu and Jun-Wei Hsieh and Li Xin and Shin-You Teng and Yi-Kuan Hsieh and Ming-Ching Chang},
  title = {{Addressing Long-Tail Noisy Label Learning Problems: a Two-Stage Solution with Label Refurbishment Considering Label Rarity}},
  year = {2024},
  eprint = {2403.02363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.02363},
}
Figure