SemSup-XC: Semantic Supervision for Zero and Few-shot Extreme Classification

Pranjal Aggarwal, A. Deshpande, Karthik Narasimhan
2/12/2026

No official code found. Best implementation: princeton-nlp/semsup-xc (10 stars, MIT, last commit 2023-02-22).

Abstract

Extreme classification (XC) involves predicting over large numbers of classes (thousands to millions), with real-world applications like news article classification and e-commerce product tagging. The zero-shot version of this task requires generalization to novel classes without additional supervision. In this paper, we develop SemSup-XC, a model that achieves state-of-the-art zero-shot and few-shot performance on three XC datasets derived from legal, e-commerce, and Wikipedia data. To develop SemSup-XC, we use automatically collected semantic class descriptions to represent classes and facilitate generalization through a novel hybrid matching module that matches input instances to class descriptions using a combination of semantic and lexical similarity. Trained with contrastive learning, SemSup-XC significantly outperforms baselines and establishes state-of-the-art performance on all three datasets considered, gaining up to 12 precision points on zero-shot and more than 10 precision points on one-shot tests, with similar gains for recall@10. Our ablation studies highlight the relative importance of our hybrid matching module and automatically collected class descriptions.

View on arXivView PDF

Code Implementations(1)

MIT

SemSup-XC: Semantic Supervision for Extreme Classification

103Shell, PythonDec 19, 20223 years agoMIT

Similar Papers

Cite this paper

@article{aggarwal2026semsupxc,
  title  = {SemSup-XC: Semantic Supervision for Zero and Few-shot Extreme Classification},
  author = {Pranjal Aggarwal and A. Deshpande and Karthik Narasimhan},
  year   = {2026},
  eprint = {2301.11309},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2301.11309},
  journal = {ICML 2023 2023}
}

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/2301.11309.svg)](https://codeofpaper.com/paper/2301.11309)

Discussion