ELIAS: End-to-End Learning to Index and Search in Large Output Spaces
Nilesh Gupta, Patrick H. Chen, Hsiang-Fu Yu, Cho-Jui Hsieh, Inderjit S. Dhillon
Abstract
Extreme multi-label classification (XMC) is a popular framework for solving many real-world problems that require accurate prediction from a very large number of potential output choices. A popular approach for dealing with the large label space is to arrange the labels into a shallow tree-based index and then learn an ML model to efficiently search this index via beam search. Existing methods initialize the tree index by clustering the label space into a few mutually exclusive clusters based on pre-defined features and keep it fixed throughout the training procedure. This approach results in a sub-optimal indexing structure over the label space and limits the search performance to the quality of choices made during the initialization of the index. In this paper, we propose a novel method ELIAS which relaxes the tree-based index to a specialized weighted graph-based index which is learned end-to-end with the final task objective. More specifically, ELIAS models the discrete cluster-to-label assignments in the existing tree-based index as soft learnable parameters that are learned jointly with the rest of the ML model. ELIAS achieves state-of-the-art performance on several large-scale extreme classification benchmarks with millions of labels. In particular, ELIAS can be up to 2.5% better at precision@1 and up to 4% better at recall@100 than existing XMC methods. A PyTorch implementation of ELIAS along with other resources is available at https://github.com/nilesh2797/ELIAS.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Generalized Zero-Shot Extreme Multi-label Learning cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme Classification cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme Classification cites LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme Classification cites Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme Classification cites Deep Encoders with Auxiliary Parameters for Extreme Classification
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme Classification cites Dual-Encoders for Extreme Multi-label Classification
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval cites Pre-training Tasks for Embedding-based Large-scale Retrieval
- Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval cites Generalized Zero-Shot Extreme Multi-label Learning
- Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval cites LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification
- Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval cites Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification
- Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval cites Deep Encoders with Auxiliary Parameters for Extreme Classification
- Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification cites LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification
- Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification cites Pre-training Tasks for Embedding-based Large-scale Retrieval
- Deep Encoders with Auxiliary Parameters for Extreme Classification cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- Deep Encoders with Auxiliary Parameters for Extreme Classification cites LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification
- Deep Encoders with Auxiliary Parameters for Extreme Classification cites Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification
- Deep Encoders with Auxiliary Parameters for Extreme Classification cites Pre-training Tasks for Embedding-based Large-scale Retrieval
- Dual-Encoders for Extreme Multi-label Classification cites Generalized Zero-Shot Extreme Multi-label Learning
- Dual-Encoders for Extreme Multi-label Classification cites Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrieval
- Dual-Encoders for Extreme Multi-label Classification cites LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classification
- Dual-Encoders for Extreme Multi-label Classification cites Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text Classification
- Dual-Encoders for Extreme Multi-label Classification cites Deep Encoders with Auxiliary Parameters for Extreme Classification
Cited by top-tier papers7
- Scaling Image Geo-Localization to Continent LevelPhilipp Lindenberger, Paul-Edouard Sarlin, Jan Hosang, Marc Pollefeys et al.NeurIPS 2025 · 11 citations
- Dual-Encoders for Extreme Multi-label ClassificationNilesh Gupta, Devvrit, Ankit Singh Rawat, Srinadh Bhojanapalli et al.ICLR 2024 · 8 citations
- Deep Encoders with Auxiliary Parameters for Extreme ClassificationKunal Dahiya, Sachin Yadav, Sushant Sondhi, Deepak Saini et al.KDD 2023 · 6 citations
- On the Necessity of World Knowledge for Mitigating Missing Labels in Extreme ClassificationJatin Prakash, Anirudh Buvanesh, Bishal Santra, Deepak Saini et al.KDD 2025 · 1 citation
- Extreme Meta-Classification for Large-Scale Zero-Shot RetrievalSachin Yadav, Deepak Saini, Anirudh Buvanesh, Bhawna Paliwal et al.KDD 2024 · 1 citation
Builds on6
- Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text RetrievalLee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang et al.ICLR 2021 · 1,547 citations
- Pre-training Tasks for Embedding-based Large-scale RetrievalWei-Cheng Chang, Felix X. Yu, Yin-Wen Chang, Yiming Yang et al.ICLR 2020 · 325 citations
- LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text ClassificationTing Jiang, Deqing Wang, Leilei Sun, Huayi Yang et al.AAAI 2021 · 170 citations
- Fast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text ClassificationJiong Zhang, Wei-Cheng Chang, Hsiang-Fu Yu, Inderjit S. DhillonNeurIPS 2021 · 147 citations
- Generalized Zero-Shot Extreme Multi-label LearningNilesh Gupta, Sakina Bohra, Yashoteja Prabhu, Saurabh Purohit et al.KDD 2021 · 23 citations
Related papers
- XMC-Agent : Dynamic Navigation over Scalable Hierarchical Index for Incremental Extreme Multi-label ClassificationYanjiang Liu, Tianyun Zhong, Yaojie Lu, Hongyu Lin et al.ACL Findings 2024 · 1 citation
- Label Disentanglement in Partition-based Extreme Multilabel ClassificationXuanqing Liu, Wei-Cheng Chang, Hsiang-Fu Yu, Cho-Jui Hsieh et al.NeurIPS 2021 · 11 citations
- Uncertainty Quantification for Extreme ClassificationJyun-Yu Jiang, Wei-Cheng Chang, Jiong Zhang, Cho-Jui Hsieh et al.SIGIR 2023 · 1 citation
- Pretrained Generalized Autoregressive Model with Adaptive Probabilistic Label Clusters for Extreme Multi-label Text ClassificationHui Ye, Zhiyu Chen, Da-Han Wang, Brian D. DavisonICML 2020 · 57 citations
- ELMO : Efficiency via Low-precision and Peak Memory Optimization in Large Output SpacesJinbin Zhang, Nasib Ullah, Erik Schultheis, Rohit BabbarICML 2025
