Abstract
This paper presents a scalable framework for multilabel and multiclass prediction that captures label dependencies without the prohibitive cost of training individual base classifiers. By leveraging randomized matrix decomposition and kernel approximations via Random Fourier Features, the proposed method effectively models complex co-occurrences in output spaces exceeding 300,000 labels. Experimental results demonstrate state-of-the-art performance on extreme classification benchmarks like LSHTC and ODP, while maintaining high computational efficiency.
Introduction
In modern multilabel classification, the goal is to assign a subset of relevant labels to an input from a potentially massive output space. Traditional approaches often rely on training independent classifiers for each label. However, this "binary relevance" strategy ignores critical dependencies between labels—for instance, a news article tagged with "cooking" is statistically more likely to also be tagged with "nutrition" than with "finance."
While joint modeling techniques like stacking can capture these correlations, they become computationally infeasible as the number of labels grows into the hundreds of thousands. Furthermore, rare labels often lack sufficient data for independent training, leading to severe overfitting. This work addresses these challenges by introducing a method that models label dependencies both efficiently and robustly in extreme output spaces.
Methodology
The core innovation lies in learning a flexible "link function"—a non-linear mapping that transforms independent label activations into joint predictions—without ever explicitly training the base classifiers. The approach relies on two primary techniques:
1. Randomized Embedding
Instead of managing $c$ independent classifiers, the method uses randomized linear algebra to approximate a label projection matrix. This projects the high-dimensional label space into a much smaller, low-dimensional subspace ($k \ll c$). This step, detailed in Algorithm 1, allows the model to extract projected activations directly, bypassing the need for individual base models.
2. Kernel Approximation via Random Fourier Features (RFFs)
To capture non-linear correlations between projected labels, the authors apply a shift-invariant kernel (e.g., Gaussian). To maintain scalability, this kernel is approximated using Random Fourier Features. By combining these with the randomized embedding, the model learns a final weight matrix via stochastic gradient descent, jumping straight to a joint representation of activations.
Experimental Evaluation
The proposed method was evaluated across a spectrum of benchmarks, ranging from small-scale datasets (Mulan) to extreme classification tasks like the Open Directory Project (ODP) and Large Scale Hierarchical Text Classification (LSHTC).
Performance on Extreme Datasets
On the LSHTC dataset, which features approximately 325,000 categories, the method achieved a Precision-at-1 of 53.39%, outperforming established baselines like FastXML (49.78%). On the ODP multiclass dataset (100,000 labels), the method significantly reduced test error compared to the Lomtree (LT) baseline.
Efficiency and Scalability
Despite the scale of these tasks, the randomized embedding step required only 6,000 seconds on a standard desktop machine. Optimization passes were similarly efficient, taking roughly 1,200 seconds each. This efficiency stems from the observation that label activations are inherently low-rank; projecting them into a lower dimension before applying kernel approximations drastically reduces computational waste and variance.
Conclusion
By bypassing the explicit training of base classifiers and utilizing randomized embeddings, this framework provides a highly scalable solution for extreme multilabel prediction. The results suggest that the statistical structure of output spaces is consistent enough across domains to make shift-invariant kernels a powerful tool for modeling label co-occurrences. Future work will explore end-to-end fine-tuning of this architecture and its application to complex graphical models.
Summary updated