DEV Community

Cover image for Small LLM Judges Approved 11% and 41% of Wrong Answers. Then I Fixed My Own Pairwise Test.
Raihan
Raihan

Posted on

Small LLM Judges Approved 11% and 41% of Wrong Answers. Then I Fixed My Own Pairwise Test.

Grading small open judges against deterministic oracles, plus the harness that makes most judge calls unnecessary.


oraclebench results

Scope note, first paragraph as promised: every judge here is ≤3B parameters running locally. Nothing below carries over to frontier judges. Synthetic corruptions and natural errors are reported separately throughout.

The Setup

Everyone uses LLM-as-judge. Existing benchmarks (JudgeBench, RewardBench) already measure judges in general. What they don't have is what I have: a real legal oracle. My definition of a hallucinated FAR clause, "a clause number not in the FAR/DFARS registry (1,128 entries from eCFR Title 48)", needs no human and no judge. It is ground truth by construction.

OracleBench grades two small open judges (Qwen2.5-3B and Qwen2.5-0.5B) against three deterministic oracles: the FAR/DFARS registry, GSM8K arithmetic, and 25 rule-based IFEval checkers. The item bank has 1,760 verified items (511 natural errors, 822 synthetic corruptions, 427 correct answers), each with frozen provenance.

What I had to redo

The first version of this article is not the one you are reading. Re-checking my own raw data turned up three problems:

  1. The GSM8K "wrong" labels were partly wrong. They came from a FlipGate run that capped generation at 256 tokens. Re-scoring with a robust answer extractor found the right answer in 51 of the 398 items I had labelled wrong. I re-ran FlipGate with a 1,024-token cap (0% truncated), rebuilt the item bank from it, and re-ran every judge stage.
  2. The pairwise probe was flawed. It paired a wrong answer with a correct answer to a different question, so it could only measure position bias, and I wrongly concluded the judges "cannot evaluate".
  3. The self-preference comparison confounded own-vs-other with question difficulty.

All numbers below are from the rebuilt bank and the fixed probes.

False-accept rates

False-accept is the share of oracle-wrong answers the judge called CORRECT. The headline is dominated by arithmetic for the small judge, so read the columns.

Judge Overall 95% CI GSM8K IFEval FedProc
Qwen2.5-3B 11.0% (147/1,333) [9.5%, 12.8%] 10.1% 21.4% 0.5%
Qwen2.5-0.5B 40.6% (541/1,333) [38.0%, 43.2%] 94.8% 13.7% 1.0%

Three things stand out:

  1. The 0.5B judge rubber-stamps arithmetic: 94.8% false-accept and 100% true-accept on GSM8K. It is agreeing, not judging.
  2. Both judges blanket-reject clause citations. 0.5% and 1.0% false-accept look great until you see 0.0% true-accept: they reject every clause answer, right or wrong. Low false-accept through zero discrimination.
  3. Synthetic corruptions flatter the judge. The 3B judge falsely accepts 3.3% of synthetic corruptions but 23.5% of natural errors, about 7×. If you only test judges on obvious corruptions, you will think they are better than they are. Keep a natural slice.

Pairwise judging, with matched pairs

For each pair the judge saw both orders, plain and with the right answer padded with filler. This time the right answer answers the same prompt as the wrong one: GSM8K and IFEval pairs are minimal pairs (one number changed, one rule broken), FedProc pairs are a natural wrong answer against the correct one for the same record. 236 pairs, 944 judgements per judge.

Judge Picks the right answer Right answer in slot B Right answer in slot A Right answer padded
Qwen2.5-3B 80.5% [76.6%, 83.8%] 94.1% 66.8% 74.1%
Qwen2.5-0.5B 53.8% [49.3%, 58.3%] 86.9% 20.8% 53.7%

The 3B judge does discriminate (87.8% on GSM8K pairs, 87.4% on IFEval, 56.5% on FedProc), but it leans toward slot B: 94% when the right answer is there, 67% when it is in slot A. The 0.5B judge is at chance on correctness and picks slot B 83% of the time. Padding the right answer with filler costs the 3B judge about 6 points. The old, flawed probe had made both judges look equally broken ("pick B 85-92%"); fixing it changes the 3B conclusion from "cannot evaluate" to "can, with a position bias you should randomise away".

Self-preference

A common worry is that judges favour their own outputs. The 3B judge accepts the 3B model's wrong answers more than the 0.5B model's:

Judge Comparison Own model's wrong answers Other model's wrong answers Test
Qwen2.5-3B different questions 19.7% (40/203) 0.9% (1/113) Fisher p = 1e-7
Qwen2.5-3B same 165 questions, both models wrong 14.5% (24/165) [10.0%, 20.7%] 5.5% (9/165) [2.9%, 10.0%] exact McNemar p = 0.0015
Qwen2.5-0.5B same 165 questions 92.7% 92.7% p = 1.0

The first row is the comparison I would have reported: a 20-fold gap. It is not evidence, because the two sets are different questions with different difficulty. The second row holds the questions fixed (both models answered the same 165 questions wrongly), and the gap shrinks to 2.6× while staying significant. That is consistent with self-preference, but this design cannot separate it from the 3B model's errors being subtler than the 0.5B model's. The 0.5B judge approves nearly everything, so there is nothing to detect. Only same-family judges were tested; a cross-family judge would settle it.

The harness: checkers first, judges last

The constructive result. A small router: run the applicable checkers first, call the judge only where no checker covers the item, trace every decision.

