Abstract
Positive Unlabeled (PU) learning is a critical framework for scenarios where only positive examples and a large pool of unlabeled data are available. However, traditional theoretically-grounded PU methods suffer from poor scalability due to quadratic memory and time complexities. This paper presents USMO (Unlabeled data in Sequential Minimal Optimization), a novel algorithm that adapts decomposition techniques to the PU learning domain. By solving two-variable subproblems analytically, USMO achieves linear memory complexity, enabling optimal training on datasets with up to one million samples—a scale previously unreachable for non-neural PU methods.
Introduction
In real-world applications such as fraud detection, medical diagnosis, and document retrieval, obtaining explicit negative examples is often difficult or impossible. PU learning addresses this by learning from a set of positive instances and an unlabeled set containing both positive and negative samples. While the "double Hinge loss" provides a robust convex formulation for this task, its optimization typically requires solving a large-scale Quadratic Programming (QP) problem. For large datasets, the resulting Gram matrix becomes prohibitively expensive to store and compute, limiting prior state-of-the-art methods to small-scale problems.
The USMO Algorithm
The authors propose USMO to bridge the gap between theoretical optimality and practical scalability. The algorithm is built upon several key pillars:
1. Decomposition and Analytical Solutions
Instead of optimizing the entire objective function simultaneously, USMO decomposes the problem into a sequence of minimal subproblems involving only two unlabeled samples. These subproblems are constrained by the optimality conditions and can be solved analytically using closed-form equations. This approach avoids the need for complex numerical solvers and significantly accelerates each iteration.
2. Efficient Pair Selection and Caching
To ensure rapid convergence, USMO employs a "violating pair selection" strategy, targeting the points that most significantly deviate from the Karush-Kuhn-Tucker (KKT) conditions. Furthermore, a function cache stores predicted values to minimize redundant kernel computations, keeping the cost per iteration low.
3. Smart Initialization
A heuristic "warm start" using a One-Class SVM (OCC) is utilized to initialize the algorithm. This provides a high-quality starting point, drastically reducing the total number of iterations required to reach the global optimum.
Experimental Evaluation
The effectiveness of USMO was tested across 17 UCI repository datasets, ranging from small-scale (e.g., Ionosphere, Diabetes) to massive large-scale datasets. Notably, the evaluation included the Poker-hand dataset with 1,000,000 instances, representing a significant milestone for theoretically grounded PU learning solvers.
Key Results and Discussion
USMO demonstrates exceptional performance across several dimensions:
- Scalability: Unlike previous methods that exhibit quadratic growth in training time, USMO's complexity scales near-linearly. It successfully processed the million-sample Poker-hand dataset where other methods failed due to memory exhaustion.
- Convergence: The algorithm consistently reaches the global optimum of the convex double Hinge loss. Figure 2 illustrates the steady increase in the objective function and the efficiency of individual iterations.
- Robustness: The solver remains stable across varying hyperparameter settings, including the regularization parameter $\lambda$ and the class prior $\pi$.
Conclusion
USMO represents a significant advancement in PU learning by providing a scalable, memory-efficient solver that does not sacrifice theoretical optimality. By reducing memory requirements from $O(N^2)$ to $O(N)$, it opens the door for applying robust PU learning techniques to massive, real-world datasets. Future work will focus on automating kernel selection and improving hyperparameter tuning efficiency at scale.
Summary updated