Abstract
This paper introduces Multi-Positive and Unlabeled (MPU) learning, a novel framework designed to handle multiple known positive classes alongside unlabeled data. Traditional Positive and Unlabeled (PU) learning is typically restricted to binary classification. MPU extends this by utilizing a one-step optimization process, distinct convex loss functions, and codeword encoding via a regular simplex. Experimental results demonstrate that MPU achieves classification accuracy comparable to fully supervised methods while significantly outperforming traditional binary-to-multiclass adaptations in both speed and precision.
Introduction
In many practical machine learning applications, labeled data is available for several "positive" categories, but no explicit labels exist for "negative" ones. For example, a facial recognition security system may have numerous labeled photos of authorized users (multiple positive classes), while any other individual captured by the camera is categorized as "unlabeled"—potentially being an authorized user or an intruder (the negative class).
Standard PU learning addresses the binary case (one positive vs. unlabeled). Extending this to multiple classes has historically relied on "one-versus-all" strategies. However, these approaches are computationally expensive, prone to error accumulation, and struggle with the systematic bias of treating unlabeled data as noisy negatives. This paper proposes a direct, multi-class framework for PU learning to overcome these limitations.
Methodology
The MPU framework employs a "one-step" method to train a multi-class model directly from mixed data, avoiding the pitfalls of multi-stage pipelines.
Codeword Encoding and Simplex Projection
Instead of using simple scalar labels, the authors encode $k$ classes into a $k-1$ dimensional space using a regular simplex. This geometric arrangement ensures that all classes are equidistant from each other in the feature space, which is ideal for simultaneous multi-class margin maximization.
Custom Convex Loss Functions
A critical challenge in multi-class PU learning is the "estimation bias" that arises when applying standard loss functions to unlabeled data. The authors derived distinct convex loss functions for labeled and unlabeled samples by mathematically decomposing the misclassification rate. By adapting the hinge loss, they ensure the optimization remains both theoretically sound and computationally efficient.
Optimization and Theoretical Guarantees
The training process follows an alternating optimization strategy. First, model parameters ($W$) are fixed to estimate the most likely labels ($\tilde{y}$) for unlabeled data. Then, these estimated labels are fixed to update the model parameters. Theoretically, the authors provide a generalization error bound, proving that the MPU approach's error is no worse than $k\sqrt{k}$ times that of a fully supervised method, even in the absence of negative labels.
Experimental Evaluation
The researchers evaluated MPU on several standard benchmarks, adapted for the PU setting by withholding labels for specific classes:
- IRIS: Used for 2D visualization.
- Image Segment: 7 classes, 19 variables.
- Letter: 26 classes, 20,000 examples.
- USPS & MNIST: 10 classes, digit recognition.
In these experiments, half of the positive samples were labeled, while the remaining positive samples and all negative samples were left unlabeled.
Key Results and Insights
MPU demonstrates significant improvements over baseline methods across several metrics:
- Superior Accuracy: On the MNIST dataset, MPU achieved 90.78% accuracy, outperforming Biased-SVM (84.98%) and BPU-Ramp (87.04%).
- Computational Efficiency: By training a single multi-class model instead of $k$ separate classifiers, MPU is significantly faster. On the Letter dataset, training time was a small fraction of that required by traditional BPU methods.
- Robustness to Negative Class Selection: The model maintains stable performance regardless of which specific class is designated as the "negative" (unlabeled) class.
Conclusion
MPU learning offers a mathematically elegant and efficient solution for multi-class scenarios where only positive and unlabeled data are available. By eliminating the bias inherent in traditional PU methods and utilizing simplex encoding, it bridges the performance gap with supervised learning. Future work may involve relaxing the requirement for known class priors and exploring the integration of MPU with deep neural networks and non-linear kernels.
Summary updated