liveBook · Manning

Zero-shot learning

As explained in Reinforcement Learning from Human Feedback

Zero-shot evaluation measures a model on questions or tasks without providing task-specific examples in the prompt.

Zero-shot evaluation tests a model on questions or tasks without task-specific examples in the prompt. It measures whether instruction-tuned models can generalize beyond the tasks used during training, making evaluation closer to open-ended use than example-conditioned testing. section 16.1.3

A zero-shot question

A prompt can ask, “What is the capital of France?” and leave the assistant response field empty. The model must answer without demonstrations or task-specific examples. section 16.1.3

FLAN demonstrated that models fine-tuned on specific tasks could answer unseen zero-shot questions; T0 reported similar results. Zero-shot evaluation therefore marks an important transition toward instruction fine-tuning, later RLHF, and generation-based assessment. section 16.1.3

User: "What is the capital of France?"
Assistant:

Inspect a minimal zero-shot prompt: it specifies a question but supplies no worked examples for the requested task. section 16.1.3

How Reinforcement Learning from Human Feedback covers it

How deep it goes
Defines the evaluation setup and motivation, but stops short of detailing implementation beyond sampling and exact-match terminology.
Examples
Uses an unanswered capital-of-France prompt and contrasts generation sampling with temperature-zero multiple-choice evaluation.
What you can do after
Evaluate model generalization on unseen questions without supplying task-specific prompt examples.
How it connects
Connects zero-shot evaluation to instruction fine-tuning, RLHF, post-training, and generation-based evaluation.

Also explained in

Compare how 10 books explain zero-shot learning →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Reinforcement Learning from Human Feedback. The section links point to the parts of the book it draws on.