Abstract
Extreme Multi-label Classification (XML) for short text requires balancing high accuracy with computational efficiency. We present InceptionXML, a lightweight CNN-based framework that rethinks convolutions to operate over embedding dimensions rather than word sequences. Combined with SyncXML, a synchronized training pipeline featuring a meta-classifier and an extreme classifier, our approach achieves state-of-the-art performance. InceptionXML outperforms heavy transformer-based models while using only 2% of the FLOPs, making it highly suitable for large-scale production environments.
Introduction
Extreme Multi-label Classification (XML) involves tagging an input with the most relevant labels from a massive set, often reaching millions. Modern applications like "related search" suggestions or product recommendations are frequently framed as XML problems. While Transformers (like BERT) are the gold standard for many NLP tasks, they are often "overkill" for short-text XML. Short queries (3-8 words) typically lack formal syntax, and the computational cost of Transformers makes them difficult to scale to millions of labels in real-time. Furthermore, the "tail" problem—where most labels have very few training examples—makes it difficult for massive models to generalize without overfitting.
Methodology
The authors propose two major innovations: the InceptionXML architecture and the SyncXML training pipeline.
The InceptionXML Encoder
Unlike traditional text CNNs that convolve over sequences of words to find n-grams, InceptionXML convolves over the embedding dimensions.
- Embedding Enhancement Module: This module uses two orthogonal attention layers (word-level and semantic-level) to make the representation completely agnostic to word order. This is justified by the observation that short queries are often order-independent.
- Inception Layers: The model utilizes parallel 1D convolutional filters of different sizes (4, 8, 16) that operate "vertically" across the embedding space. This captures "coupled semantics"—statistically related dimensions of meaning.
The SyncXML Training Pipeline
To scale to millions of labels, the model uses a "shortlister" (meta-classifier) to find candidate label clusters and an "extreme classifier" to pick the final labels. Both classifiers share the same encoder and penultimate layers, ensuring they learn from the same feature space. A "Detached Training Schedule" is employed where, for the first 25% of training, gradients from the extreme classifier are detached from the encoder. This allows the meta-classifier to "warm start" and provide high-quality candidates before the final classifier begins fine-tuning.
Experimental Results
The model was evaluated on massive benchmark datasets including WikiTitles-500K and AmazonTitles-3M. InceptionXML outperformed state-of-the-art models like Astec and LightXML on 23 out of 24 metrics across four datasets.
Key insights from the results include:
- Efficiency: InceptionXML has only 400K parameters, compared to ~110M in standard DistilBERT models. It requires only 2% of the FLOPs used by transformer-based approaches.
- Speed: Inference time was reduced to half that of the previous fastest state-of-the-art model (Astec).
- Scalability: While transformer models like LightXML often fail on the Amazon-3M dataset due to memory constraints, SyncXML handled it easily, achieving a P@1 of 46.95%.
Conclusion
InceptionXML proves that for short-text extreme classification, massive transformer architectures are not always necessary. By focusing on order-agnostic embedding enhancement and efficient vertical convolutions, InceptionXML provides a scalable, high-performance solution that is orders of magnitude smaller and faster than existing baselines. Future work may explore incorporating label-text metadata and graph-based correlations to further improve the meta-classifier's recall.
Summary updated