Learning from Noisy Labels for Long-tailed Data via Optimal Transport

Mengting Li, Chuang Zhu · DOI

Introduction

Deep neural networks (DNNs) have achieved remarkable success in various computer vision tasks, but their performance often hinges on the availability of large-scale, cleanly labeled, and balanced datasets. In real-world scenarios, data often suffers from two significant degradations: label noise and long-tailed class distributions. Label noise leads models to memorize incorrect patterns, while long-tailed distributions cause models to favor majority "head" classes at the expense of minority "tail" classes.

The intersection of these two problems creates a "double whammy." Traditional denoising methods often rely on the "small loss" principle, assuming that clean samples yield lower loss than noisy ones. However, in long-tailed datasets, clean samples from tail classes often exhibit high losses because the model lacks sufficient exposure to them. Conversely, noisy samples from head classes may yield low losses. This paper introduces OTLNL (Optimal Transport Learning from Noisy Labels), a framework designed to decouple these issues and achieve robust learning.

Methodology: The OTLNL Framework

The OTLNL framework addresses the limitations of standard denoising by employing a two-stage process: dynamic sample selection and Optimal Transport-based pseudo-labeling.

1. Dynamic Loss-Distance Cross-Selection

To accurately distinguish between clean and noisy samples in an imbalanced setting, OTLNL moves beyond a global loss threshold. It utilizes two complementary criteria:

  • Label Space (Class-Specific Dynamic Thresholds): Instead of a fixed threshold, the model calculates a unique threshold for each class that evolves during training. This class-awareness ensures that tail-class samples—which naturally have higher losses early in training—are not prematurely discarded as noise.
  • Feature Space (Small Distance): The framework measures the Euclidean distance between a sample’s feature representation and its respective class centroid. Because feature representations are often more robust to label noise than raw predictions, this "small distance" criterion helps identify "clean but difficult" samples that might otherwise be rejected by the loss-based filter.

2. Optimization Denoising via Optimal Transport

After the initial selection, the dataset is partitioned into a "clean set" (labeled) and a "noisy set" (unlabeled). To leverage the noisy set effectively, OTLNL treats the problem as a semi-supervised task. The core innovation is the use of Optimal Transport (OT) for pseudo-label refinement.

The authors treat class centroids from the clean set as the "target" distribution and the noisy samples as the "source" distribution. By minimizing the transport cost between these distributions, the model can more accurately map noisy samples to their true underlying classes. Using centroids as anchors provides a stable global target, which is particularly beneficial for tail classes where individual sample anchors would be too sparse. This represents the first application of OT for pseudo-label aggregation in the field of Learning with Noisy Labels (LNL).

Experimental Evaluation

The researchers conducted extensive experiments across synthetic and real-world benchmarks to validate OTLNL.

Synthetic Benchmarks: CIFAR-10 and CIFAR-100

The model was tested on CIFAR datasets with varying levels of noise (20%, 50%) and imbalance ratios (10, 50, 100). OTLNL consistently outperformed state-of-the-art (SOTA) methods. Notably, in the most extreme scenario (50% noise and an imbalance ratio of 100), OTLNL improved accuracy by 6.53% on CIFAR-10 and 3.63% on CIFAR-100 compared to the previous best-performing methods.

Real-World Large-Scale Data: WebVision and ImageNet

To test scalability, the authors utilized the WebVision dataset, which contains 2.4 million images with inherent noise and long-tail characteristics. OTLNL achieved a top-1 accuracy of 71.43% (at an imbalance ratio of 50), surpassing existing SOTA methods by 0.79%. Furthermore, models trained on WebVision showed superior generalization when evaluated on the ImageNet validation set.

Key Insights

  • Class-Awareness is Essential: Uniform thresholds in long-tailed learning lead to the systematic exclusion of rare classes. Dynamic, class-specific thresholds allow the model to "wait" for tail classes to converge.
  • Feature-Label Synergy: The combination of loss-based (label space) and distance-based (feature space) metrics provides a more holistic view of sample quality. This synergy is crucial for identifying samples that are difficult but correctly labeled.
  • OT as a Global Regularizer: Optimal Transport provides a principled way to align noisy samples with class distributions, mitigating the instability often found in standard pseudo-labeling techniques.

Conclusion and Future Work

OTLNL effectively bridges the gap between Learning with Noisy Labels and Long-Tailed Learning. By combining dynamic thresholding with Optimal Transport, it provides a robust solution for real-world data challenges.

While the results are promising, the authors note that Optimal Transport can introduce computational overhead, although the use of centroids helps manage this. Future work will involve exploring the framework's sensitivity to hyperparameters and its performance on a broader range of "in-the-wild" datasets. The authors have committed to releasing their code to facilitate further community research.

Summary updated

BibTeX
@inproceedings{li2024learning,
  author = {Mengting Li and Chuang Zhu},
  title = {{Learning from Noisy Labels for Long-tailed Data via Optimal Transport}},
  booktitle = {ICONIP},
  year = {2024},
  doi = {10.1007/978-981-96-6594-5\_17},
}
Figure