What is Zero-Shot Accuracy?
Zero-Shot Accuracy is how accurately an AI model performs on a task it was given no task-specific examples for, relying only on its general pre-trained knowledge and the instructions in the prompt. It measures a model's ability to generalize to new tasks, as opposed to few-shot accuracy, which is measured after giving the model a handful of example inputs and outputs first.
TL;DR
Zero-Shot Accuracy measures how well an AI model performs a task with no example inputs or outputs to learn from, relying purely on its pre-trained knowledge and the prompt's instructions.
Formula
Zero-Shot Accuracy = (Correct Outputs with No Task-Specific Examples Provided / Total Test Cases) × 100
Why It Matters
Zero-Shot Accuracy matters because it reveals how much genuine understanding a model brings to a brand-new task versus how much it depends on being shown examples first. A model with strong zero-shot accuracy can be deployed on new tasks quickly with minimal setup, while a model that only performs well with several examples requires more prompt engineering and testing before it can be trusted in production. Tracking zero-shot accuracy on a specific task also helps teams decide where to invest effort, since a low score signals the task may need few-shot examples, a different prompt structure, or fine-tuning before it's reliable enough to use.
Example
A model is asked to classify 500 customer support tickets into categories it has never explicitly been trained or shown examples for, using only a plain-language description of each category in the prompt, and correctly classifies 410 of them. Zero-shot accuracy is 410 divided by 500, times 100, which equals 82%. If zero-shot accuracy on a task is too low for production use, adding a handful of labeled examples directly in the prompt, moving to few-shot, is often a faster fix than fine-tuning the underlying model.
Frequently Asked Questions