Artificial Intelligence

What is Zero-Shot Learning?

Quick answer

The ability of an AI model to perform a task or recognize categories it was not explicitly trained on, without any examples.

Zero-Shot Learning, explained

Traditional machine learning models need labeled examples for every category they must recognize. Zero-shot learning lets a model handle new tasks or classes using general knowledge and a description of what is required.

For example, a large language model can classify customer reviews as positive, negative, or neutral when simply asked to, without being shown any example reviews first. Similarly, some image models can identify an animal they never saw in training if given a text description that connects to features they learned. Few-shot learning is a related approach in which a handful of examples are included in the prompt. Zero-shot performance is convenient but often less reliable than fine-tuned models for specialized tasks.

Related terms

Guides that mention Zero-Shot Learning