All Glossary Terms

Zero-shot

Zero-shot prompting is the practice of requesting a model to execute a task without providing any task-specific input examples in the prompt.

What it is

The model relies entirely on its pre-existing internal parameters learned during training to understand the intent and perform the operation. You provide only the instruction, such as 'classify this sentiment,' rather than a pattern of input-output pairs. This approach minimizes prompt length, which directly reduces token consumption and latency per request. It relies on the model's inherent ability to generalize its training distribution to unseen tasks.

Why it matters

Choosing zero-shot determines your total cost and context window overhead. If you include many-shot examples to improve accuracy, you inflate the input token count and increase latency. Knowing when zero-shot is sufficient helps you optimize throughput and keep your inference bills predictable. It is the first step in debugging model performance before resorting to more expensive engineering patterns like retrieval-augmented generation.

In practice

In your codebase, zero-shot appears as a simple system or user message sent to the API without appending lists of data pairs. You observe it when testing a model with a clean prompt to determine its baseline performance on a task. If the model fails, you typically move to few-shot prompting, adding examples to the message history to guide the output.

The tradeoff

Zero-shot optimizes for the lowest possible latency and cost, but it often sacrifices output reliability and task-specific precision compared to few-shot prompting.

Where it appears

Research summaries that use Zero-shot, each linked to its source paper.

  • Benchmarking Global Spatial Awareness in VLMs
    GST-Bench: Can VLMs Develop Global Spatial Awareness from Video?

    The authors introduce GST-Bench to evaluate and improve how vision-language models maintain consistent spatial understanding across long, continuous video streams.

  • Recognizing Mediterranean Dishes with OliveGemma
    OliveGemma: A 3 Billion Visual Language Model for Recognising the Mediterranean & European Diet

    OliveGemma is a specialized 3 billion parameter visual language model trained to identify 216 Mediterranean and European dishes with high precision.

  • Why Audio Models Fail to Learn
    Discriminative Axis, Not Data Volume: What a Contrastive Corpus Teaches an Audio Embedding

    The paper demonstrates that contrastive audio models learn only those attributes that help them distinguish between training items, rather than everything described in their captions.

  • Why Language Models Fall For Traps
    Would You Walk to the Car Wash? Revealing the Salience Bias of Large Language Models in Commonsense Reasoning

    This research reveals that large language models often fail at basic common sense because they get distracted by numbers, even when they actually know the correct answer.

  • Improving AI Code Review and Accuracy
    From Code Review to Code Critique: Intent, Drift, and Spotlight for AI-Generated Diffs at Scale

    The paper introduces a new system that helps AI coding tools understand human goals and perform higher quality code reviews by focusing on essential technical standards.

  • Zero-Shot Generation of Images from Text
    Zero-Shot Text-to-Image Generation

    The paper presents a text-to-image generation method that removes the need for complex, auxiliary modeling assumptions by using an autoregressive transformer approach.