Abstract
To cope with high annotation costs, training a classifier only from weakly supervised data has attracted a great deal of attention. Among various approaches, strengthening supervision from completely unsupervised classification is a promising direction, typically employing class priors as the only supervision to train a binary classifier from unlabeled (U) datasets. While existing risk-consistent methods are theoretically grounded, they are often limited to learning from only two U sets. This paper proposes a new approach for binary classification from $m$ U-sets for $m \ge 2$ using an auxiliary task called surrogate set classification (SSC). By predicting the source dataset of observed data and applying a linear-fractional transformation, we obtain a classifier-consistent model. Experiments demonstrate the superiority of our proposed method in both accuracy and computational efficiency.
Introduction
In many real-world scenarios, obtaining individual labels is prohibited by high costs or privacy concerns. However, aggregate metadata, such as the proportion of positive samples (class priors) within specific groups, is often available. Learning from these unlabeled (U) sets is known as $U^m$ classification.
Previous "risk-consistent" methods, while mathematically sound, faced significant scaling issues. Most were restricted to two sets; extending them to $m > 2$ sets required complex "pairing" strategies with a computational complexity of $O(m^3)$. Furthermore, these methods often suffered from "negative training risk," where the loss function becomes negative during training, leading to severe overfitting. This paper introduces Surrogate Set Classification (SSC) to overcome these limitations with an $O(1)$ pre-computing complexity and a stable training objective.
Methodology: Surrogate Set Classification
The core innovation of this work is reframing the unsupervised binary problem into a supervised multi-class problem.
The Surrogate Task
Instead of predicting binary labels directly, the model is trained to predict which of the $m$ datasets a sample belongs to. Since the dataset index for every sample is known, this becomes a standard supervised learning task. The authors prove via Theorem 1 that the probability of a sample belonging to a specific set is mathematically linked to its probability of being positive or negative in the original binary task through a linear-fractional transformation.
The Transition Layer
To implement this in an end-to-end deep learning framework, the authors utilize a standard neural network that outputs a binary prediction. A fixed "transition layer" is then appended to the model. This layer uses the known class priors to map the binary output into a multi-class prediction corresponding to the set indices.
During training, the network is optimized to minimize the surrogate loss (e.g., cross-entropy). Because the transition layer is fixed based on class priors, the network is forced to learn the underlying binary features that distinguish the classes to succeed at the surrogate task. This approach is proven to be classifier-consistent, ensuring convergence to the optimal binary classifier as data increases.
Experimental Results
The method was evaluated on four benchmark datasets: MNIST, Fashion-MNIST, Kuzushiji-MNIST, and CIFAR-10. These were converted into binary tasks (e.g., Even vs. Odd for MNIST) and split into 10, 25, or 50 unlabeled sets with varying class priors.
Performance and Stability
As shown in the learning curves below, the proposed $U^m$-SSC method consistently achieves lower test errors and more stable training risks compared to state-of-the-art baselines like MMC and LLP-VAT. Notably, while baseline methods often exhibit fluctuating or negative training risks, $U^m$-SSC remains stable throughout the training process.
On Fashion-MNIST with 10 sets, SSC achieved a test error of 6.5%, significantly outperforming the best baseline at 8.12%. The method also demonstrated remarkable scalability; as the number of sets increased from 10 to 50, the performance of SSC remained stable or improved, whereas baselines often became more volatile.
Robustness to Prior Noise
In real-world applications, class priors are often estimated and may contain errors. The researchers tested the model's sensitivity to "noisy" priors. Even with a 20% error in the provided proportions ($\epsilon = 0.2$), the model maintained reasonable performance, indicating it is not overly fragile to imperfect metadata.
Conclusion
Surrogate Set Classification provides a flexible, efficient, and theoretically grounded framework for binary classification from multiple unlabeled datasets. By leveraging the dataset index as a "free" surrogate label and employing a fixed transition layer, the method avoids the computational complexity and overfitting issues of previous approaches. Future work may involve developing techniques to automatically estimate class priors from the data distribution, further reducing the reliance on external supervision.
Summary updated