All articles

Local AI

How to calibrate an LLM judge

Use human labels, reversed comparisons, and an abstention threshold to decide which model verdicts can be used automatically.

Two film frames held side by side in an optical comparator
In this article

Calibrate an LLM judge against decisions people have already reviewed. Ask it one specific question, test it on held-out examples, and measure both how often it agrees and how often it gives a verdict. Give uncertain or inconsistent cases a path to review.

Choose one decision

A judge is useful when its answer changes what the system does next. In a video editor, one useful question is whether a cut preserves the condition the speaker put on a claim. A broad request to score a clip out of ten mixes that check with pacing, framing, and how interesting the subject is.

Give the judge the proposed excerpt and the relevant source turns. Define an approval as keeping the same claim, its scope, and any condition needed to interpret it. Define a decline as changing or removing one of those details. Add a review verdict for cases where the evidence is too thin. Store the source timestamps with the verdict.

Write three examples into the rubric

Start with an interview answer that allows volunteers to use a studio only when staff are there. Ask for a verdict about keeping the condition. This gives annotators and the model the same decision to make. When assessing a different quality, such as whether the clip opens at a natural place, write a separate check.

Approve
The shorter clip states that volunteers can use the studio when a staff member is present.
Decline
The shorter clip keeps the permission and removes the staff condition.
Review
The source provided ends before the speaker specifies who is allowed in the studio.
Fictional rubric examples for one decision about meaning.

Ask for a source range that supports the verdict. Validate that the IDs exist and that they point to the source supplied to the judge. Save the evidence with the decision so a reviewer can see which statement led to the approval or decline.

Separate checks that code can settle, such as whether a timestamp is in bounds, from questions that require reading the dialogue. RocketEval used task-specific checklists that smaller models could grade. Its headline result concerns correlation with human preferences in its benchmarks. Measure agreement on individual decisions when an individual verdict can approve an edit. Wei et al., RocketEval.

Build reference labels

Collect cuts people would actually consider. Include clean cuts, borderline cuts, multiple speakers discussing similar things, and subtle meaning changes. A set made up of obvious failures can reward a judge that misses the mistakes editors care about.

Have reviewers label the examples without seeing model verdicts, then record how you resolve disagreements. Keep examples with legitimate disagreement visible as a separate set. Split development, threshold selection, and final measurement by source recording when possible. Two versions of the same moment can otherwise appear on both sides of the split.

Build two useful views of the test set

Keep a sample drawn from ordinary work to estimate coverage and review load. Add a separate challenge set with dropped qualifiers, wrong referents, and plausible answers from unrelated questions. Challenge cases help expose failures that a representative sample might rarely contain. Report results for both sets so the challenge set’s higher error rate stays interpretable.

Record each reviewer’s label and the passage they used. When two people agree on the verdict for different reasons, those reasons are often useful evidence about the rubric. When they disagree, preserve the original labels and document any adjudicated verdict. Keep genuinely ambiguous material in the review workflow.

We use a simpler check in ClipMill development as a first gate. Start from a complete passage and make a broken version by stopping while the speaker is still continuing their thought. If a judge can’t distinguish those cases, review the problem before asking it to compare subtler edits. Use independent human labels to measure how well it handles those subtler cases.

In one development run, our local judge passed that check and then preferred the continuous versions of both shortened clips. One edit left a reply that still pointed to a missing list item. The result helped us see where to improve the proposed cuts.

Test both orders

A pairwise judge can pick the first option because of position. Ask the same question with the order reversed and map both answers back to the clip IDs. If it settles on the same clip after the swap, the choice survived this check. If it picks whichever comes first, send the pair to review.

Python · Resolve two presentations of the same pair
def same_winner(first_order, reversed_order):
    # A and B refer to the presentation order in each call.
    if (first_order, reversed_order) == ("A", "B"):
        return "original_A"
    if (first_order, reversed_order) == ("B", "A"):
        return "original_B"
    return "review"

Measure how often choices flip on the same pairs and how often consistent choices agree with the reviewers. A model can give the same wrong answer twice. The MT-Bench and Chatbot Arena study documented position bias alongside other effects, including preference for verbosity. Zheng et al., NeurIPS 2023.

