close
breadcrumb right arrowGlossary
breadcrumb right arrowZero-Shot Learning
Zero-Shot Learning

A model doing zero-shot learning is handling a task, classifying a document type, answering a question in an unfamiliar format, that it was never given specific training examples for. It relies entirely on the general knowledge picked up during its original training plus whatever instructions appear in the prompt itself.

This is possible because large foundation models learn broad, generalizable patterns rather than narrow, task-specific rules, so a well-phrased instruction alone is often enough for the model to correctly perform a new task on the first attempt, no separate setup or example-gathering required.

Frequently Asked Questions

How can a model perform a task it was never trained on?

Because its training exposed it to an enormous range of language patterns and concepts, giving it a general enough understanding to apply relevant reasoning to a genuinely new instruction, rather than needing that exact task pattern memorized in advance.

When does zero-shot performance fall short?

On tasks with unusual formatting requirements, ambiguous instructions, or highly specialized domain conventions the model hasn't seen much of, a few examples or explicit formatting guidance in the prompt often closes that gap.

Is zero-shot learning the same as having no instructions at all?

No, zero-shot still means the model receives a clear instruction describing the task, it just isn't given worked examples of that specific task alongside the instruction, unlike few-shot prompting.

Why would a business prefer a zero-shot approach over fine-tuning?

Speed and flexibility, zero-shot requires no training data collection or model retraining, so a new task can be tried immediately, valuable when validating whether an approach works before investing in something more involved.

Does zero-shot performance vary a lot between models?

Yes, larger, more capable foundation models generally handle zero-shot tasks more reliably than smaller ones, since broader general knowledge and reasoning ability directly improve performance on tasks the model wasn't specifically prepared for.

How does zero-shot learning relate to few-shot learning?

They're two points on the same spectrum, zero-shot gives the model an instruction with no examples, few-shot adds a handful of worked examples to guide it further, and fine-tuning goes further still by actually retraining the model on many examples.