Judge Calibration and Meta-Evaluation › Building a Calibration Fixture
Language AI HandbookAll chapters The fixture determines which agreement and bias questions the evaluation can answer. It specifies the examples, reference labels, presentation order, and reported slices. These design choices apply to real evaluations. The synthetic example below implements a smaller subset.
Requirements for a calibration fixture
- Blinding. Keep candidate source and previous decisions hidden when the evaluation requires it. If each pair is shown only once, randomize the candidate order; a matched design observes both orders.
- Counterbalancing. Show the same candidates in both orders to measure how the choices change with display order. Assess the validity of those choices against a characterized reference.
- Ties and abstentions: judges can say "tie" or "cannot decide." Forcing a choice on ambiguous items manufactures spurious agreement (or disagreement).
- Uncertainty: if the judge produces a confidence or logprob, record it. Confidence calibration is itself a meta-evaluation target.
- Stratification: label each item with one or more slices (task, domain, length bucket, source, language) so you can diagnose bias that hides in the aggregate.
- Held-out split. Fit parameters or select thresholds using development data. Test the chosen rule on a different split.
Document the annotation protocol, what counts as a nondecision, and which IDs belong to calibration or test. Preserve all orientations of an item together when splitting or resampling.
Write the fixture before tuning the prompt. Counterbalanced examples, an explicit nondecision outcome, and slice labels let you test how a change affects the recorded comparisons.
Why counterbalancing matters
For a judge that always chooses the first displayed answer, exactly one orientation agrees with a decisive reference and exactly one disagrees. Thus agreement is 1/2 across orientations for each such pair. Its signed position statistic is exactly +1 because every matched pair contains two first-position choices. A smaller preference for first position can change only some decisions, as with Judge B below.
Building a counterbalanced fixture costs little beyond generating each pair twice with the order flipped. Building a post-hoc correction for a position bias you never measured costs weeks of debugging and a missed deployment.
Let be the number of pairs with decisions in both orientations. Let count first-position wins over those presentations. Use the difference in first- and second-position win rates:
For a pair with two decisions, the same candidate can win twice or the winner can flip. An unchanged candidate wins once from each position. Exclude pairs without two decisions from this statistic and report decision coverage separately.
Verbosity and self-preference as slices
Two of the most-reported judge biases are:
- Verbosity. A judge might favor longer answers independent of correctness. The fixture reports a length association and agreement by length-gap bucket.
- Self-preference. A judge might favor its own outputs after accounting for quality. Zheng et al. discuss the related self-enhancement bias alongside position and verbosity effects. This fixture reports affinity for a named source and records which simulator shares that identity. Zheng et al., 2023
Prompt or rubric changes can alter bias. Compare candidate versions on the same blinded and counterbalanced fixture to measure their effect.
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!