Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

PAJAMA: Distilling LLM Judges into Transparent, Low-Cost Programs

AI By Crimson AI Hugging Face Papers 28 July 2026 · 00:00 8 views
Share: X Telegram

Researchers introduce program distillation to replace expensive LLM-as-a-judge evaluations with a committee of transparent, editable programs, achieving comparable accuracy at a fraction of the cost.

PAJAMA: Distilling LLM Judges into Transparent, Low-Cost Programs

Key points

A new research paper from Hugging Face proposes a method called program distillation to address the high cost, latency, and opacity of LLM-as-a-judge evaluation. Instead of prompting a large language model each time, the approach distills the judge's decision logic into a committee of programs that score outputs directly.

The system, named PAJAMA, synthesizes programs as judges, aggregates their decisions into a joint verdict, and includes a fallback mechanism that escalates low-confidence cases to an LLM. This hybrid design balances efficiency and accuracy.

Experiments across five datasets and four model families show that programmatic judges can match the performance of a 13B-size LLM judge. When used as routing signals, PAJAMA improves both accuracy and throughput, advancing the Pareto frontier.

Beyond evaluation, the distilled programs produce cheap reward signals. On RewardBench, a reward model trained on program verdicts outperforms one trained on proprietary LLM labels at two orders of magnitude lower API cost.

The authors highlight that programmatic judges are transparent, easily inspected, and editable—turning evaluation criteria into version-controlled code. This could significantly reduce API bills for stable evaluation tasks.

Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1