Large Language Model as a Teacher for Zero-shot Tagging at Extreme Scales

Jinbin Zhang, Nasib Ullah, Rohit Babbar
6/13/2024
cs.LG

No official code found. Best implementation: xmc-aalto/LMTX (0 stars, last commit 2025-06-13). 1 more below.

Abstract

Extreme Multi-label Text Classification (XMC) entails selecting the most relevant labels for an instance from a vast label set. Extreme Zero-shot XMC (EZ-XMC) extends this challenge by operating without annotated data, relying only on raw text instances and a predefined label set, making it particularly critical for addressing cold-start problems in large-scale recommendation and categorization systems. State-of-the-art methods, such as MACLR and RTS, leverage lightweight bi-encoders but rely on suboptimal pseudo labels for training, such as document titles (MACLR) or document segments (RTS), which may not align well with the intended tagging or categorization tasks. On the other hand, LLM-based approaches, like ICXML, achieve better label-instance alignment but are computationally expensive and impractical for real-world EZ-XMC applications due to their heavy inference costs. In this paper, we introduce LMTX (Large language Model as Teacher for eXtreme classification), a novel framework that bridges the gap between these two approaches. LMTX utilizes an LLM to identify high-quality pseudo labels during training, while employing a lightweight bi-encoder for efficient inference. This design eliminates the need for LLMs at inference time, offering the benefits of improved label alignment without sacrificing computational efficiency. Our approach achieves superior performance and efficiency over both LLM and non-LLM based approaches, establishing a new state-of-the-art in EZ-XMC.

View on arXivView PDF

Code Implementations(2)

xmc-aalto/LMTXCommunity68%

Large Language Model as a Teacher for Zero-shot Tagging at Extreme Scales

01Shell, PythonDec 14, 20241 years ago
geduo15/LMTXCommunity64%

Codebase for "Large Language Model as a Teacher for Zero-shot Tagging at Extreme Scales"

00Dec 9, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024large,
  title  = {Large Language Model as a Teacher for Zero-shot Tagging at Extreme Scales},
  author = {Jinbin Zhang and Nasib Ullah and Rohit Babbar},
  year   = {2024},
  eprint = {2406.09288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.09288v2}
}

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

Discussion