Fine-tuned open-source LLMs can act as fast, accurate judges for other LLMs

October 26, 20237 min

Overview

Decision SnapshotNeeds Validation

The paper demonstrates consistent, repeatable gains across multiple benchmarks and ablations; results rely on GPT-4 labels and author rechecks, so validate judges on your target distribution before full automation.

Citations18

Evidence Strength0.80

Confidence0.90

Risk Signals11

Trust Signals

Findings with numeric evidence: 4/4

Findings with evidence refs: 4/4

Results with explicit delta: 2/3

Reproducibility

Status: Code + data available

Open source: Partial

At A Glance

Cost impact: 60%

Production readiness: 70%

Novelty: 40%

Authors

Lianghui Zhu, Xinggang Wang, Xinlong Wang

Links

Abstract / PDF / Code / Data

Why It Matters For Business

JudgeLM lets teams run fast, reproducible, and local automatic evaluations instead of slow human/API judging; this lowers cost and speeds model iteration while keeping judgments consistent.

Who Should Care

Summary TLDR

The authors build JudgeLM: open-source LLMs (7B/13B/33B) fine-tuned on 100K GPT-4 judgments to act as automatic judges for open-ended LLM outputs. JudgeLM matches GPT-4 closely (up to ~90% agreement on their benchmark), runs orders of magnitude faster than prior open-source judges, and includes three simple fine-tuning tricks (swap augmentation, reference support, reference drop) to reduce position, knowledge, and format biases. The dataset (100K train, 5K val) and code are released for academic use.

Problem Statement

Existing metrics and benchmarks poorly capture quality in open-ended LLM outputs. Human or API-based judging is costly or non-reproducible. We need scalable, reproducible judges that mimic high-quality human-like evaluation.

Main Contribution

A large, checked judge dataset: 100K training seeds and 5K validation seeds with GPT-4 judgments and human re-checks.

JudgeLM: fine-tuned open-source judges at 7B/13B/33B that reach high agreement with GPT-4 and generalize to many judging modes.

Key Findings

Large fine-tuned JudgeLM reaches near-GPT-4 agreement on the authors' benchmark.

NumbersAgreement 90.06% (JudgeLM-33B, 100K finetune)

Practical UseUse a 33B JudgeLM fine-tuned on large judge sets when you need a reproducible GPT-4–like evaluator for many open-ended tasks.

Evidence RefTable 4 (33B,100k)

Small JudgeLM is extremely fast when run in parallel.

NumbersJudgeLM-7B judges 5k pairs in 3 minutes on 8 A100 GPUs vs baseline 6h40m

Practical UseRun JudgeLM-7B in parallel to speed up iterative model evaluation and CI workflows.

Evidence RefTable 3

Results

MetricValueBaselineDeltaSplit / DatasetEvidenceEvidence Ref
Agreement with GPT-490.06%JudgeLM-33B at 100K finetuneJudgeLM val set (Table 4)Table 4: Agreement 90.06% (33B,100k)
End-to-end evaluation latency3 minutes for 5k pairsPandaLM baseline 6h40m≈133× faster (when parallel & no reasoning)JudgeLM val set; 8 A100 GPUsTable 3: JudgeLM-7B 3 mins vs PandaLM 6h40m

What To Try In 7 Days

Run JudgeLM-7B locally to replace GPT-4 API for internal A/B grading and save cost.

Fine-tune a small JudgeLM with swap augmentation to reduce position bias in pairwise comparisons.

Use reference support plus reference drop to make judges robust across with/without-reference evaluations.

Agent Features

Architectures
LLaMA / Vicuna based

Optimization Features

Infra Optimization
Parallel judge across 8 A100 GPUs for high throughput
Model Optimization
Fine-tuned specialist judges (7B/13B/33B)
System Optimization
Grade-then-judge-then-reason pipeline to avoid unnecessary generation
Training Optimization
Swap augmentationReference supportReference drop
Inference Optimization
Skip optional reasoning step to speed evaluationParallel scoring across GPUs

Reproducibility

Code AvailableYes
Data AvailableYes
Open Source StatusPartial
LicenseUnknown

Risks & Boundaries

Limitations

Training labels come from GPT-4; teacher biases may transfer into JudgeLM.

Dataset released only for academic use; commercial use may be restricted.

When Not To Use

High-stakes evaluations requiring certified human review (legal, medical, safety-critical).

Commercial deployments if dataset license forbids it.

Failure Modes

Position bias favoring first-listed answers if swap augmentation not used.

Knowledge bias when judge lacks domain facts and no reference is available.

Core Entities

Models

JudgeLM-7BJudgeLM-13BJudgeLM-33BVicuna (base)LLaMA / LLaMA2GPT-4 (teacher)GPT-3.5

Metrics

AgreementPrecisionRecallF1Consistency (swap)Bias toward 1stBias toward 2ndDelta bias

Datasets

JudgeLM dataset (100K train, 5K val)PandaLM testMM-VetToxicChatRewardBench subsets

Benchmarks

JudgeLM benchmark (authors' val set)PandaLM benchmarkMM-Vet (multimodal)ToxicChat (toxicity)

Context Entities

Models

PandaLM-7BAuto-J-13BInstructScore-7BOpenAI ModerationLLaVA

Datasets

Alpaca-GPT4Dolly-15KGPT4All-LAIONShareGPT

Benchmarks

MT-bench (human agreement reference)