arXiv:2607.22561v1 Announce Type: new Abstract: LLM-as-a-judge has become the standard for automated evaluation, but it suffers from high cost, significant latency, and opaque decisions -- limitations that undermine its scalability and reliability. We address these with a simple, efficient alternative: program distillation. Instead of prompting an LLM at the evaluation time, we distill its decision logic into a committee of programs that score candidates directly. These programmatic judges offer transparency, are easily inspected or edited, and eliminate per-sample API costs. Building on this notion, we introduce PAJAMA, a system that synthesizes programs as judges, aggregates their decisions into a joint verdict, and incorporates a fallback mechanism to selectively escalate low-confidence cases to an LLM. Across five datasets and four model families, we show that programmatic judges can match the performance of a 13B-size LLM judge. When using program outputs as routing signals, PAJAMA improves both accuracy and throughput and advances the Pareto frontier. Beyond evaluation, programmatic judges produce cheap and effective reward signals: on RewardBench, a reward model distilled from programs' verdicts outperforms one trained on a proprietary LLM's labels at two orders of magnitude lower API cost.
Codifying the Judge: Scalable Evaluation via Program Distillation
Researchers introduce program distillation as a cheaper, faster, and more transparent alternative to LLM-as-a-judge for automated evaluation, presenting PAJAMA, a system that synthesizes programmatic judges from an LLM's decision logic. Across five datasets and four model families, programmatic judges match the performance of a 13B-size LLM judge while eliminating per-sample API costs and improving accuracy and throughput via selective fallback. On RewardBench, a reward model distilled from program verdicts outperforms one trained on proprietary LLM labels at two orders of magnitude lower API cost.
Run your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.