mlsanityData to 14 Oct 2026

Empowering Sentence Encoders with Prompting and Label Retrieval for Zero-shot Text Classification

arXiv 2212.10391 ↗First posted 20 Dec 2022cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

With contrastive pre-training, sentence encoders are generally optimized to locate semantically similar samples closer to each other in their embedding spaces. In this work, we focus on the potential of their embedding spaces to be readily adapted to zero-shot text classification, as semantically distinct samples are already well-separated. Our framework, RaLP (Retrieval augmented Label Prompts for sentence encoder), encodes prompted label candidates with a sentence encoder, then assigns the label whose prompt embedding has the highest similarity with the input text embedding. In order to compensate for the potentially poorly descriptive labels in their original format, RaLP retrieves sentences that are semantically similar to the original label prompt from external corpora and use them as additional pseudo-label prompts. RaLP achieves competitive or stronger performance than much larger baselines on various closed-set classification and multiple-choice QA datasets under zero-shot settings. We show that the retrieval component plays a pivotal role in RaLP's success, and its results are robustly attained regardless of verbalizer variations.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 20 Dec 2022.

Builds on

41 of 53 references.

References · 41

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  7. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  8. 2017Billion-scale similarity search with GPUscited by 2,497
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  10. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  11. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  12. 2015A large annotated corpus for learning natural language inferencecited by 1,847
29 more
  1. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  2. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  3. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  4. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  5. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  6. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  7. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  8. 2015Improving Neural Machine Translation Models with Monolingual Datacited by 788
  9. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 669
  10. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
  11. 2021MetaICL: Learning to Learn In Contextcited by 454
  12. 2020How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answeringcited by 445
  13. 2021True Few-Shot Learning with Language Modelscited by 344
  14. 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 308
  15. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
  16. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 229
  17. 2018Contextual Augmentation: Data Augmentation by Words with Paradigmatic Relationscited by 201
  18. 2021How Many Data Points is a Prompt Worth?cited by 198
  19. 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 165
  20. 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
  21. 2022Efficient Few-Shot Learning Without Promptscited by 137
  22. 2022Training Language Models with Memory Augmentationcited by 113
  23. 2020Self-training Improves Pre-training for Natural Language Understandingcited by 96
  24. 2017On Sampling Strategies for Neural Network-based Collaborative Filteringcited by 71
  25. 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
  26. 2022Nonparametric Masked Language Modelingcited by 40
  27. 2022Zero-Shot Text Classification with Self-Trainingcited by 26
  28. 2022Beyond Prompting: Making Pre-trained Language Models Better Zero-shot Learners by Clustering Representationscited by 11
  29. 2021A Neural Few-Shot Text Classification Reality Checkcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 0; 2025: 0; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022kNN-Prompt: Nearest Neighbor Zero-Shot Inference
  2. 2026Label-Centric Knowledge Retrieval for Zero-Shot Text Classification
  3. 2024Extracting Sentence Embeddings from Pretrained Transformer Models
  4. 2024Rethinking Prompting Strategies for Multi-Label Recognition with Partial Annotations
  5. 2023Large Language Models Are Zero-Shot Text Classifiers
  6. 2024Few-Shot Recognition via Stage-Wise Retrieval-Augmented Finetuning
  7. 2024GASE: Generatively Augmented Sentence Encoding
  8. 2025Retrieval-augmented Encoders for Extreme Multi-label Text Classification