- Category: C. AI Engineering & LLM Ops
- English term: LLM-as-a-Judge
- Related: Independent Verification (Verifier) · Model Cascade and Routing · Human-in-the-Loop and Escalation · Receipt and Definition of Done · Structured Output and JSON Contract
General Meaning
Evaluating machine learning model outputs and making operational pass/fail decisions traditionally relied on human visual inspection or rigid string-matching tests. However, understanding natural language context and evaluating adherence to complex rules are difficult to handle with deterministic conditional branches alone.
LLM-as-a-Judge assigns the role of an evaluator to a highly capable LLM, asking it to determine whether text generated by another model or system output satisfies specified criteria. By providing evaluation rubrics in the prompt, teams can automate flexible pass/fail judgments comparable to human review.
Why It Matters
- Automating subjective and complex evaluations: Evaluates nuances and logical inconsistencies in natural language that simple regular expressions cannot catch.
- Eliminating human bottlenecks: Removes the need for manual visual checks on every run, keeping 24/7 automated pipelines moving without interruption.
- Consistent evaluation criteria: Applies the exact same prompt and rubric every time, eliminating variance caused by human fatigue or differences between reviewers.
How the Site Factory Uses It
In the Site Factory, top-tier models serve as Judges during AI pre-review (operator_review) to determine whether an error in the operations loop or a post-publication check genuinely requires human operator intervention. Target items include post-publication checks, patrol errors, technical holds, and action requests in summary emails, evaluated by frontier models such as Claude Opus (high), Codex Sol (high), and Antigravity Gemini Flash (high).
When a model outputs a proposal (done if resolved by AI, or human if human action is indispensable) via tools/operator_review.py request, the Site Factory treats it strictly as a proposal (decision_request). The parent worker independently inspects the actual model execution record (token consumption and completion logs) and supporting evidence before finalizing the decision, preventing false escalations caused by Judge hallucinations.
Caveats & Operational Rules
- Never apply the Judge's decision directly to production: Because LLM-as-a-Judge is probabilistic and can make mistakes, the Site Factory keeps its output as a proposal until a worker verifies the execution logs and evidence.
- Do not invoke a Judge model as the first step: Running expensive top-tier models from the start rapidly exhausts quotas and budget; perform initial investigation and extraction with local LLMs or lightweight models, calling the Judge only for the final decision.
- Grant no execution privileges to the Judge: Restrict the Judge strictly to returning a JSON decision and rationale, without shell execution or external network access.
Related Terms
- Independent Verification (Verifier)
- Model Cascade and Routing
- Human-in-the-Loop and Escalation
- Receipt and Definition of Done
- Structured Output and JSON Contract
References
- Reference: Lianmin Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena" (Paper, 2023)
Verified: 2026-11-08