TL;DR
This paper introduces a simple clustering method in PLM embedding spaces that significantly improves zero-shot text classification performance across diverse datasets without complex training.
Contribution
It demonstrates that clustering in PLM embeddings enhances zero-shot learning, outperforming prompt-based methods, especially on unbalanced datasets, with minimal human intervention.
Findings
Clustering in embedding space improves zero-shot classification accuracy.
The approach outperforms prior methods on unbalanced datasets.
PLM embeddings naturally group texts by topics even without explicit training.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
