Graph
Zero-shot Learning

đź§­Zero-shot Learning

NEW

Also known as: ZSL

A learning paradigm where models recognize unseen classes by leveraging auxiliary semantic information at inference.

DESCRIPTION

Zero-shot learning enables recognition of classes without training examples by connecting visual or textual features to semantic descriptions, attributes, or label embeddings. Modern approaches use joint vision–language models (e.g., CLIP) to align modalities and perform zero-shot classification via text prompts. ZSL expands model applicability, reduces labeling cost, and supports open-set recognition but risks semantic drift and misclassification under domain shift.

ALTERNATIVE DEFINITIONS

Wikipedia

Zero-shot learning (ZSL) is a problem in machine learning where, at test time, a learner observes samples from classes that were not observed during training and must predict the class.

Formalizes test-time recognition of unseen classes.

Source

IBM

Zero-shot learning is a machine learning technique in which a model recognizes objects it has never seen before by relying on semantic information.

Highlights role of semantic information for unseen classes.

Source

Yongqin Xian et al.

We conduct a comprehensive evaluation of methods for zero-shot learning and propose a unified evaluation protocol to compare them fairly.

Authoritative survey establishing standardized evaluation for ZSL methods.

Source

Fine-Tuning Meta-Learning Prompting Semantic Attributes Label Embeddings CLIP Superclass Out-of-Distribution Recognition

COMPETING TERMS

Few-Shot Learning Supervised Learning

KNOWLEDGE AREAS

AI Data Science MLOps

TARGET AUDIENCE

AI Engineer Data Scientist MLOps Engineer AI Product Manager

EXTERNAL SOURCES

  • Wikipedia - Zero-shot learning
  • arXiv - Comprehensive ZSL evaluation paper
  • OpenAI - CLIP zero-shot vision–language model
  • Hugging Face - Practical zero-shot classification guide

TOP QUESTIONS

Why is Zero-shot Learning useful?

It removes the need for labeled examples for every class, enabling rapid adaptation to new categories and reducing annotation costs.

Category: Relevancy

How does Zero-shot Learning typically work?

It aligns data features with semantic representations (attributes, text embeddings) to infer labels for unseen classes at inference.

Category: Concept

What is the difference between Zero-shot and Few-shot Learning?

Zero-shot uses no examples of new classes; few-shot uses a handful. Few-shot often performs better but needs some labels.

Category: Comparison

What are common pitfalls in Zero-shot Learning?

Semantic mismatches and domain shift can cause misclassification. Careful prompt engineering and calibration help.

Category: Mistakes

How is Zero-shot Learning evaluated?

Generalized ZSL splits assess performance on seen and unseen classes. Calibration and harmonic mean metrics are common.

Category: Testing

Where does prompting fit into Zero-shot Learning?

Text prompts define label semantics for vision–language models, enabling zero-shot recognition via similarity in a shared embedding space.

Category: Application

What risks accompany Zero-shot Learning?

Bias from pretrained embeddings and prompt sensitivity can lead to unfair or unstable predictions. Auditing and safeguards are needed.

Category: Risks

What is a striking analogy for Zero-shot Learning?

Like recognizing a new animal from a written description without ever seeing it before.

Category: Example

Where to start with Zero-shot Learning?

Experiment with CLIP-based zero-shot classification and Hugging Face pipelines, then explore generalized ZSL benchmarks.

Category: Learning