Abstract
Positive Unlabeled (PU) learning is a classification paradigm where a learner only has access to a set of positive samples and a set of unlabeled samples. A critical bottleneck in PU learning is the requirement of the "class prior"—the exact proportion of positive instances within the unlabeled data—which is typically unknown in real-world scenarios. This paper introduces CAPU (Class-prior Approximation), a unified framework that simultaneously estimates the hidden class prior and trains a binary classifier within a single convex optimization problem. By avoiding the error propagation inherent in traditional two-step estimation methods, CAPU achieves state-of-the-art performance across various synthetic and real-world datasets.
Introduction
In many practical machine learning applications, such as recommendation systems or medical diagnosis, negative labels are often difficult or impossible to obtain. This leads to the Positive Unlabeled (PU) learning problem. Most existing PU learning algorithms are "prior-dependent," meaning they require a pre-defined class prior ($\pi$) to calibrate decision boundaries. In practice, $\pi$ is rarely known, and misestimating it can lead to significant classification errors.
Current approaches generally rely on heuristics to identify likely negative samples or use a two-step process: first estimating the prior and then training the classifier. However, these methods are prone to inaccuracies and error propagation. This paper addresses these limitations by proposing a joint optimization model that treats the class prior as a learnable parameter.
Methodology: The CAPU Framework
The proposed CAPU model formulates PU learning as a convex risk minimization problem. It integrates three core components:
- Double Hinge (DH) Loss: To ensure an unbiased classification solution in the absence of negative labels, the authors utilize a specialized DH loss function.
- MMD-based Prior Estimation: The model employs Maximum Mean Discrepancy (MMD) in a kernel embedding space to measure the distance between the observed data mixture and the target distributions. This allows the model to iteratively refine the class prior during training.
- Gradient Thresholding Estimator: Due to the non-standard form of the objective function (containing the reciprocal of the prior), the authors developed an efficient binary search-based optimization algorithm to converge on optimal parameters.
Experimental Evaluation
The researchers evaluated CAPU against six representative baselines, including UPU and USMO, using both synthetic Gaussian clusters and four real-world datasets from the UCI repository (audit, ionosphere, diabetes, and vertebral). Experiments were conducted across varying hidden class priors ($\pi \in \{0.3, 0.5, 0.7\}$).
Sensitivity to Kernel Width
A key finding is the model's sensitivity to the Gaussian kernel width ($\sigma$). As illustrated below, there is a clear "sweet spot" for $\sigma$ where the class-prior error is minimized and classification accuracy (F-score) is maximized.
Results and Discussion
CAPU consistently outperformed state-of-the-art methods in terms of both accuracy and stability. For instance, on the audit dataset with a 50% prior, CAPU achieved an F-score of 96.38%, significantly higher than the 91.93% achieved by the next best method, UPU.
Hyperparameter Robustness
The model's performance was also analyzed with respect to regularization parameters $\lambda$ and $\beta$. While the model shows sensitivity to $\lambda$, it remains remarkably robust to changes in $\beta$, simplifying the tuning process in practical applications.
Conclusion
The CAPU framework represents a significant advancement in PU learning by unifying class-prior estimation and classifier training. By solving these tasks jointly, the model achieves superior robustness and accuracy. Future work includes automating hyperparameter selection, improving scalability for large-scale datasets, and integrating these techniques into deep learning architectures for more complex data modalities.
Summary updated