TL;DR
Salesforce researchers have released SFR-Judge, a family of foundational "LLM-as-a-judge" models (8B, 12B, and 70B) trained using Direct Preference Optimization (DPO) on a massive scale of 680K samples. These models achieve state-of-the-art performance across 13 benchmarks, with the 8B version notably outperforming GPT-4o in pairwise evaluation tasks.
What Problem Does This Paper Address?
As Large Language Models (LLMs) become more complex, evaluating their outputs through human feedback has become an unscalable bottleneck. While using "LLM-as-a-judge" (automated evaluators) is a popular alternative, existing open-source judge models suffer from two main issues:
- Limited Generalization: Most are trained via Supervised Fine-Tuning (SFT) on small datasets (<100K samples) for specific tasks, making them brittle when faced with new domains or evaluation criteria.
- Surface-Level Mimicry: SFT-only models often learn to mimic the style of a good critique without truly understanding the substance of the response they are judging.
The authors aim to create "foundational" judges: models that are robust, generalize across diverse tasks (rating, comparison, classification), and provide factual, actionable critiques.
Methods
The researchers moved beyond simple SFT, employing a multi-task training recipe centered on Direct Preference Optimization (DPO).
Their approach uses three distinct types of preference pairs to train the models:
- Chain-of-Thought (CoT) Critique: Teaches the model to generate meaningful reasoning before reaching a verdict.
- Standard Judgement: Provides a direct signal for the final answer (e.g., "Response A is better") without the "dilution" of long reasoning traces, which helps the model focus on the actual outcome.
- Response Deduction (The Novel "Hindsight" Task): This is the paper's most creative contribution. The judge is given a prompt and a critique, then tasked with reconstructing the original response. By reversing the judging process, the model is forced to deeply understand how specific flaws or strengths in a response lead to a particular grade.
The models were initialized from Llama-3.1 and NeMo-Instruct bases and trained with a combined DPO and SFT loss for stability.
Datasets
The authors curated a massive training set of 680K preference pairs from a mix of human-annotated and synthetic sources. Human sources included LMSYS Chatbot Arena, HelpSteer2, HH-RLHF, and RAGTruth, while synthetic sources included Prometheus, UltraFeedback, and CoFFEE.
For evaluation, they used a comprehensive suite of 13 benchmarks covering Pairwise Comparison (e.g., RewardBench), Single Rating (e.g., MT-Bench), and Classification (e.g., LLM-AggreFact).
Key Insights and Ideas
- DPO > SFT for Judges: The authors found that SFT is suboptimal because it only shows the model "correct" examples. DPO exposes the model to "incorrect" or "hallucinated" judgements, teaching it what not to do.
- The Power of Deduction: The "Response Deduction" auxiliary task proved critical. It acts as a regularizer that prevents the model from giving high scores to responses that don't actually meet the criteria.
- Foundational Transferability: These models aren't just good out of the box; they serve as excellent "base models" for further specialized tuning. For example, finetuning SFR-Judge-8B for RAG-specific evaluation yielded a 10% performance boost over starting from a standard Llama-3.1 base.
- Reduced Bias: SFR-Judge models exhibit significantly less "positional bias" (the tendency to favor the first response shown) compared to GPT-4o and other open-source judges.
Key Results
- SOTA Performance: SFR-Judge-70B is the best-performing generative judge to date. It and the 12B model were the first generative judges to cross the 90% accuracy threshold on RewardBench.
- Small but Mighty: The SFR-Judge-8B model achieved an average pairwise accuracy of 80.9%, outperforming the much larger GPT-4o (76.8%) across seven pairwise benchmarks.
- Critique Quality: Using the MetaCritique framework, the authors showed their models produce critiques that are more factual and complete than those from previous specialized models like Auto-J or Prometheus.
Limitations and Future Work
- Teacher Dependency: The synthetic training data relies on "teacher" models (like Llama-3.1-70B). If the teacher has blind spots, the judge might inherit them.
- Inference Latency: Generating a full CoT critique takes more time and compute than a simple scalar reward model. While the "Standard Judgement" task allows for skipping CoT, the best results still come from full reasoning.
- Language Scope: The current work is focused exclusively on English. The authors identify multilingual evaluation as a key area for future research.
- Process-Based Reward: The current models evaluate complete responses; the authors suggest future work should explore "process-based" judging (evaluating individual steps in a reasoning chain).
Summary updated