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

Making Binary Classification from Multiple Unlabeled Datasets Almost Free of Supervision

Yuhao Wu, Xiaobo Xia, Jun Yu, Bo Han, Gang Niu, Masashi Sugiyama, Tongliang LiuarXiv 2023 · DOI

Abstract

Training high-performing binary classifiers typically requires expensive human-labeled data or precise quantitative knowledge of class proportions within unlabeled datasets. This paper introduces a novel learning setting called MU-OPPO (Multiple Unlabeled datasets with One Pair of Prior Orders), which requires only a single piece of qualitative knowledge: knowing which of two datasets has a higher proportion of positive examples. We propose the MOS (MU-OPPO Solution) framework to estimate exact class proportions across all datasets and train classifiers that achieve performance nearly identical to those provided with perfect supervision.

Introduction

In traditional supervised learning, the cost of labeling data is a significant bottleneck. A promising alternative is "learning from multiple unlabeled datasets," where models learn from groups of data with varying class priors (the percentage of positive vs. negative examples). However, existing methods often require knowing the exact class prior for every dataset—a requirement almost as difficult to satisfy as manual labeling.

This research addresses this gap by asking: Can we train a model if we only know the relative order of class priors for just one pair of datasets? For instance, one might easily know that a hospital in a high-pollution area has a higher proportion of respiratory patients than a rural clinic, without knowing the exact percentages.

The MU-OPPO Setting

The core innovation is the MU-OPPO setting, which leverages qualitative human knowledge to anchor quantitative mathematical estimation. By identifying a single pair of datasets where the relative density of a class is known, the framework can bootstrap the learning process for an arbitrary number of unlabeled sets.

The MU-OPPO setting: multiple unlabeled datasets where only the relative proportion of 'cat' examples between two sets (iv and v) is known.

The MOS Framework

The authors introduce the MU-OPPO Solution (MOS) framework, which operates in four sequential stages:

  1. Pseudo Label Assignment: Based on the one known relationship (e.g., Dataset A > Dataset B), the model assigns rough labels to the datasets.
  2. Confident Example Collection: To handle noise in pseudo-labels, the model uses a "warm-up" period. Following the "Small-Loss" hypothesis—that neural networks memorize clean data before noisy data—the framework identifies "confident" examples based on loss distribution or prediction probability.
  3. Class Prior Estimation: Using these confident examples, the Confident Class-Prior Estimator (CCPE) employs Mixture Proportion Estimation (MPE) to convert the single "greater than" relationship into estimated exact percentages for all $m$ unlabeled datasets.
  4. Classifier Training: These estimated priors are then used with robust algorithms (like MCM or $U^m$-SSC) to train the final binary classifier.

Experimental Results

The framework was evaluated on four computer vision benchmarks: MNIST, Fashion-MNIST, Kuzushiji-MNIST, and CIFAR-10. The results demonstrate that qualitative supervision is remarkably powerful. Across all datasets, the MOS framework achieved classification accuracy very close to models trained with true (perfectly known) class priors.

Classification accuracy comparison between random, estimated (MOS), and true class priors across four benchmarks using MCM and Um-SSC algorithms.

On the MNIST dataset, the MOS-enhanced method reached 97.72% accuracy, nearly matching the 97.78% achieved by the "perfect knowledge" baseline. Furthermore, the estimation error for the hidden percentages was frequently less than 4%, proving the robustness of the CCPE module.

Conclusion and Future Work

The MOS framework proves that supervision for binary classification can be "almost free" by substituting expensive quantitative labels with intuitive qualitative comparisons. While currently limited to binary classification and reliant on the "irreducible assumption" (distinct class distributions), future work aims to extend this relative-order logic to multi-class problems and optimize the computational overhead of the estimation process.

Summary updated

BibTeX
@misc{wu2023making,
  author = {Yuhao Wu and Xiaobo Xia and Jun Yu and Bo Han and Gang Niu and Masashi Sugiyama and Tongliang Liu},
  title = {{Making Binary Classification from Multiple Unlabeled Datasets Almost Free of Supervision}},
  year = {2023},
  eprint = {2306.07036},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.07036},
}
Figure