Hold the rubric, source evidence, decoding settings, and candidate text fixed across the two calls. Present the clips under neutral labels so the judge can’t infer that one is the original or the product’s preferred edit. Track order flips and ties separately. The double check costs another pass, so include the extra latency when deciding where to use it.

Set an abstention threshold

If the judge produces a score, use it to route lower-scored cases to review. Pick a cutoff on the calibration split, then report coverage and agreement on the untouched test split. For edit approval, count wrong approvals separately from wrong rejections. Their costs differ.

Choose a score the backend can reproduce. A model with constrained outputs may expose scores for each allowed label. A model that prints a confidence number in prose may behave differently. In either case, compare score bands with observed agreement. Ask whether cases around 90 agree more often than cases around 70, and whether the difference holds for the types of cuts you ship.

Try an abstention threshold

Cases decided
6 / 10
Human agreement
5 / 6
Wrong approvals
1

Ten fictional cases illustrate the tradeoff. Agreement uses only cases where the judge gave a verdict.

At 75, the fictional judge decides six cases and agrees on five. Raise the cutoff to 90 and one confident mistake still gets through. Check the measured tradeoff before you choose a threshold. A confidence score needs its own validation on the task.

Trust or Escalate frames this as selective evaluation. Its authors use labeled calibration data and a statistical procedure to control the risk of disagreement under stated assumptions. They also test sending difficult cases to a stronger judge. The slider shows the tradeoff with a small example. Use a validation method matched to the reliability claim you want to make. Jung et al., ICLR 2025.

Save threshold selection for the calibration split. Pick an operating point based on how many cases you can send to review and how costly a wrong approval would be. Check the frozen setting on the holdout once. If you tune it again after reading those results, collect a fresh holdout for the revised setting.

Read the evaluation metrics

Write down the numerator and denominator for each metric. Overall agreement can look good even when the judge misses the cases you care about. If 95 of 100 candidate cuts preserve meaning, a judge that approves every cut agrees on 95 percent while allowing all five meaning changes through.

  • Coverage. Divide cases with an automatic verdict by all cases. A human review request counts as an abstention.
  • Agreement on decided cases. Divide matches with the human label by the number of automatic verdicts. Report the count alongside the rate.
  • Wrong approval rate among approvals. Divide automatic approvals of human-declined cuts by all automatic approvals. This estimates the fraction of approved output an editor would reject.
  • Unsafe cuts caught. Among cases people declined, count which the judge declined, which it deferred, and which it approved. Separate deferred cases from automatic rejections.

Read a zero-error result in context

Suppose a fixed judge makes zero wrong approvals in a random sample of 20 independent automatic approvals. Under a simple binomial model, the one-sided 95 percent upper bound on its wrong approval rate solves (1 - p)^20 = 0.05. That gives about 13.9 percent. With zero errors in 100 independent approvals, the same calculation gives about 3.0 percent.

Those bounds rely on the sampling assumptions and a fixed decision rule. Twenty near-identical cuts from the same moment provide much less variety than twenty observations from separate recordings. When episodes contribute clusters of related cuts, report results by episode as well. Use that evidence to decide whether you have enough coverage of the failures that matter.

What to do with disagreement

Read the wrong approvals first. A missing source turn often calls for better evidence. If reviewers disagree on whether a claim changed, tighten the rubric or keep that category for human review. If the model fails on one speaker or transcript quality, report that group separately so a strong average can’t hide it.

Log the rubric, model, and prompt version beside the scores. Recheck the operating threshold when any of them changes. For a locally run model, record the backend and quantization too. Even a change to how labels are tokenized can affect which scores you receive. Include the same source and rubric when escalating a verdict, and track the elapsed time and agreement of that second decision too.

A fallback for an editorial pipeline is to keep the complete original passage available or send the cut to a review queue. That gives the reader a way to recover from a weak model call without accepting a change to the speaker’s meaning.

The podcast editing example shows the kind of borderline cut worth adding to a validation set.

References