Open set label noise learning with robust sample selection and margin-guided module

Yuandi Zhao, Qianxi Xia, Yang Sun, Zhijie Wen, Liyan Ma, Shihui Ying

Introduction

Deep neural networks (DNNs) have demonstrated remarkable performance across various computer vision tasks, largely driven by the availability of massive, labeled datasets. However, the process of annotating such datasets at scale is inherently prone to errors, leading to the presence of "label noise." This noise is generally categorized into two types: closed-set noise, where a sample is incorrectly labeled as another class within the training set, and open-set noise, where the sample belongs to an out-of-distribution (OOD) class not present in the training taxonomy.

While many existing methods effectively address closed-set noise, they often falter when encountering open-set noise. The primary challenge lies in the model's inability to distinguish between "hard-to-learn" clean samples and irrelevant OOD samples, which can lead to poor generalization. This paper introduces RSS-MGM (Robust Sample Selection and Margin-Guided Module), a framework designed to simultaneously identify and handle both noise types by combining robust selection strategies with a novel margin-based filtering mechanism.

The RSS-MGM Framework

The RSS-MGM framework operates through a multi-stage process that prioritizes the expansion of the clean data subset and the precise categorization of noisy samples.

1. Robust Sample Selection (RSS)

Traditional noise-robust methods often rely on the "small-loss" trick, which assumes that clean samples result in lower loss values during the early stages of training. However, being overly conservative with this selection can lead to a small, non-representative training set. RSS improves upon this by incorporating a high-confidence selection step. By using Jensen-Shannon (JS) divergence to measure the similarity between predicted probabilities and the provided labels, the framework can identify high-confidence samples that might have higher loss but are likely clean or informative. This results in a larger and more diverse subset of "clean" data for training.

2. Margin-Guided Module (MGM)

The MGM is the core innovation of the framework, specifically designed to separate In-Distribution (ID) noise from Open-Set (OOD) noise. It utilizes two distinct margin functions:

  • Consistency Margin ($M_v$): This measures the stability of predictions for the same image under different data augmentations. OOD samples typically produce inconsistent, high-uncertainty predictions across variations.
  • Logit Margin ($M_p$): This measures the gap between the highest and second-highest predicted class scores. A significant gap suggests that the model recognizes the sample as belonging to a known class, even if the current label is incorrect. This leverages the tendency of DNNs to be overconfident about samples that resemble the training distribution.

3. Label Reassignment and Filtering

Once samples are categorized, the framework applies tailored strategies:

  • Clean Samples: Trained using standard loss functions combined with label smoothing to improve generalization.
  • ID Noisy Samples: Rather than being discarded, these samples are "re-labeled" using a sharpening technique. This allows the model to recover useful information from mislabeled images (e.g., a "dog" incorrectly labeled as a "cat").
  • OOD Samples: These are filtered out entirely to prevent them from corrupting the feature space with irrelevant information.

Experimental Evaluation

The authors evaluated RSS-MGM against state-of-the-art (SOTA) methods using both synthetic and real-world noisy datasets.

Benchmarks

  • Synthetic Noise: CIFAR100N-C (closed-set) and CIFAR80N-O (open-set, where 20 classes are treated as OOD).
  • Real-World Web Noise: WebFG-496 (fine-grained sub-datasets for Aircraft, Birds, and Cars) and Food101N (a large-scale dataset with naturally occurring noise).

Key Results

RSS-MGM consistently outperformed existing methods like PNP and Jo-SRC. On the CIFAR80N-O benchmark at 20% noise, the framework achieved 67.32% accuracy. Its performance on real-world data was particularly notable, reaching 90.15% accuracy on the Web-Car sub-dataset and a new benchmark of 88.73% on Food101N. Ablation studies confirmed the necessity of the MGM; removing the margin-based filtering caused accuracy to drop by nearly 2%, highlighting its critical role in managing open-set noise.

Discussion and Future Work

RSS-MGM demonstrates that a "bigger clean set" philosophy—moving beyond conservative small-loss selection—can significantly improve feature learning. By exploiting the logit gap and prediction consistency, the model effectively bridges the gap between closed-set and open-set noise handling.

However, the framework does present some limitations. The reliance on multiple thresholds ($\tau_s, \tau_h, \tau_p$) suggests that hyperparameter tuning may be intensive for new datasets. Additionally, the use of dual networks and multiple augmentations increases the computational and memory overhead compared to standard training. Future research may explore more efficient ways to utilize OOD data, perhaps through self-supervised learning objectives, rather than simple exclusion.

Summary updated

BibTeX
@article{zhao2025open,
  author = {Yuandi Zhao and Qianxi Xia and Yang Sun and Zhijie Wen and Liyan Ma and Shihui Ying},
  title = {{Open set label noise learning with robust sample selection and margin-guided module}},
  journal = {Knowledge-Based Systems},
  year = {2025},
  doi = {10.1016/j.knosys.2025.113670},
}
Figure