Abstract
Extreme Multi-label Learning (XML) involves datasets with hundreds of thousands of instances, features, and labels. While Gaussian Processes (GPs) offer principled uncertainty quantification and flexibility, their cubic scaling has historically limited their application in XML. This paper introduces the Multi-Label GP Factor model (MLGPF), which leverages sparse GP approximations and a doubly stochastic variational inference scheme to scale to massive datasets. By sub-sampling both data instances and class labels, MLGPF achieves competitive performance against state-of-the-art non-probabilistic methods on datasets with over a million instances and hundreds of thousands of features.
Introduction
In multi-label classification, a single data point can belong to multiple classes simultaneously, such as a news article tagged with "Politics," "Economy," and "Europe." Modern applications in recommender systems, web search, and text categorization have pushed this into the realm of eXtreme Multi-label Learning (XML). In these scenarios, datasets feature massive numbers of instances ($N$), features ($D$), and labels ($K$), often reaching the millions.
Historically, Gaussian Processes (GPs) have been beloved for their ability to provide uncertainty estimates and their non-parametric flexibility. However, they have been computationally prohibitive for XML due to their $O(N^3)$ time complexity. Consequently, the XML field has been dominated by non-probabilistic methods like tree-based models (e.g., Parabel), label embeddings (e.g., SLEEC), and linear one-vs-rest strategies (e.g., DiSMEC). This research bridges the gap, bringing the probabilistic rigor of GPs to extreme-scale problems without the traditional computational bottlenecks.
Methodology: The MLGPF Model
The proposed Multi-Label GP Factor model (MLGPF) achieves scalability through a combination of latent variable modeling and advanced variational inference techniques.
Latent Factor Modeling
Instead of modeling $K$ labels independently—which would be computationally disastrous—the model employs a small set of $P$ shared latent GP functions. These latent functions are linearly mapped to the $K$ labels through a weight matrix, effectively capturing the correlations between different classes in a lower-dimensional space.
Sparse GP Approximations
To mitigate the cubic scaling with the number of data points ($N$), the authors utilize the inducing point framework. By introducing $M$ "inducing points" (pseudo-inputs), the model creates a low-rank approximation of the GP covariance matrix. This reduces the complexity relative to $N$, though $M$ must be chosen carefully to balance accuracy and speed.
Doubly Stochastic Variational Inference
The core innovation for scalability is a doubly stochastic variational inference scheme. Standard stochastic optimization sub-samples data instances into minibatches. MLGPF takes this further by also sub-sampling the class labels. Since most instances in XML datasets only have a few positive labels, the algorithm exactly evaluates the positive labels and sub-samples the massive pool of negative labels. This approach, reminiscent of negative sampling in word embeddings, reduces the computational complexity to $O(PM^3)$, effectively decoupling the training cost from the massive $N$ and $K$ dimensions.
High-Dimensional Optimization
The authors demonstrate that it is possible to optimize the locations of inducing points ($Z$) and kernel hyperparameters using gradient-based methods, even when the input space has hundreds of thousands of dimensions. This optimization significantly improves the predictive lower bound compared to using fixed inducing points.
Experimental Evaluation
The model was evaluated on six publicly available real-world datasets, categorized into small-scale (Bibtex, Delicious, EUR-Lex) and large-scale (Wiki10, AmazonCat, Delicious-Large). The large-scale datasets represent true "extreme" challenges; for example, AmazonCat contains approximately 1.18 million training points and 13,330 labels, while Delicious-Large features over 782,000 features and 205,000 labels.
Performance Metrics
The primary metric used was Precision@k (P@k), which measures the accuracy of the top-k predicted labels. Additionally, the authors used Propensity Scored Precision (PSP@k) to evaluate the model's performance on "tail labels"—rare classes that are often difficult for standard models to predict.
Key Results
- Competitive Accuracy: MLGPF achieved state-of-the-art or highly competitive P@k scores. It recorded the highest P@1 on Bibtex (66.51%) and Delicious (69.09%) compared to heavyweights like SLEEC and DiSMEC.
- Extreme Scale Success: On the massive AmazonCat dataset, the model reached a P@1 of 92.55%, matching or slightly exceeding established XML baselines.
- Tail Label Robustness: The model proved particularly robust at predicting rare labels, often outperforming tree-based methods in PSP@k metrics.
- Computational Cost: The primary trade-off for Bayesian rigor is training time. While tree-based methods like Parabel can train on AmazonCat in about an hour, MLGPF required approximately 495 hours.
Discussion and Limitations
This work demonstrates that Bayesian non-parametrics can indeed play at the extreme scale. The use of label sub-sampling is a game-changer, allowing GPs to bypass the need for calculating probabilities for hundreds of thousands of irrelevant classes at every optimization step.
However, several limitations persist. The memory footprint and computational cost remain high, which prevented the authors from testing on the absolute largest datasets (like Amazon3M) on their 64GB RAM hardware. Future research directions include exploiting the natural sparsity of high-dimensional text data to optimize inducing points more efficiently, modifying the likelihood to handle missing labels, and exploring natural gradient-based optimization to accelerate convergence for non-conjugate GP models.
Summary updated