Introduction
As Large Language Models (LLMs) are increasingly deployed for complex reasoning tasks in mathematics, logic, and coding, the need for scalable and reliable evaluation methods has become paramount. While "LLM-as-a-judge" (e.g., using GPT-4o to evaluate other models) has emerged as a popular alternative to slow and expensive human evaluation, current judges suffer from a critical flaw: positional inconsistency. A judge might prefer Response A over Response B, but reverse its decision if the order is swapped. This behavior suggests that the judge is often "guessing" based on surface-level patterns rather than understanding the underlying logic. Salesforce AI Research introduces J4R (Judge for Reasoning) and a novel training algorithm, EIS-GRPO, to address this fundamental reliability gap.
Methodology: EIS-GRPO
The core innovation of this work is Equivalent Initial State Group Relative Policy Optimization (EIS-GRPO), a reinforcement learning (RL) algorithm designed to enforce robustness against input transformations.
Standard RL approaches like GRPO treat every input as a unique state. In contrast, EIS-GRPO utilizes data augmentation to create "subgroups" of equivalent problems—for instance, presenting the same pair of candidate answers in different orders (A-B vs. B-A). The algorithm then computes a "global advantage" across these subgroups, rewarding the model only if it is both correct and consistent across all equivalent presentations. This forces the model to ignore positional noise and focus on the substantive logic of the responses.
Datasets and Benchmarking
To train and evaluate J4R, the researchers utilized a compact set of ~10,000 pairwise samples from the ReClor and MATH datasets. They also introduced ReasoningJudgeBench, a comprehensive new benchmark designed to test judge models across diverse reasoning domains.
ReasoningJudgeBench consists of 1,483 challenging pairwise samples. As shown in the figure above, it covers four primary categories: Multi-hop reasoning (logic, boolean expressions, reading comprehension), Math (competition-level and long-form), Everyday reasoning (causal, inductive, commonsense), and Domain-specific knowledge (e.g., law and medicine).
Key Results
The resulting model, J4R-7B, demonstrates that smaller, specialized models can significantly outperform general-purpose giants in reasoning evaluation.
Key findings include:
- Superior Performance: J4R-7B achieved a consistent accuracy of 50.35%, outperforming GPT-4o (47.18%) by 6.7% in aggregate reasoning tasks.
- Efficiency and Scaling: Despite having only 7 billion parameters, J4R-7B matched or exceeded the performance of models 4.5x its size, such as RM-R1-32B. When given additional "thinking time" via self-consistency to match the FLOPs of larger models, J4R's lead increased to nearly 20% relative improvement over RM-R1-32B.
- Consistency Gains: The EIS-GRPO training significantly boosted consistency scores to 80.98%, a massive improvement over the ~47% seen in some baseline models.
Conclusion and Future Work
J4R proves that positional bias is not an inherent limitation of LLMs but a training deficiency that can be corrected. By explicitly rewarding consistency through EIS-GRPO, researchers can create judges that truly understand the logic they are evaluating. While J4R is currently a specialist in reasoning, future work will explore expanding this methodology to general-purpose "chat" evaluation and pointwise verification tasks.
Summary updated