arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18583cs.AI
收藏

对比以修正:用于大语言模型测试时缩放的成对引导逻辑调整

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

Cong Hua, Qianqian Xu, Zitai Wang, Zhiyong Yang, Shilong Bao, Linchao Zhang, Qingming Huang

AI总结:

该研究针对LLM测试时缩放的现有方法未明确刻画竞争答案对比关系的问题,提出PGLA框架,通过成对置信度对比结合KL正则化目标修正投票排序错误,在多基准多模型上验证了有效性。

摘要:

基于采样的测试时缩放通过聚合同一查询的多条推理路径来增强大语言模型(LLM)的推理能力。现有方法使用答案频率或路径置信度计算候选分数,未明确刻画竞争答案间的对比关系。受社会选择理论中的孔多塞原则启发,我们引入支持不同答案的路径间的成对置信度对比,以捕捉答案层面的对比优势。我们将该对比证据与投票支持度通过KL正则化目标相结合。理论上,我们证明该对比优势等价于对传统投票逻辑的调整。由此,我们提出的成对引导逻辑调整(PGLA)框架可让对比证据弥补较弱的投票支持度,修正基于投票的排序错误。在10个具有挑战性的基准(涵盖数学推理、知识推理和代码生成)上,使用7个参数规模从17亿到320亿的模型开展的实验,验证了该即插即用方法的有效性。结合外部奖励分数和在线采样的额外评估,进一步证明了其适用性。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