mlsanityData to 13 Oct 2026

Beyond Prompting: Making Pre-trained Language Models Better Zero-shot Learners by Clustering Representations

arXiv 2210.16637 ↗First posted 29 Oct 2022cs.CL cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Recent work has demonstrated that pre-trained language models (PLMs) are zero-shot learners. However, most existing zero-shot methods involve heavy human engineering or complicated self-training pipelines, hindering their application to new situations. In this work, we show that zero-shot text classification can be improved simply by clustering texts in the embedding spaces of PLMs. Specifically, we fit the unlabeled texts with a Bayesian Gaussian Mixture Model after initializing cluster positions and shapes using class names. Despite its simplicity, this approach achieves superior or comparable performance on both topic and sentiment classification datasets and outperforms prior works significantly on unbalanced datasets. We further explore the applicability of our clustering approach by evaluating it on 14 datasets with more diverse topics, text lengths, and numbers of classes. Our approach achieves an average of 20% absolute improvement over prompt-based zero-shot learning. Finally, we compare different PLM embedding spaces and find that texts are well-clustered by topics even if the PLM is not explicitly pre-trained to generate meaningful sentence embeddings. This work indicates that PLM embeddings can categorize texts without task-specific fine-tuning, thus providing a new way to analyze and utilize their knowledge and zero-shot learning ability.

Key facts. Cited by 11 papers in the map (data through 13 Oct 2026). Builds on 31 of its 55 references that are in the map. First posted on arXiv 29 Oct 2022.

Builds on

31 of 55 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2020Language Models are Few-Shot Learnerscited by 32,320
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,549
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
  6. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,317
  7. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,360
  8. 2021Convex optimizationcited by 2,488
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,319
  10. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,229
  11. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,170
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,376
19 more
  1. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  2. 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
  3. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 935
  4. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 425
  5. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  6. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  7. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
  8. 2021OpenPrompt: An Open-source Framework for Prompt-learningcited by 148
  9. 2021Supporting Clustering with Contrastive Learningcited by 90
  10. 2018Weakly-Supervised Neural Text Classificationcited by 66
  11. 2022Prototypical Verbalizer for Prompt-based Few-shot Tuningcited by 53
  12. 2020X-Class: Text Classification with Extremely Weak Supervisioncited by 45
  13. 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
  14. 2017Self-Taught Convolutional Neural Networks for Short Text Clusteringcited by 34
  15. 2022AdaPrompt: Adaptive Model Training for Prompt-based NLPcited by 30
  16. 2019Discriminative Topic Mining via Category-Name Guided Text Embeddingcited by 29
  17. 2021Weakly-supervised Text Classification Based on Keyword Graphcited by 25
  18. 2020Unsupervised Label Refinement Improves Dataless Text Classificationcited by 9
  19. 2020Deep Clustering of Text Representations for Supervision-free Probing of Syntaxcited by 7

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 4; 2024: 5.

11 papers.