When an LLM judge disagrees with human reviewers, the default instinct on most teams is to upgrade to a bigger, more expensive model. That instinct is usually wrong. Rubric calibration matters far more than model size, and you do not have to do all of that calibration by hand.
Automated prompt optimizers such as standalone GEPA and autoresearch-style loops can turn a cheap, fast model into a much better judge than an unoptimized frontier model costing 79 times more per call, for under a dollar in optimization spend. But they are not plug-and-play. Without guardrails, an optimizer will happily overfit your validation set or memorize your training examples into a bloated prompt that triples your inference bill.
In my previous post, I laid out the calibration workflow and noted that prompt optimizers can take over the editing step. Here, I wanted to prove both claims on real data rather than argue them in the abstract:
- Calibration beats model scale: Prompt-optimizing a
$0.09/1kjudge (gpt-6-luna) beat unoptimized frontier judges (gpt-6.2-solandgpt-6.2-astra) by+0.20to+0.28Cohen’s kappa at a fraction of the cost and half the latency. - Guardrails decide whether optimization generalizes: Out-of-the-box GEPA memorized 24 training-set topics into a 10,000-character prompt until I constrained its reflection template. Optimizing raw agreement instead of kappa looked best on validation and suffered the worst drop on the locked test set.
The experiment below is designed to show each of these effects directly.
The experiment at a glance
I used the QA subset of RAGTruth [1], a public benchmark of retrieval-augmented answers with manual hallucination labels. I chose it over synthetic hallucination datasets for two reasons:
- Real, open-domain LLM mistakes. Unlike synthetic benchmarks that artificially inject errors, RAGTruth contains naturally generated LLM outputs across arbitrary topics (medical, finance, DIY, recipes). That mirrors the groundedness judges teams actually build in production—and tests whether an optimizer generalizes across unseen topics.
- Built-in written human reasons. Alongside binary faithfulness labels, RAGTruth includes the exact hallucinated spans and short human reviewer notes for every failure. Those notes stand in for the written reasons from step 2 of my calibration process and let me test whether textual feedback actually helps an optimizer.
Every answer maps cleanly to a binary verdict:
- PASS: Human reviewers found no hallucinations.
- FAIL: Human reviewers marked at least one unsupported or contradicted span (
Evident Conflict,Subtle Conflict,Evident Baseless Info, orSubtle Baseless Info).
I filtered to clean rows (quality == "good") and created three stratified splits with zero overlapping source passages across splits:
| Split | Items | Human PASS | Human FAIL | How it is used |
|---|---|---|---|---|
dev_train | 120 | 69.2% (83) | 30.8% (37) | Optimizer reads disagreements and human error notes |
dev_val | 80 | 67.5% (54) | 32.5% (26) | Keep-or-discard gate only (no error text shown) |
test | 200 | 81.5% (163) | 18.5% (37) | Locked until all runs finish; evaluated once |
Notice the shift in pass rate from dev (~68% PASS, drawn from RAGTruth’s train split) to test (81.5% PASS, drawn from RAGTruth’s test split). Real production traffic shifts in the same way, which makes this a useful test of overfitting.
Models and the eight arms
To test whether calibration can replace model scale, I paired a low-cost judge with a frontier optimizer from OpenAI’s GPT-6 lineup:
- Judge being optimized:
gpt-6-luna($0.10/Minput,$0.50/Moutput,reasoning_effort="none"), returning strict JSON ({"reasoning": "...", "verdict": "PASS" | "FAIL"}) at roughly $0.09 per 1,000 judged outputs. - Optimizer model:
gpt-6.2-sol($2.00/Minput,$10.00/Moutput,reasoning_effort="low") proposing prompt edits for both GEPA andautoresearch.
Every run started from the exact same 531-character seed prompt (“PASS if every claim is supported by the passages; FAIL if any claim is invented or contradicted”), grouped into three sets of arms matching the table below:
- Baselines (
0,1a,1b) — Does a bigger model fix an uncalibrated prompt?0Naivegpt-6-luna: Seed prompt on the cheap judge.1aUnoptimizedgpt-6.2-sol(19x cost): Same seed prompt on a stronger model.1bUnoptimizedgpt-6.2-astra(79x cost): Same seed prompt on the flagship model ($8/Minput,$40/Moutput).
- Standalone GEPA (
2a,2b,2c) — Reflective evolution (gepa-ai/gepav0.1.4) [2] under ~1,600 judge calls:2aGEPA default (reasons): Default reflection template + human error spans, optimizing class-balanced accuracy (TPR + TNR).2bGEPA default (label-only): Single ablation off2a— hides the human error spans (optimizer only seesPASS/FAIL), keeping GEPA’s default reflection template.2cGEPA constrained (reasons): Single ablation off2a— keeps the human error spans, but replaces GEPA’s default reflection template with an anti-memorization and length constraint (<4,500 chars).
- Autoresearch (
3a,3b) — 20-iteration git keep-or-revert loop [3] (~2,100 judge calls):3aAutoresearch (kappa): In each iteration,gpt-6.2-solreads 12dev_trainmisses, writes one hypothesis and editsprompts/judge_prompt.txt, evaluates ondev_val, commits if Cohen’s kappa improves, and reverts otherwise.3bAutoresearch (raw agreement): Single ablation off3a— optimizes raw agreement instead of kappa.
What the experiment showed
After all eight arms finished tuning on dev_val, I ran each final prompt once on the locked 200-item test set (zero JSON parse errors across all 1,600 test judgments):
| Arm | Prompt chars | dev_val kappa | test kappa | test TPR | test TNR | test Bal. Acc | Opt cost | Cost / 1k |
|---|---|---|---|---|---|---|---|---|
0 Naive baseline (gpt-6-luna) | 531 | 0.3042 | 0.3358 | 60.7% | 94.6% | 77.7% | $0.00 | $0.093 |
1a Unoptimized gpt-6.2-sol (19x) | 531 | 0.2657 | 0.2181 | 44.8% | 97.3% | 71.0% | $0.00 | $1.791 |
1b Unoptimized gpt-6.2-astra (79x) | 531 | 0.3042 | 0.2691 | 51.5% | 97.3% | 74.4% | $0.00 | $7.306 |
2a GEPA default (reasons) | 10,138 | 0.3804 | 0.4698 | 75.5% | 89.2% | 82.3% | $1.11 | $0.293 |
2b GEPA default (label-only) | 7,278 | 0.5387 | 0.5534 | 84.7% | 81.1% | 82.9% | $0.95 | $0.220 |
2c GEPA constrained (reasons) | 2,617 | 0.4595 | 0.5115 | 78.5% | 89.2% | 83.9% | $0.80 | $0.138 |
3a Autoresearch (kappa) | 2,026 | 0.5420 | 0.5106 | 77.3% | 91.9% | 84.6% | $0.69 | $0.128 |
3b Autoresearch (raw agreement) | 1,664 | 0.5712 | 0.4854 | 74.2% | 94.6% | 84.4% | $0.65 | $0.113 |
Four lessons stand out from these numbers.
1. Upgrading the model without calibrating the prompt made things worse
Paying $7.31 per 1,000 outputs for unoptimized gpt-6.2-astra (79x Luna’s cost, and 56.9s vs. 25.3s for 200 items) produced a test kappa of 0.2691, worse than naive gpt-6-luna (0.3358). gpt-6.2-sol dropped even further to 0.2181.
That result looks counterintuitive at first, so I checked two things. First, it was not a reasoning-effort mismatch: gpt-6.2-sol and gpt-6.2-astra require at least reasoning_effort="low", and when I matched gpt-6-luna to reasoning_effort="low" on dev_val, Luna still scored higher (0.3213 kappa vs. 0.2657 for Sol and 0.3042 for Astra).
Second, reading the 25 human-PASS test items that Luna passed while both Sol and Astra failed made the mechanism obvious. Stronger models do not lack capability; they enforce an underspecified strict prompt like contract lawyers. For example, on a weather question where the reference passage gave the August 23 forecast as “82 degrees, sunny, 39% chance of rain”, the candidate answer wrote “today’s weather in Wellesley (Aug 23) is sunny with a high of 82 degrees…” Both gpt-6.2-sol and gpt-6.2-astra failed it because “the passages do not identify Aug 23 as ’today’ or specify that 82 degrees is the daily high.” Human reviewers marked that answer PASS.
Across the test set, that hyper-literal threshold pushed both frontier models to 97.3% failure agreement (TNR) at the cost of rejecting roughly half of all faithful human-approved answers (TPR of 44.8% and 51.5%). None of this means gpt-6-luna is more capable than gpt-6.2-astra—a calibrated frontier judge would likely reach an even higher ceiling. The point is that upgrading the model without calibrating the rubric often shifts the decision threshold further away from human reviewers. Once calibrated, $0.11–$0.14/1k gpt-6-luna beat both unoptimized frontier models by +0.20 to +0.28 kappa at 1/25th to 1/65th the inference cost.
2. Out-of-the-box GEPA memorizes training topics on open-domain judges
Comparing 2a, 2b, and 2c exposed a subtle trap in standalone gepa (v0.1.4). Under its default settings with human reasons (2a), GEPA grew the prompt from 531 characters to 10,138 characters—tripling inference cost to $0.293/1k—while trailing even its own label-only run (0.4698 vs. 0.5534 test kappa).
Reading the evolved prompt showed why immediately. After four short paragraphs of general rules, GEPA had appended 24 hardcoded rulings for specific dev_train questions:
Apply the following calibration rulings when the case matches.
The specific PASS rulings override the general rules about combining
passages or adding connective steps; do not generalize these exceptions
to unrelated cases.
- Grilled ribs — FAIL when the answer specifies a rub of salt, pepper,
garlic powder, onion powder, and paprika...
- 2008 Nissan Pathfinder cabin filter — PASS for the provided combination...
This is not a general rule that engine and cabin filters are interchangeable.
- VA Survivors' and Dependents' Educational Assistance — FAIL if the answer
specifies an absent form number such as VA Form 22-5490...
GEPA did exactly what its built-in default reflection template (InstructionProposalSignature.default_prompt_template) told it to do:
“Identify all niche and domain specific factual information about the task and include it in the instruction, as a lot of it may not be available to the assistant in the future.”
That default makes sense for a single fixed domain (one SQL schema, one company policy manual). For an open-domain judge where every test item is a new topic, it causes memorization—and feeding rich item-level error notes (2a) just gave it more topic-specific facts to copy in.
Replacing that single template (2c) with an explicit rule to synthesize generalizable criteria under 4,500 characters fixed the bloat immediately: prompt size shrank 3.9x (10,138 to 2,617 chars), inference cost dropped 53% ($0.293 to $0.138/1k), optimization cost dropped 28% ($1.11 to $0.80), and test kappa climbed from 0.4698 to 0.5115 (83.9% balanced accuracy).
3. autoresearch gave crisp, auditable diffs—and showed why a locked test set matters
The autoresearch loop was much easier to audit because every kept improvement is a single git commit with a one-sentence hypothesis. On 3a (optimizing kappa), only 3 of 20 proposed edits beat the current dev_val kappa and survived:
- Iteration 1 (
dev_valkappa0.3213 -> 0.4300): Stopped over-penalizing grounded answers for incomplete coverage, ordinary paraphrase, and clearly hypothetical examples. - Iteration 4 (
0.4300 -> 0.4884): Required checking whether a source-backed detail is attached to the right entity and whether any stated purpose is actually supported. - Iteration 5 (
0.4884 -> 0.5420): Stopped reading loosely phrased or incomplete summaries as stronger claims than the answer actually makes.
Iterations 6 through 20 were automatically reverted. The whole run cost $0.69 ($0.27 for 2,160 Luna calls + $0.42 for 20 Sol proposals) and finished in 7 minutes.
The 3b ablation (raw agreement) proved why you cannot skip the locked test set. On dev_val, 3b looked like the winner (0.5712 kappa vs. 0.5420 for 3a). On test, 3b suffered the largest overfitting drop in the experiment (-0.086 kappa, falling to 0.4854), while 3a held up much better (0.5106) and achieved the top balanced accuracy (84.6%).
4. Choose your judge by operating point (TPR vs. TNR), not kappa alone
Even among the winning runs, the trade-offs differ:
2bGEPA (label-only) reached the highest test kappa (0.5534) with a balanced84.7%TPR and81.1%TNR, at a higher per-call cost ($0.220/1k) from lingering memorized examples.3aAutoresearch (kappa) and2cConstrained GEPA achieved the highest balanced accuracy (84.6% and 83.9%) with concise prompts ($0.128–$0.138/1k), catching 91.9% (34 of 37) and 89.2% (33 of 37) of real hallucinations.
If a judge gates releases or flags hallucinations before users see them, catching 92% of failures (3a) is often the better operating point than catching 81% (2b), even if kappa is slightly lower on an 81.5%-pass test set. And if you need an unbiased aggregate pass rate from a conservative judge, the Rogan–Gladen correction [4] still works: plugging 3a’s dev_val error rates (TPR = 72.2%, TNR = 88.5%) into its 64.5% raw test pass rate gives a corrected estimate of 87.3% (compared to the true 81.5%).
What I would do in practice
- Calibrate a cheap judge before buying a frontier judge. Spending
$0.70to calibrategpt-6-lunabeat unoptimizedgpt-6.2-astraat 1/60th the inference cost and half the latency. - Default to an
autoresearchloop for auditable judge tuning. Every change is a readable git diff tied to a hypothesis, the prompt stays concise (~2,000 chars), and regressions revert automatically. - If you use GEPA on an open-domain judge, override its reflection template. Inspect the evolved prompt before shipping; do not pay 3x the token bill to carry memorized training examples.
- Always use a 3-way split (
dev_train,dev_val, lockedtest). Withoutdev_val,autoresearchwould have kept noisy edits; withouttest,raw agreementwould have looked better thankappa. - Inspect TPR and TNR alongside kappa so you pick the failure-detection floor your application actually needs.
The entire eight-arm benchmark cost roughly $5.50 in API spend. Next, I want to look at what happens when you flip the loop around: once you have a calibrated judge like this, what breaks when a self-improving agent starts optimizing directly against it?
Summary
- Calibration beats scale: Unoptimized frontier judges (
gpt-6.2-solat0.2181kappa,gpt-6.2-astraat0.2691) scored worse than a naive$0.09/1kgpt-6-lunabaseline (0.3358) because stronger models enforced an underspecified strict rubric more literally. - Cheap optimization works: Under
$1of automated prompt tuning liftedgpt-6-lunato0.51–0.55test kappa at 1/25th to 1/65th the inference cost of unoptimized frontier models. - Watch GEPA’s default reflection template: Out-of-the-box GEPA memorized 24
dev_traintopics into a 10,138-character prompt (3.1xcost). Adding an anti-memorization template cut prompt length 3.9x, cut inference cost 53%, and raised test kappa (0.4698 -> 0.5115). autoresearchstayed concise and high-recall: A 20-iteration kappa loop cost$0.69, kept 3 clean edits, reached the top balanced accuracy (84.6%), and caught91.9%of hallucinations on the locked test set.- Holdout discipline catches overfitting: Optimizing raw agreement looked strongest on
dev_val(0.5712) but dropped-0.086ontest(0.4854).
References
- Niu, C., et al. (2024). RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (ACL), 10862–10878. arXiv:2401.00396
- Agrawal, L. A., et al. (2025). GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. arXiv:2507.19457 | Code: github.com/gepa-ai/gepa
- Karpathy, A. (2026). autoresearch. github.com/karpathy/autoresearch
- Rogan, W. J., and Gladen, B. (1978). Estimating prevalence from the results of a screening test. American Journal of Epidemiology, 107(1), 71–76.
- Cohen, J. (1960). A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1), 37–46.