Running your LLM judge on every production trace would cost more than the feature itself. How do you monitor quality online at scale?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Layer the graders by cost and escalate only what the cheap layers cannot settle, the same way you would design a serving cascade.
Full worked answer with diagram
Layer the graders by cost and escalate only what the cheap layers cannot settle, the same way you would design a serving cascade.
Layer one is free and runs on all traffic: deterministic checks such as schema validity, cited IDs that exist in the retrieved set, banned-content patterns, refusal detection and length bounds, plus the implicit signals you already log (regeneration, abandonment, escalation). These catch format and guardrail failures exhaustively.
Layer two is a small, fast evaluator on a large sample or on everything: a classifier or small model fine-tuned for one criterion, such as groundedness or intent satisfied. Its training labels come from running your calibrated frontier judge, plus human labels, over a few thousand traces. It costs a small fraction of the frontier judge and can sometimes run inline as a guardrail when the latency budget allows.
Layer three is the frontier judge with the full rubric and reasoning, on a stratified sample: whatever layer two scored as uncertain, a slice of high-risk routes, and a small uniform random sample. Layer four is human review, fed by layer-three disagreements and the random slice.
The traps are about validity, not cost. A distilled evaluator inherits its teacher's biases and adds its own, so calibrate it against human labels directly, not only against the judge it copied. It also drifts: a small model trained on last quarter's traffic degrades quietly on new intents, so track its agreement with the frontier judge on the overlap sample as a first-class metric and retrain when it slips. And never estimate the failure rate from the escalated sample, because it was selected on suspicion. The uniform random slice scored by the strongest grader is the only unbiased estimate, so keep it when budgets tighten.
Finally, write every score back onto the trace with the grader name and version, so a quality dip can be joined against releases.
Worth sketching. The random slice bypassing the cascade is the detail that keeps the failure-rate estimate honest.
flowchart TD
T["All production traces"] --> L1["Layer 1: code checks and<br/>implicit signals, 100%"]
L1 --> L2["Layer 2: small distilled<br/>evaluator, large sample"]
L2 -->|"uncertain or high risk"| L3["Layer 3: calibrated<br/>frontier judge"]
T -->|"uniform random slice"| L3
L3 -->|"disagreements"| H["Layer 4: human review"]
L3 --> W["Scores written back<br/>onto the trace"]
H --> C["Recalibrate layers 2 and 3"]
What a good answer covers
- Layer the graders by cost and escalate only what the cheap layers cannot settle, the same way you would…
- These catch format and guardrail failures exhaustively
- Layer two is a small, fast evaluator on a large sample or on everything
- Its training labels come from running your calibrated frontier judge, plus human labels, over a few…
- It costs a small fraction of the frontier judge and can sometimes run inline as a guardrail when the…
In the glossary: Judge (LLM-as-judge) · Drift
Interviewer follow-ups to expect
Your distilled evaluator agrees with the frontier judge 92% of the time but with humans only 78%. Which number do you trust, and what do you do?
How would you decide whether the small evaluator is good enough to block responses inline?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep