TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Evaluating Unsupervised Text Classification: Zero-shot and...

Evaluating Unsupervised Text Classification: Zero-shot and Similarity-based Approaches

Tim Schopf, Daniel Braun, Florian Matthes

2022-11-29Text Classificationtext-classificationUnsupervised Text ClassificationZero-Shot Text ClassificationClassification
PaperPDFCode(official)Code(official)

Abstract

Text classification of unseen classes is a challenging Natural Language Processing task and is mainly attempted using two different types of approaches. Similarity-based approaches attempt to classify instances based on similarities between text document representations and class description representations. Zero-shot text classification approaches aim to generalize knowledge gained from a training task by assigning appropriate labels of unknown classes to text documents. Although existing studies have already investigated individual approaches to these categories, the experiments in literature do not provide a consistent comparison. This paper addresses this gap by conducting a systematic evaluation of different similarity-based and zero-shot approaches for text classification of unseen classes. Different state-of-the-art approaches are benchmarked on four text classification datasets, including a new dataset from the medical domain. Additionally, novel SimCSE and SBERT-based baselines are proposed, as other baselines used in existing work yield weak classification results and are easily outperformed. Finally, the novel similarity-based Lbl2TransformerVec approach is presented, which outperforms previous state-of-the-art approaches in unsupervised text classification. Our experiments show that similarity-based approaches significantly outperform zero-shot approaches in most cases. Additionally, using SimCSE or SBERT embeddings instead of simpler text representations increases similarity-based classification results even further.

Results

TaskDatasetMetricValueModel
Text ClassificationMedical AbstractsF1-score56.46Lbl2TransformerVec
Text ClassificationMedical AbstractsF1-score43.03Lbl2Vec
Text Classification20NewsGroupsF1-score6469Lbl2TransformerVec
Text ClassificationYahoo! AnswersF1-score55.84Lbl2TransformerVec
Text ClassificationAG NewsF1-score8379Lbl2TransformerVec
ClassificationMedical AbstractsF1-score56.46Lbl2TransformerVec
ClassificationMedical AbstractsF1-score43.03Lbl2Vec
Classification20NewsGroupsF1-score6469Lbl2TransformerVec
ClassificationYahoo! AnswersF1-score55.84Lbl2TransformerVec
ClassificationAG NewsF1-score8379Lbl2TransformerVec

Related Papers

Making Language Model a Hierarchical Classifier and Generator2025-07-17Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16AI-Enhanced Pediatric Pneumonia Detection: A CNN-Based Approach Using Data Augmentation and Generative Adversarial Networks (GANs)2025-07-13GNN-CNN: An Efficient Hybrid Model of Convolutional and Graph Neural Networks for Text Representation2025-07-10Fuzzy Classification Aggregation for a Continuum of Agents2025-07-06Hybrid-View Attention for csPCa Classification in TRUS2025-07-04