Compare to Correct: Pairwise-Guided Logit Adjustment for LLM Test-Time Scaling

Cong Hua, Qianqian Xu, Zitai Wang, Zhiyong Yang, Shilong Bao +2 more
10/13/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Sampling-based test-time scaling enhances LLM reasoning by aggregating multiple reasoning paths for the same query. Existing methods use answer frequencies or path confidence to compute candidate scores, which do not explicitly characterize comparisons between competing answers.

Show full abstract

Inspired by the Condorcet principle in social choice theory, we introduce pairwise confidence comparisons between paths supporting different answers to capture answer-level comparative advantage. We combine this comparative evidence with voting support through a KL-regularized objective. Theoretically, we show that this comparative-advantage is equivalent to the adjustment to the traditional voting logits. In this way, our proposed Pairwise-Guided Logit Adjustment (PGLA) framework allows comparative evidence to compensate for weaker voting support and correct voting-based ranking errors. Experiments on 10 challenging benchmarks including mathematical reasoning, knowledge reasoning, and code generation with 7 models ranging from 1.7B to 32B parameters speak to the effectiveness of this plug-and-play term. Additional evaluations with external reward scores and online sampling further demonstrate its applicability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hua2026compare,
  title  = {Compare to Correct: Pairwise-Guided Logit Adjustment for LLM Test-Time Scaling},
  author = {Cong Hua and Qianqian Xu and Zitai Wang and Zhiyong Yang and Shilong Bao and Linchao Zhang and Qingming Huang},
  year   = {2026},
  eprint = {2610.18583},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.18583v1}
}

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/2610.18583.svg)](https://codeofpaper.com/paper/2610.18583)

Discussion