Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Explain the sign-reversal failure mode in LLM-as-judge calibration. Under what conditions does it occur, what does it look like in practice, and how can it be prevented?
Sign reversal is when the aggregate eval crowns the worse model because a hidden slice mix shift flips the pooled number. Always stratify and compute a mix-weighted aggregate.
Imagine two pizza shops. Shop A makes better pizzas and better salads than Shop B on every single order. But A mostly sells cheap salads and B mostly sells expensive pizzas. If you just average the star ratings across everything each shop sold, B can come out ahead, even though A is better at both dishes. The trick is that the two shops served different mixes of items, so the overall average compares apples to oranges. The fix is to grade each dish type separately, then combine them using the same fixed mix for both shops. Then A wins, as it should. LLM evals hit the exact same trap when one model gets asked easier questions than the other.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
6 min: define sign reversal as Simpson's paradox in evals, derive why per-model slice weights flip the pooled mean, work a numeric example that reverses, then cover detection by stratifying and prevention by shared weighting.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Reporting one pooled mean across all slices. A mix shift between slices can flip the aggregate so the worse model wins, even when it loses every slice individually.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.