Promptwatch Logo

Zero-Shot Learning

Zero-shot learning is a model's ability to perform a task from instructions alone, with no worked examples in the prompt and no task-specific training.
Updated October 15, 2026
AI

Definition

Zero-shot learning is a model's ability to perform a task it was not specifically trained for and has seen no examples of, working only from a description of what to do. With a large language model, a zero-shot prompt states the task ('classify these reviews as positive, negative or mixed') and supplies the input, without any worked examples.

The term has two related uses. In classic machine learning it means recognizing classes that never appeared in training by relying on descriptions or attributes, for example an image model labeling a photo as 'a folding e-bike' by comparing it with text descriptions. In LLM prompting it is one end of a spectrum defined in OpenAI's GPT-3 paper, Language Models are Few-Shot Learners (2020): zero-shot (instruction only), one-shot (one example) and few-shot (a handful of examples in the prompt). In that paper, GPT-3 with 175 billion parameters did markedly better with a few examples than without any, which is why few-shot prompting became the default for a while.

Two developments made zero-shot prompting the normal way to use LLMs. Instruction tuning and RLHF trained models to follow plain task descriptions. And researchers found that reasoning could be triggered without examples: Kojima et al. (2022) showed that adding 'Let's think step by step' raised InstructGPT's accuracy on the MultiArith benchmark from 17.7% to 78.7% and on GSM8K from 10.4% to 40.7%, with no worked examples at all. Today's reasoning models do that chain-of-thought step internally, so frontier models such as GPT-6, Claude Opus 5.5 and Gemini 4 Argon are usually prompted zero-shot for everyday tasks.

Zero-shot has limits. It struggles when the output format is unusual, when labels have a company-specific meaning ('qualified lead' means something different in every CRM), or when the instruction is ambiguous. In those cases a few examples or fine-tuning still help. It also adds no knowledge: a model working zero-shot on a topic past its knowledge cutoff can only fill the gap by retrieving information or by guessing, and guessing is where hallucinations come from.

For AI search, nearly every user prompt is a zero-shot task. Someone asks a new question with no examples, and the model decides on its own how to break it into searches (query fan-out), which sources to trust and how to structure the answer. For long-tail and novel prompts, nobody has optimized a page for that exact wording, so the model relies on whatever passages define the concepts and state the relationships it needs. Content that names its subject, defines its terms and makes comparisons explicit gives a model usable material for questions no one anticipated. The same idea applies to the measurement side: AI visibility tools often use zero-shot LLM classification to label brand mentions, sentiment or prompt intent, so it is worth checking a hand-labeled sample against those labels before relying on them. See prompt engineering for how instructions and examples are combined in practice.

Examples of Zero-Shot Learning

  • A marketer asks Claude Sonnet 5.5 to sort 500 tracked prompts into informational, commercial and navigational intent using only a one-line definition of each label, with no labeled examples in the prompt.
  • Kojima et al. added a single instruction, 'Let's think step by step', to math word problems and raised InstructGPT's MultiArith accuracy from 17.7% to 78.7% without giving it any solved examples.
  • An image classifier labels product photos from a category it was never trained on by matching each image against text descriptions such as 'a photo of a standing desk'.
  • A support team's zero-shot ticket classifier keeps confusing 'billing issue' with 'plan upgrade request'. Adding three labeled examples of each to the prompt, a few-shot setup, fixes most of the errors.

Terms related to Zero-Shot Learning

Few-Shot Learning

Few-shot learning is when an AI model performs a new task from a handful of worked examples placed in the prompt, without any retraining or fine-tuning.

AI

Prompt Engineering

Prompt engineering is writing and testing instructions for language models so they produce consistent, useful output. It now sits within context engineering.

AI

Chain of Thought (CoT)

Chain of thought is step-by-step reasoning that a language model writes before its answer. First a prompting technique, it now runs inside reasoning models.

AI

Reasoning Models

Reasoning models are LLMs that work through a problem in internal steps before answering. In 2026 most frontier models expose this as a thinking setting.

AI

Large Language Model (LLM)

A large language model (LLM) is a neural network trained on vast text to predict tokens. LLMs such as GPT-6, Claude and Gemini power AI search and assistants.

AI

AI Fine-tuning

AI fine-tuning is extra training of a pre-trained model on your own examples to change its style, format or task behavior, with methods like SFT, DPO and LoRA.

AI

Knowledge Cutoff

A knowledge cutoff is the date after which an AI model has no training data. Newer facts reach the model only through web search or retrieval.

AI

RLHF (Reinforcement Learning from Human Feedback)

RLHF (reinforcement learning from human feedback) trains LLMs on human rankings of their answers, shaping how assistants respond, hedge and cite.

AI

Foundation Models

Foundation models are large AI models trained on broad data and adapted to many tasks. GPT, Claude, Gemini, Grok and DeepSeek are current examples.

AI

Frequently Asked Questions about Zero-Shot Learning

Learn about AI visibility monitoring and how Promptwatch helps your brand succeed in AI search.

Zero-shot learning is when a model handles a task without task-specific training and without examples, relying only on instructions and what it learned in pretraining. For a language model, that means a prompt that describes the task and gives the input, but no sample inputs with correct outputs. Modern LLMs handle many tasks this way.

Be the brand AI recommends

Monitor your brand's visibility across ChatGPT, Claude, Perplexity, and Gemini. Get actionable insights and create content that gets cited by AI search engines.

Promptwatch Dashboard