Evaluation-Driven Development › Avoiding False Improvements

Michael BrenndoerferDecember 2, 20262 min read
Language AI HandbookAll chapters
Part 64 of 67Compound AI System Design
Chapter 487Evaluation-Driven Development › Avoiding False Improvements
Reading section 10 of 14 · Avoiding False Improvements · 2 minSection 10 of 14 · 2 min

Section 10 of 14 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A scored improvement can come from changes to the measurement setup. Compare identical case sets or explicitly reweight by a stated target distribution. Keep holdout feedback away from adaptive tuning. Pin the grading version and re-score both releases if that version changes. For stochastic systems, predeclare the number of generations per case and summarize their mean success. An at-least-one-success metric answers a different question from mean success per generation.

Judge calibration matters too. Zheng et al. describe position, verbosity, and self-enhancement bias in their work on model judges. Compare model grades to human judgments on relevant outputs and review disagreements. Zheng et al. (2023)

The toy grader can accept a negated assertion containing the required words. Run it on two answers about the same policy.

ConsoleOut [37]
CollapseExpand
Honest answer scores: 1.0
Negated answer scores: 1.0

Both score 1 because both contain the same required characters. Only one affirms the policy. The fixture measures substring presence. Use task-specific grading tests to catch that gap.

Several issues can occur in the same run. A developer can report tuned cases as if they were independent confirmation, select a noisy winner from many variants, or change the suite's case mix. The negation example has a different cause. Its substring rule fails to measure answer meaning even when the data are kept separate. Pinning evaluation data helps isolate the first set of problems. Testing and calibrating the grader helps reveal the last.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy