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
10/16/2022
cs.LGcs.IR

Official code: nilesh2797/ELIAS (12 stars, Jupyter Notebook, last commit 2023-04-19).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

nilesh2797/ELIASOfficial100%

Official codebase for NeurIPS 2022 paper End-to-end Learning to Index and Search in Large Output Spaces

121Jupyter Notebook, PythonOct 6, 20223 years ago
extreme-multi-label-classificationlarge-output-spacesearch-index

Similar Papers

Cite this paper

@article{gupta2022elias,
  title  = {ELIAS: End-to-End Learning to Index and Search in Large Output Spaces},
  author = {Nilesh Gupta and Patrick H. Chen and Hsiang-Fu Yu and Cho-Jui Hsieh and Inderjit S Dhillon},
  year   = {2022},
  eprint = {2210.08410},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08410}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.08410.svg)](https://codeofpaper.com/paper/2210.08410)

Discussion