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 27 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 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

17
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

18
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

19