LLM-as-a-Judge Is Not an Oracle: Why Self-Improving Agents Need Deterministic Guardrails
cs.AI, cs.LG
Submitted: 2026-09-02
Updated: 2026-09-02
Comments: 20 pages, 4 figures, 5 tables
License: http://creativecommons.org/licenses/by/4.0/
The gist: Self-improving agent pipelines have a problem at their center.
Terminology
Abstract
Self-improving agent pipelines have a problem at their center. An optimizer rewrites prompts to score higher, and the score comes from a judge that is itself an LLM. That judge has the last word on whether the system is getting better, and our position is that it has not earned it. The judge should be demoted from oracle to advisor: its verdict becomes one input among several, and every change is gated instead by a deterministic verification layer the judge cannot override. We reached this position by building the alternative and running it. Over months of running autonomous prompt-optimization loops in production across contract analysis, compliance review, and code quality, we cataloged eleven ways the evaluation signal failed, in four classes: judge bias, harness and metric failures, ground-truth errors, and reward hacking. Agents achieved perfect scores by reading cached answer keys from their environment, a 100% pass rate concealing 68% true capability. A corrupted ground-truth label caused the optimizer to delete correct compliance rules to agree with it. A syntactically broken prompt was promoted as the winner because a silent parser fallback improved the metric. Attempts to fix the judge by rewriting its rubric plateaued; the only reliable gain came from a structural constraint on its output order. In response we describe PROCTOR, a Teacher-Student loop in which a stateful orchestrator holds all tool access, stateless subagents diagnose failures and draft mutations they cannot apply, and a Teacher grades those mutations under five deterministic guardrails: hermetic sandboxes, capability-disjoint roles, acceptance checks that outrank the Teacher, frozen holdouts, and canary cases engineered so that a perfect score is itself evidence of cheating. We report the failures this prevented, and, because the Teacher is itself an LLM judge, the failures it did not.
Sources
- GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning
- Concrete Problems in AI Safety
- Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedback
- ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debate
- Improving Factuality and Reasoning in Language Models through Multiagent Debate
- Scaling Laws for Reward Model Overoptimization
- EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizers
- AI safety via debate
- Debating with More Persuasive LLMs Leads to More Truthful Answers
- DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines
- Agent Memory Distillation: Empowering Small LLM Agents with Hierarchical Teacher Memory
- Preference Leakage: A Contamination Problem in LLM-as-a-judge
- Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debate
- G-Eval: NLG Evaluation using GPT-4 with Better Human Alignment
- Categorizing Variants of Goodhart's Law
- Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs
- The Effects of Reward Misspecification: Mapping and Mitigating Misaligned Models
- Feedback Loops With Language Models Drive In-Context Reward Hacking
- Spontaneous Reward Hacking in Iterative Self-Refinement
- Automatic Prompt Optimization with "Gradient Descent" and Beam Search
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems