J4R: Learning to Judge with Equivalent Initial State Group Relative Policy Optimization

Austin Xu, Yilun Zhou, Xuan-Phi Nguyen, Caiming Xiong, Shafiq Joty

TL;DR

Researchers from Salesforce AI Research have introduced J4R (Judge for Reasoning), a 7B parameter model that outperforms GPT-4o in evaluating complex reasoning tasks. The secret sauce is a new reinforcement learning algorithm called EIS-GRPO, which explicitly trains the model to be robust against positional bias—ensuring the judge doesn't change its mind just because you swapped the order of the answers it's grading.

What Problem Does This Paper Address?

As Large Language Models (LLMs) are increasingly used for complex reasoning (math, logic, coding), we need scalable ways to evaluate their outputs. Human evaluation is too slow, so the industry has turned to "LLM-as-judge"—using a strong model like GPT-4o to grade a weaker one.

However, these "judges" have a glaring weakness: positional inconsistency. If you ask a judge to compare Response A and Response B, it might pick A. But if you swap their positions and ask again, it might pick the new Response A (the original B). This inconsistency is a "tell" that the judge doesn't actually understand the substance of the reasoning; it’s essentially guessing. The authors found that as tasks get harder, this "guessing behavior" increases significantly, making current judges unreliable for frontier reasoning research.

Methods

The authors tackle this using Reinforcement Learning from Verifiable Rewards (RLVR). Specifically, they propose a novel training algorithm: Equivalent Initial State Group Relative Policy Optimization (EIS-GRPO).

  • The Standard (GRPO): Usually, RL training treats every input as a unique state.
  • The Innovation (EIS-GRPO): This algorithm uses data augmentation to create "subgroups" of the same problem. For a judge, this means presenting the same two candidate answers in different orders (A-B vs. B-A).
  • The Reward Logic: EIS-GRPO computes a "global advantage" across these subgroups. It forces the model to recognize that these different presentations are substantively equivalent. By rewarding the model for being both correct and consistent across these transformations, the judge learns to ignore stylistic or positional noise and focus on the actual logic of the responses.

Datasets

The study utilizes several key datasets for training and evaluation:

  • Training Data: A compact set of ~10,000 pairwise samples derived from the ReClor (logical reasoning) and MATH training sets.
  • ReasoningJudgeBench (New): The authors introduced this benchmark to address the lack of breadth in existing ones. It contains 1,483 challenging pairwise samples across four categories: Math, Multi-hop reasoning, Domain-specific (like law or medicine), and "Everyday" reasoning (causal/inductive).
  • Existing Benchmarks: They also evaluated on JudgeBench and PPE Best-of-K (MBPP, MATH, GPQA) to ensure broad coverage.

Key Insights and Ideas

  • Positional Bias = Lack of Knowledge: The paper demonstrates a clear correlation: the harder the reasoning task, the more the judge relies on positional bias. Consistency isn't just a "nice-to-have"; it's a proxy for whether the judge actually knows the material.
  • RL > SFT/DPO for Judges: Interestingly, the authors found that standard Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) actually decreased performance on JudgeBench compared to the base model. RL is superior here because it allows the model to explore and "discover" its own Chain-of-Thought (CoT) critiques rather than just mimicking a teacher model's potentially flawed distributions.
  • The "Floor" Effect: Initializing RL from a model already trained to be a judge (like CompassJudger) provides a "higher floor," allowing the RL process to focus on refining complex reasoning rather than learning basic grading formats.

Key Results

  • Small Model, Big Brain: The J4R-7B model (a 7-billion parameter model) outperformed GPT-4o by 6.7% in aggregate reasoning evaluation.
  • Beating the Giants: J4R-7B matched or exceeded the performance of much larger models, such as the RM-R1-32B (which is 4.5x larger).
  • Efficiency: When using "FLOP-matched" evaluation (giving the smaller J4R model more "thinking time" via self-consistency to match the compute used by a larger model), J4R-7B outperformed all larger baselines by even more significant margins—up to 19.6% relative improvement over RM-R1-32B.
  • Consistency Gains: EIS-GRPO improved consistency scores on ReasoningJudgeBench to 80.98%, compared to just 47.61% for some baseline models.

Limitations and Future Work

  • Specialization Trade-off: The authors acknowledge that J4R is a specialist. While it excels at reasoning, its performance on general "chat" evaluation (like safety or helpfulness) degrades slightly compared to generalist models.
  • Dataset Optimization: The training used a relatively simple approach to generating pairs. The authors suggest that more sophisticated, data-driven pair selection could yield even higher performance.
  • Pointwise vs. Pairwise: The current work focuses on pairwise comparisons (A vs. B). Future work could explore applying EIS-GRPO to pointwise verification (grading a single response in isolation), which is more efficient for certain inference-time scaling techniques.

Summary updated

Abstract

To keep pace with the increasing pace of large language models (LLM) development, model output evaluation has transitioned away from time-consuming human evaluation to automatic evaluation, where LLMs themselves are tasked with assessing and critiquing other model outputs. LLM-as-judge models are a class of generative evaluators that excel in evaluating relatively simple domains, like chat quality, but struggle in reasoning intensive domains where model responses contain more substantive and challenging content. To remedy existing judge shortcomings, we explore training judges with reinforcement learning (RL). We make three key contributions: (1) We propose the Equivalent Initial State Group Relative Policy Optimization (EIS-GRPO) algorithm, which allows us to train our judge to be robust to positional biases that arise in more complex evaluation settings. (2) We introduce ReasoningJudgeBench, a benchmark that evaluates judges in diverse reasoning settings not covered by prior work. (3) We train Judge for Reasoning (J4R), a 7B judge trained with EIS-GRPO that outperforms GPT-4o and the next best small judge by 6.7% and 9%, matching or exceeding the performance of larger GRPO-trained judges on both JudgeBench and ReasoningJudgeBench.
BibTeX
@inproceedings{xu2026j,
  author = {Austin Xu and Yilun Zhou and Xuan-Phi Nguyen and Caiming Xiong and Shafiq Joty},
  title = {{J4R: Learning to Judge with Equivalent Initial State Group Relative Policy Optimization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.67},
}
Figure