liveBook · Manning

Chapter 16: Evaluation

What you will learn in chapter 16 of Reinforcement Learning from Human Feedback

Introduces evaluation as benchmark-based measurement of model quality and traces how evaluation priorities have changed alongside RLHF and post-training.

After this chapter you will be able to

What it builds on

Section by section

Introduction

Introduces evaluation as benchmark-based measurement of model quality and traces how evaluation priorities have changed alongside RLHF and post-training.

Key terms: evaluation, benchmarks, chat, LLM-as-a-judge, length bias, multiskill era, reasoning and tools, multistakeholder, private evaluations, community-driven evaluations

16.1 Prompting formatting

This section explains why prompt construction matters for evaluating language models, while noting that it is often easier to hurt a strong model’s performance than to improve it through prompting.

Key terms: prompt, prompting techniques, evaluation, prompting, data, training algorithms

16.1.1 Few-shot prompting and log-likelihood scoring

This section explains how few-shot language-model evaluations prompt and score answers, and why formatting can distort the results.

Key terms: few-shot prompting, in-context learning, exact match, majority voting, conditional log-likelihood scoring, log-probabilities, format-agnostic evaluation, pretraining evaluation, post-training

16.1.2 Chain-of-thought prompting

This subsection introduces chain-of-thought prompting as few-shot examples that show written-out reasoning for a model to follow.

Key terms: chain-of-thought examples, few-shot prompting, in-context examples, written-out reasoning

16.1.3 Zero-shot instruction following

This subsection traces the shift from zero-shot instruction following to generation-based evaluation as language models became more open-ended, while noting the continued use of multiple-choice tests.

Key terms: zero-shot evaluation, zero-shot learners, FLAN, instruction fine-tuning (IFT), evaluation with sampling from the model, generation-based [exact-match] evaluation, multiple-choice evaluations, temperature

16.1.4 Reasoning-era evaluation prompts

This section explains how reasoning models shifted evaluation from single-token answers to generated chain-of-thought responses checked for exact answers.

Key terms: generation-based (exact-match) evaluation, CoT reasoning, single-token answer sampling, think step by step, specially designed prompts, thinking tokens, answer tokens

16.2 Why many external evaluation comparisons are unreliable

The section explains why published language-model evaluation scores can be difficult to reproduce or compare across labs and why benchmarks lose usefulness as they saturate.

Key terms: evaluation setup, hillclimb, held-out evaluation sets, large error bars, inference-time scaling, total number of tokens for inference, evaluation formats, post-training, NuminaMath, MetaMath

16.3 How labs actually use evaluations internally to improve models

Explains how frontier labs use selected, often private evaluations and human feedback to compare training runs and guide model improvement.

Key terms: true test set, generalizing, training sets, hillclimb, internal evaluations, statistical power, noise, human evaluation, Elo rankings, agreement

16.4 Contamination

This section explains how benchmark data can leak into language-model training, how overlaps are checked, and why suspected contamination is difficult to prove.

Key terms: dataset contamination, data leakage, decontamination, n-gram overlap, base-model contamination, RLVR, confounding variable, perturbation benchmarks, contamination, high variance

16.5 Tooling

Lists open-source tools available for evaluating language models.

Key terms: Inspect AI, LightEval, EleutherAI’s evaluation harness, HELM, Eval Gauntlet

16.6 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 15: Regularization Chapter 17: Crafting model character and products →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.