Abstract
Extreme Multi-label text Classification (XMC) involves tagging documents with relevant labels from massive output spaces. Traditional models are limited by high annotation costs and an inability to handle unseen labels. This paper introduces MACLR (Multi-scale Adaptive Clustering & Label Regularization), a novel framework for Extreme Zero-Shot XMC (EZ-XMC). MACLR leverages self-supervised contrastive learning and multi-scale clustering on raw text to enable accurate label prediction without manual annotations. Experimental results demonstrate that MACLR significantly outperforms existing unsupervised and few-shot baselines across several large-scale benchmarks.
Introduction: The Challenge of Extreme Zero-Shot XMC
Extreme Multi-label text Classification (XMC) is critical for applications like product recommendation and document tagging, where label sets can reach millions. However, traditional XMC models suffer from "data hunger"—requiring massive annotated datasets—and a "cold start" problem, where they cannot generalize to labels not seen during training.
The authors define a more challenging and practical scenario: Extreme Zero-Shot XMC (EZ-XMC). In this setting, the model has access to the raw text of both instances and labels but lacks any ground-truth pairings.
Methodology: The MACLR Framework
MACLR introduces a two-stage pre-training procedure to build a robust sentence encoder ($\mathcal{E}$) using only unpaired raw text.
Stage I: Multi-scale Adaptive Clustering and Label Regularization
Standard self-supervised tasks like the Inverse Cloze Task (ICT) provide limited signal. MACLR enhances this through:
- Multi-scale Adaptive Clustering (MAC): Instances are clustered using K-means, and those within the same cluster act as "pseudo-positives" for each other’s labels. A curriculum learning strategy is employed, starting with coarse clusters and refining them until each instance is its own cluster.
- Label Regularization (LR): Dropout-based data augmentation ensures the encoder remains robust by keeping instance embeddings close to their augmented versions while distancing them from irrelevant labels.
Stage II: Self-training with Multi-viewed Pseudo Pairs
The model then performs self-training by combining the semantic strengths of the Stage I encoder with the lexical precision of TF-IDF. These two "views" generate top-k pseudo-labels for each instance, which are used to further fine-tune the encoder.
Experimental Evaluation
The framework was evaluated on four large-scale benchmarks: LF-Amazon-131K, LF-Amazon-1M, LF-WikiSeeAlso-320K, and LF-Wikipedia-500K.
Key Results
MACLR establishes a new state-of-the-art for unsupervised XMC:
- Zero-Shot Performance: On LF-Amazon-131K, MACLR achieved a Precision@1 of 18.13%, outperforming the best unsupervised baseline (MPNet, 13.94%) and standard TF-IDF (12.38%).
- Recall Gains: The model demonstrated a 9.1% absolute improvement in Recall@100 over TF-IDF across all datasets.
- Few-Shot Robustness: In the FS-XMC setting (1% supervision), MACLR outperformed ZestXML by over 20% in Recall@100 (57.55% vs 32.69%).
Discussion and Future Work
The success of MACLR highlights that the semantic information within label text is a sufficient signal to bootstrap extreme classifiers. By treating clusters as temporary classes, the model effectively simulates the multi-label nature of XMC in an unsupervised environment.
Future work may involve adding a re-ranker model to improve Precision@1 by distinguishing between highly similar head labels. Additionally, reducing the computational cost of periodic K-means clustering on millions of instances remains a priority for real-time dynamic systems.
Summary updated