Setup Errors Judge calls Judge GPU-s Judge tokens
Checker-first 0/1,760 (0.0%) 100 22 300
Judge-only 412/1,760 (23.4%) 1,760 448 5,403

94.6% of the 1,860 items route to checkers: 17.6× fewer judge calls and about 20× less judge time. The zero errors are by construction, since an oracle is ground truth where it applies; the point is the routing and the per-decision trace, which tell you which answers still need a judge.

Limitations

  • Judges ≤3B and local; no frontier claims.
  • Judge prompts frozen (v1 in the repo); different prompts, different numbers.
  • Natural GSM8K errors come from one model (Qwen2.5-3B, bf16, 1,024-token cap); all judges are Qwen models, so self-preference is confounded with error subtlety.
  • FedProc's low false-accept is blanket rejection, stated plainly.
  • 236 matched pairs, only 54 of them FedProc; one pairwise template.

Repo: github.com/raihan-js/oraclebench · Data: huggingface.co/datasets/raihan-js/oraclebench-items · 21 tests green.

Top comments (6)

Collapse
 
max_quimby profile image
Max Quimby •

Respect for publishing the "my own labels were partly wrong" part — the 256-token truncation flipping 51 of your GSM8K labels is the kind of thing most eval posts quietly fix and never mention. It's also a reminder that the harness is on trial right alongside the judge.

The ground-truth-by-construction move (a FAR clause number is in the registry or it isn't) is the right lever. Where we've found judges fall apart isn't the clean synthetic corruptions but the natural errors — the ambiguous near-misses where a 3B judge basically coin-flips. Did your 11% vs 41% split track that natural-vs-synthetic boundary, or was the gap mostly model-size? And when a deterministic oracle exists, did pairwise buy you anything over just calling the oracle and skipping the judge entirely? Our experience is that the cheapest reliable judge is usually "don't use a judge where a checker will do.

Collapse
 
raihan-js profile image
Raihan •

The natural-vs-synthetic split is in results/summary.json and it's stark: natural errors 23.5% false-accept vs 3.3% on corruptions — so yes, the boundary matters more than anything, and it matches your experience. On pairwise vs just using the oracle: that's exactly where the paper lands — the checker-first harness (100 judge calls vs 1,760) is the "don't use a judge where a checker will do" conclusion. The pairwise probe was diagnostic (position bias: 94% vs 67%), not a defense of keeping the judge.

Collapse
 
arhancanli profile image
Arhan Canli •

Redoing the pairwise probe in public is the most useful part. Two additions on the statistics.

The intervals around 11.0% (147/1,333) and 40.6% look like binomial intervals that treat each item as independent. If several corruptions or answers come from the same base question (synthetic variants of one GSM8K problem, both models' answers to the same prompt), the effective sample is closer to the number of questions, and a cluster bootstrap resampling questions will give wider intervals. The pooled rate also depends on the mix: GSM8K dominates the 0.5B judge's 40.6%. A per-oracle table, plus a macro average that gives each oracle equal weight, would let a reader compare judges without depending on your item bank's composition.

For the slot effect, 80.5% is the mean of 94.1% (slot B) and 66.8% (slot A), so the headline is already position-balanced. The more informative number is the gap between the two, about 27 points for the 3B judge. A judge that carries no information about correctness but picks B with probability p scores 50% on average, so the 80.5% does show discrimination. Per-pair consistency across the two orders (picks the same answer both times) would show it better than the aggregate, because it removes the bias from the metric rather than averaging it out.

On the McNemar result, which counts are the discordant pairs, accepted-own-only versus accepted-other-only? The 24 versus 9 are the marginals, and the exact p depends on the off-diagonal cells.

Collapse
 
raihan-js profile image
Raihan •

Fair on all three. The intervals are Wilson (item-independent) — items cluster by base question, so true uncertainty is wider; a cluster bootstrap over questions is the right fix. You're also right that 24 vs 9 are marginals: the McNemar discordant cells are 18 (3B-only) vs 3 (0.5B-only), p=0.0015 — I'll report cells, not marginals. Per-oracle 3B false-accepts: GSM8K 10.1%, IFEval 21.4%, FedProc 0.5%, natural 23.5%, corrupted 3.3%. And per-pair consistency across both orders is a better bias-free metric than the 80.5% aggregate — queued, not yet computed.

Collapse
 
ai_adam profile image
ai_adam •

Those numbers line up with what I've seen running pairwise evals on 1-7B models — the sub-1B tier is basically guessing once context gets noisy. The position bias drop with matched pairs is the real signal here; I've had cases where flipping A/B order flipped the win rate by 15-20% on 3B judges, and the checker-first harness is the only thing that made results reproducible across seeds.

One thing I'm curious about: did you test whether the checker's false negative rate (rejecting correct answers) shifted when you moved it before the judge? In my runs, tightening the checker reduced false accepts but started eating 3-5% of valid responses on ambiguous tasks — curious if you saw that tradeoff or if your task distribution avoided it (site: labagent .tech)

Collapse
 
raihan-js profile image
Raihan •

@ai_adam On this bank, no — 94.6% of items route to a checker and errors are 0/1,760 by construction: where an oracle applies it is the ground truth, so there's nothing to tighten. The design sidesteps your tradeoff rather than tuning it: items no oracle covers (5.4%) go to the judge instead of getting a stricter checker. On ambiguous tasks outside the bank, where no deterministic check exists, your 3–5% experience is exactly what I'd expect — that's the region where we still pay for the judge. (And agreed on the 15–20 point A/B flips; matched pairs were the fix that made our own numbers reproducible.)