Learning with Open-world Noisy Data via Class-independent Margin in Dual Representation Space

Linchao Pan, Can Gao, Jie Zhou, Jinbao Wang · DOI

Abstract

Learning with Noisy Labels (LNL) aims to improve the model generalization when facing data with noisy labels, and existing methods generally assume that noisy labels come from known classes, called closed-set noise. However, in real-world scenarios, noisy labels from similar unknown classes, i.e., open-set noise, may occur during the training and inference stage. Such open-world noisy labels may significantly impact the performance of LNL methods. In this study, we propose a novel dual-space joint learning method to robustly handle the open-world noise. To mitigate model overfitting on closed-set and open-set noises, a dual representation space is constructed by two networks. One is a projection network that learns shared representations in the prototype space, while the other is a One-Vs-All (OVA) network that makes predictions using unique semantic representations in the class-independent space. Then, bi-level contrastive learning and consistency regularization are introduced in two spaces to enhance the detection capability for data with unknown classes. To benefit from the memorization effects across different types of samples, class-independent margin criteria are designed for sample identification, which selects clean samples, weights closed-set noise, and filters open-set noise effectively. Extensive experiments demonstrate that our method outperforms the state-of-the-art methods and achieves an average accuracy improvement of 4.55% and an AUROC improvement of 6.17% on CIFAR80N.

Introduction: The Challenge of Open-World Noise

Standard Learning with Noisy Labels (LNL) typically assumes "closed-set" noise, where a sample is mislabeled as another known class. However, real-world data often contains "open-set" noise—samples from entirely unknown categories (e.g., a wolf in a dog/cat classifier). This broader challenge, termed Learning with Open-world Noisy Data (LOND), causes standard models to overfit by forcing unknown samples into known categories.

Figure 1: Problem setup for LOND and performance comparison on Sym-80% noise.

Existing methods often fail in these scenarios because they rely on competitive classification layers (like Softmax) that struggle to reject unknown samples. The proposed framework aims to solve this by explicitly modeling the difference between known and unknown classes through a dual-representation approach.

Methods: Dual Representation Space

To address LOND, we introduce a framework that separates representations into two distinct spaces to better identify and handle different types of noise.

Figure 2: Overview of the proposed dual-space joint learning framework, including bi-level contrastive learning and margin-based sample identification.

1. Prototype Space (Projection Network)

The projection network maps images to a space where they cluster around learnable class prototypes. We employ bi-level contrastive learning at both instance and class levels. This ensures that similar images remain close while different classes are clearly separated, improving the model's ability to detect local consistency and semantic similarity.

2. Class-independent Space (One-Vs-All Network)

Standard Softmax classifiers are competitive; decreasing one class's probability forces another's up. This "Softmax Trap" makes it difficult to reject unknown samples. Our One-Vs-All (OVA) network treats each class as an independent binary problem. This allows the model to assign low probabilities to all known classes for an open-set sample, effectively rejecting "intruder" data.

3. Margin-based Sample Identification

We use two novel criteria to filter the training set during the early stages of training, leveraging the "memorization effect" where networks learn clean patterns before noise:

  • Neighbor Margin: Identifies clean samples by checking label consistency among nearest neighbors in the prototype space.
  • Negative Margin: Uses the OVA network to calculate the likelihood that a sample belongs to no known class. High negative probability flags open-set noise for removal.

Experimental Results

The proposed method, dubbed LOND-DRS, set new state-of-the-art (SOTA) benchmarks across both synthetic and real-world noisy datasets:

  • Accuracy Boost: On the challenging CIFAR80N (80% noise), it improved classification accuracy by 4.55% over previous best methods.
  • Better Detection: It achieved a 6.17% improvement in AUROC for detecting open-set samples, proving it is much better at spotting "intruders" than existing OOD detectors.
  • Real-World Robustness: On the Web-Aircraft and Web-Car datasets, the model achieved accuracies of 89.92% and 89.45% respectively, outperforming the previous SOTA by nearly 3%.

Conclusion and Limitations

By decoupling shared prototypes from independent class features, LOND-DRS effectively navigates the complexities of open-world noise. While the method demonstrates impressive results, it does introduce some computational overhead due to the dual-network architecture and the k-Nearest Neighbor (k-NN) searches required for the neighbor margin. Future work may focus on reducing this complexity and improving robustness in ultra-noisy environments where noise ratios exceed 80%.

Summary updated

BibTeX
@inproceedings{pan2025learning,
  author = {Linchao Pan and Can Gao and Jie Zhou and Jinbao Wang},
  title = {{Learning with Open-world Noisy Data via Class-independent Margin in Dual Representation Space}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i6.32673},
}
Figure