NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Improving State-of-the-Art in One-Class Classification by Leveraging Unlabeled Data

Farid Bagirov, Dmitry Ivanov, Aleksei Shpilman · DOI

TL;DR

This paper investigates how to best leverage unlabeled data for one-class classification (OC) tasks, especially when that unlabeled data might be unreliable. The authors propose novel "PU-OC" hybrid methods that adapt existing OC algorithms to be robust to noisy or shifted unlabeled data, offering a safer alternative to standard PU learning in such scenarios.

What Problem Does This Paper Address?

In one-class classification (OC), we aim to identify "normal" data based solely on labeled positive examples. A common challenge is the absence of labeled negative examples. Two main approaches exist:

  1. One-Class (OC) Classification: Learns from positive data and makes assumptions about the negative data distribution (e.g., uniform, centered at origin). This can fail if these assumptions are violated.
  2. Positive-Unlabeled (PU) Learning: Uses labeled positive data and unlabeled data (which is a mix of positive and negative) to better approximate the negative distribution.

While PU learning seems superior due to more data, this paper highlights a critical issue: unreliable unlabeled data. This unreliability can stem from:

  • Distributional shifts: The unlabeled data's negative examples come from a different distribution than what's expected.
  • Scarcity of negative examples: The unlabeled data contains very few actual negative instances.
  • Small unlabeled dataset size: Not enough unlabeled data to reliably infer the negative distribution.

When unlabeled data is unreliable, standard PU methods can perform poorly, sometimes worse than OC methods that make simpler, albeit potentially incorrect, assumptions. The paper aims to bridge this gap by developing methods that can benefit from unlabeled data even when it's not perfectly clean.

Methods

The core contribution is the proposal of PU-OC algorithms. These are essentially modifications of existing state-of-the-art OC algorithms that are designed to incorporate unlabeled data in a robust way. The key idea is to ensure that these modified algorithms behave like the original OC algorithm when the unlabeled data is purely positive (i.e., contains no negative examples). This property makes them safe to use even when the reliability of unlabeled data is uncertain.

The authors achieve this by:

  • Risk Estimation: Adapting risk estimation techniques, commonly used in PU learning, to the OC framework. This involves estimating the negative risk using positive and unlabeled data.
  • Algorithm-Specific Modifications: For some OC algorithms, they directly replace parts of their objective function or training procedure to incorporate unlabeled data.

They also propose statistical tests to help practitioners identify whether unlabeled data is likely reliable or unreliable, guiding them towards choosing between standard PU algorithms or their proposed PU-OC variants.

Datasets

The paper uses a variety of datasets to evaluate their methods across different scenarios:

  • CIFAR-10: A standard benchmark for OC and PU methods, used in various settings (one-vs-all, negative shift, multimodal positive distributions).
  • Abnormal1001: Contains normal and abnormal images, challenging for PU methods due to scattered anomalies and similarity between normal/anomalous data.
  • PenDigits: A dataset of handwritten digits for classification.
  • Text Datasets:
    • Deceptive reviews dataset.
  • SMS Spam dataset.
  • Twitter bots: A dataset for classifying genuine users vs. bots.
  • Synthetic data: Used to illustrate specific phenomena like negative distribution shifts and multimodal positive distributions.

Key Insights and Ideas

  • Unreliable unlabeled data is a major pitfall for PU learning: Standard PU methods can be severely hindered if unlabeled data is noisy, shifted, or scarce in negative examples. This is a crucial finding that challenges the common assumption that more data (unlabeled) always leads to better performance.
  • PU-OC algorithms offer a robust alternative: By modifying OC algorithms to be safe even with purely positive unlabeled data, the proposed PU-OC methods can leverage unlabeled data without risking performance degradation due to unreliability.
  • A specific property is key for PU-OC robustness: The crucial property for PU-OC algorithms is that they should collapse to the original OC algorithm when the unlabeled data contains no negative examples. This ensures a baseline performance even in the worst-case scenario for unlabeled data.
  • Statistical tests can help diagnose unlabeled data reliability: The authors demonstrate that statistical tests can be used to identify high proportions of positive examples in unlabeled data, negative distribution shifts, or scarcity of unlabeled data, providing practical guidance for algorithm selection.
  • Multimodality in positive data is challenging for OC: OC methods that try to enclose all positive data in a single envelope struggle with multimodal positive distributions, whereas PU methods are more robust.

Key Results

  • PU-OC consistently outperforms OC: Across various settings, the proposed PU-OC algorithms generally outperform their original OC counterparts, often significantly.
  • PU-OC is robust to unreliable data: In scenarios with negative shifts or scarce negative examples, PU-OC methods maintain performance, while standard PU methods can degrade significantly.
  • PU-DROCC shows high robustness: The PU-DROCC algorithm is highlighted for its exceptional robustness to negative distribution shifts.
  • Statistical tests are effective: The proposed statistical tests can reliably distinguish between reliable and unreliable unlabeled data scenarios.
  • Performance varies by dataset and scenario: While PU-OC methods generally excel, specific algorithms perform better in different settings (e.g., DRPU and PAN for certain shifts, CSI variants for specific data sizes).

Limitations and Future Work

  • Identifying all cases of unreliability: While progress is made in identifying high a, negative shifts, and scarcity, the paper acknowledges that other cases of unreliable unlabeled data might exist.
  • Developing universally robust PU algorithms: The authors express a desire for PU algorithms that achieve state-of-the-art performance regardless of unlabeled data reliability, rather than relying on identifying unreliability and switching methods.
  • Further investigation of PU-OC augmentations: The paper hopes its findings will motivate future research into more PU-OC augmentations of existing OC algorithms.
  • Computational efficiency: Some PU-OC modifications, while theoretically sound, might still face computational challenges with very large datasets, though the paper explores SGD for optimization.

Summary updated

BibTeX
@misc{bagirov2022improving,
  author = {Farid Bagirov and Dmitry Ivanov and Aleksei Shpilman},
  title = {{Improving State-of-the-Art in One-Class Classification by Leveraging Unlabeled Data}},
  year = {2022},
  eprint = {2203.07206},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.07206},
}
Figure