Zero-Shot Learning

Handling a task or class without labeled training examples for that specific task or class. In language-model prompting, zero-shot means giving an instruction without worked examples in the prompt.

What exactly was absent in a zero-shot test?

A museum wants to group new specimens. A classifier has never been trained on labeled examples of a particular target class, but it receives a written description of that class. A separate language task presents an instruction with no worked examples in the prompt.

Unseen target class

Evaluate whether information learned from other classes and the supplied description can support the new classification. Document how class overlap and training exposure were checked.

Zero-shot prompt

“Assign the request to one of these three desks” supplies instructions and category names but no example request paired with an answer. Adding one demonstration would make this a one-shot prompt.

Does zero-shot mean the idea is new to the model?

The absence of examples in a prompt says nothing by itself about exposure during pretraining. Even class-level evaluations should describe which training data are known and where overlap is uncertain. State precisely whether the claim concerns the prompt, the development dataset or training history.

A shaped ceramic object sits beside three trays of specimens.
Class descriptions can guide a prediction even when the training task contained no labeled examples of the target class.

How should performance be tested?

Use independently labeled cases, inspect per-class errors and record the class descriptions and prompt wording. A label name can supply a strong hint. Testing several reasonable phrasings can reveal how much the result depends on that hint.

Follow the idea

Transfer Learning · Look at what transfers from previous learning.

Prompt · Identify which instructions and examples were supplied in context.

Source · Brown and colleagues on zero-, one- and few-shot language model evaluation

Return to Zero-Shot Learning in the A–Z glossary