Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Text mining›Zero-Shot Classification — Text Classification Without Training Data
Process / pipeline

Zero-Shot Classification — Text Classification Without Training Data

Zero-Shot Text Classification · Also known as: zero-shot text classification, entailment-based classification, Sıfır Atışlı Sınıflandırma (Zero-Shot Classification)

Zero-shot classification is a natural-language-processing task that assigns text to categories described in plain language without requiring any labelled training data. Formalised as an entailment problem by Yin, Hay and Roth (2019), it lets a large pretrained language model recognise new categories on the fly simply by naming them, enabling rapid adaptation to fresh label sets.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Zero-Shot Classification
Few-Shot Text Classifica…Sentiment AnalysisText ClassificationPrompt EngineeringTextual Entailment

When to use it

Zero-shot classification fits when you have text to categorise but no labelled training data, and when the categories may change or grow over time. It requires a large pretrained language model (such as BART or RoBERTa-based entailment models) and candidate labels that are defined clearly and disjointly. It is well suited to rapid prototyping and to settings where collecting labelled examples for every class is impractical.

Strengths & limitations

Strengths
  • Requires no labelled training data — categories are described in plain language.
  • Adapts rapidly to new categories: adding a class only means adding its name to the candidate-label list.
  • Leverages the broad linguistic knowledge already captured in a large pretrained model.
Limitations
  • Depends on a large pretrained language model (BART, RoBERTa), which carries computational cost.
  • Accuracy hinges on how clearly and disjointly the candidate labels are worded.
  • Without task-specific training it can be outperformed by a supervised classifier when ample labelled data exists.

Frequently asked

Does zero-shot classification need any training data?

No. That is its defining feature: you describe the categories as natural-language candidate labels and a large pretrained model judges the fit, so no labelled examples are required.

Which model does it rely on?

It relies on a large pretrained language model, typically an entailment-trained model such as BART or RoBERTa. The quality of the result depends heavily on using a capable pretrained model rather than a small generic one.

How should I write the candidate labels?

Define them clearly and keep them disjoint. The model compares the text against each label as written, so vague or overlapping labels blur the decision and lower accuracy.

Is it as accurate as a supervised classifier?

Not necessarily. When you have ample labelled data, a supervised classifier trained on that data can outperform zero-shot. Zero-shot shines when labelled data is scarce or the category set keeps changing.

Sources

  1. Yin, W., Hay, J. & Roth, D. (2019). Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approach. EMNLP, 3914-3923. DOI: 10.18653/v1/D19-1404 ↗
  2. Brown, T. et al. (2020). Language Models are Few-Shot Learners. NeurIPS. link ↗

How to cite this page

ScholarGate. (2026, June 1). Zero-Shot Text Classification. ScholarGate. https://scholargate.app/en/text-mining/zero-shot-classification

Related methods

Few-Shot Text ClassificationSentiment AnalysisText Classification

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Few-Shot Text ClassificationText mining↔ compare
  • Sentiment AnalysisText mining↔ compare
  • Text ClassificationText mining↔ compare
Compare side by side →

Referenced by

Prompt EngineeringTextual Entailment

Similar methods

Few-Shot Text ClassificationText ClassificationWeakly Supervised RoBERTa-based ClassificationWeakly supervised BERT-based classificationTextual EntailmentSelf-supervised RoBERTa-based classificationBERT Fine-TuningSemi-supervised RoBERTa-based Classification

Related reference concepts

Text ClassificationText Classification and Sentiment AnalysisInformation ExtractionInformation ExtractionPart-of-Speech Tagging and Sequence LabelingNatural Language Processing in Clinical Documentation

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Zero-Shot Classification (Zero-Shot Text Classification). Retrieved 2026-07-21 from https://scholargate.app/en/text-mining/zero-shot-classification · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Yin, Hay & Roth
Year
2019
Type
NLP text-classification task
Approach
Natural-language candidate labels via pretrained entailment / language models
Training Data
None required (zero labelled examples)
Related methods
Few-Shot Text ClassificationSentiment AnalysisText Classification
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account