PairJudge RM: Perform Best-of-N Sampling with Knockout Tournament

Yantao Liu, Zijun Yao, Rui Min, Yixin Cao, Lei Hou +1 more
1/22/2025
cs.CL

No official code found. Best implementation: THU-KEG/PairJudgeRM (15 stars, last commit 2025-04-14).

Abstract

Best-of-N (BoN) sampling, a common strategy for test-time scaling of Large Language Models (LLMs), relies on reward models to select the best candidate solution from multiple generations. However, traditional reward models often assign arbitrary and inconsistent scores, limiting their effectiveness. To address this, we propose a Pairwise Judge Reward Model (PariJudge RM) combined with a knockout tournament for BoN sampling. Instead of assigning absolute scores, given one math problem, PariJudge RM judges two candidate solutions' correctness with chain-of-thought reasoning simultaneously. This approach eliminates the need for scoring and enables cross-validation of solutions through parallel judgment. In the knockout tournament, PariJudge RM conducts pairwise Judgment between candidate solutions and eliminates the incorrect ones iteratively. We construct PairJudge-432K, a large-scale dataset of 432K pairwise judgments derived from NumiaMath and annotated using \texttt{gemini-1.5-flash}, and train the PariJudge RM via supervised fine-tuning. Experiments on MATH-500 and the Olympiad Bench demonstrate significant improvements over baseline reward models. And a 40\% to 60\% relative improvement is achieved on the top 50\% challenging problems.

View on arXivView PDF

Code Implementations(1)

THU-KEG/PairJudgeRMCommunity100%
150PythonJan 22, 20251 years ago

Similar Papers

Cite this paper

@article{liu2025pairjudge,
  title  = {PairJudge RM: Perform Best-of-N Sampling with Knockout Tournament},
  author = {Yantao Liu and Zijun Yao and Rui Min and Yixin Cao and Lei Hou and Juanzi Li},
  year   = {2025},
  eprint = {2501.13007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.13007v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.13007.svg)](https://codeofpaper.com/paper/2501.13007)

Discussion