Abstract
Extreme multi-label classification (XMLC) involves tagging instances with a small subset of relevant labels from an extremely large pool. In web-scale applications like content labeling and recommendation systems, label distributions are often highly imbalanced, characterized by a "long tail" of rare labels and frequent missing ground-truth annotations. This paper introduces Propensity-scored Probabilistic Label Trees (PS-PLTs), an inference procedure based on the $A^*$-search algorithm. By accounting for label propensities during the prediction phase, PS-PLTs find optimal solutions for propensity-scored metrics without requiring model retraining. Empirical studies on popular XMLC benchmarks demonstrate that this approach significantly improves performance on rare labels while maintaining high computational efficiency.
The Challenge of Missing Labels in XMLC
XMLC models must navigate datasets containing millions of potential labels. This scale introduces two fundamental hurdles:
- The Long Tail: Most labels appear very infrequently, making them difficult for models to learn effectively.
- Missing Labels: In massive datasets, human annotators cannot realistically check every possible label for every instance. Consequently, many relevant labels are missing from the ground truth.
Standard evaluation metrics like Precision@k penalize models for predicting these "missing" labels, even if they are actually correct. To mitigate this, researchers use propensity-scored metrics, which assign higher weights to correctly predicted rare labels—those most likely to be missing from the training data. However, most existing XMLC architectures are not designed to optimize these metrics during the inference (prediction) stage.
Methodology: Optimal Inference via $A^*$-Search
The authors focus on Probabilistic Label Trees (PLTs), a popular XMLC framework that organizes labels into a tree structure to achieve logarithmic search time. Their primary contribution is a "plug-in" inference procedure that optimizes for propensity-scored precision.
Bayes Optimal Decision
The researchers prove that to maximize propensity-scored precision, a model should rank labels by their observed probability multiplied by their inverse propensity (a measure of how likely a label is to be missing).
The $A^*$-Search Algorithm
In a standard PLT, the system searches for the highest probability labels. When propensities are introduced, the search space changes significantly. The authors implement an $A^*$-search algorithm using a specific heuristic: it estimates the maximum possible propensity-weighted probability in a subtree by assuming all remaining branch probabilities are 1. They demonstrate that this heuristic is both "admissible" (it never underestimates a branch's potential) and "consistent," ensuring the search finds the mathematically optimal labels as quickly as possible.
No Retraining Required
A major advantage of this approach is that it modifies only the inference logic. It can be applied to already-trained PLT models (such as Parabel or Bonsai) without the need for computationally expensive retraining.
Experimental Results
The authors evaluated PS-PLTs on six benchmark datasets from the Extreme Classification Repository, ranging from small-scale (EurLex-4K) to large-scale (Amazon-670K).
Key Findings
- Significant Metric Boost: PS-PLTs consistently outperformed vanilla PLTs and other sub-linear methods on propensity-scored precision ($psp@k$). For instance, on the Wiki10-31K dataset, $psp@1$ improved from approximately 12.8% to 21.8%.
- Competitive Performance: The method achieved results comparable to "flat" linear models (like ProXML), which are generally more accurate but much slower.
- Efficiency: While $A^*$ search is slightly more complex than standard uniform-cost search, it remains highly efficient. On the WikipediaLarge-500K dataset, PS-PLT required only ~60ms per prediction, whereas flat linear models required ~450-500ms.
- Robustness: The method proved effective across different loss functions, though logistic loss generally yielded the best results.
Conclusion and Future Work
PS-PLTs offer a mathematically grounded and computationally efficient way to handle the "missing label" problem in extreme classification. By shifting the focus to optimal inference rather than training-time adjustments, the authors provide a flexible tool for improving the visibility of "tail" labels in large-scale systems. Future research may explore how this inference method adapts to online learning environments where label propensities evolve over time.
Summary updated