mlsanityData to 7 Oct 2026

In-Context Learning for Extreme Multi-Label Classification

arXiv 2401.12178 ↗First posted 22 Jan 2024cs.CL cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Multi-label classification problems with thousands of classes are hard to solve with in-context learning alone, as language models (LMs) might lack prior knowledge about the precise classes or how to assign them, and it is generally infeasible to demonstrate every class in a prompt. We propose a general program, textttInfer--Retrieve--Rank, that defines multi-step interactions between LMs and retrievers to efficiently tackle such problems. We implement this program using the textttDSPy programming model, which specifies in-context systems in a declarative manner, and use textttDSPy optimizers to tune it towards specific datasets by bootstrapping only tens of few-shot examples. Our primary extreme classification program, optimized separately for each task, attains state-of-the-art results across three benchmarks (HOUSE, TECH, TECHWOLF). We apply the same program to a benchmark with vastly different characteristics and attain competitive performance as well (BioDEX). Unlike prior work, our proposed solution requires no finetuning, is easily applicable to new tasks, alleviates prompt engineering, and requires only tens of labeled examples. Our code is public at https://github.com/KarelDO/xmc.dspy.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 10 of its 17 references that are in the map. First posted on arXiv 22 Jan 2024.

Builds on

10 of 17 references.

References · 10

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  4. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  5. 2022SkillSpan: Hard and Soft Skill Extraction from English Job Postingscited by 41
  6. 2023IDAS: Intent Discovery with Abstractive Summarizationcited by 22
  7. 2022BioLORD: Learning Ontological Representations from Definitions (for Biomedical Concepts and their Textual Descriptions)cited by 20
  8. 2022Design of Negative Sampling Strategies for Distantly Supervised Skill Extractioncited by 16
  9. 2023Large Language Models as Batteries-Included Zero-Shot ESCO Skills Matcherscited by 14
  10. 2023BioDEX: Large-Scale Biomedical Adverse Drug Event Extraction for Real-World Pharmacovigilancecited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.