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

并行思考,一答为终:用于开放性推理的Logit平均

Think in Parallel, Answer as One: Logit Averaging for Open-Ended Reasoning

National University of Singapore(新加坡国立大学);Sea AI Lab(Sea AI实验室)

Haonan Wang, Chao Du, Kenji Kawaguchi, Tianyu Pang

AI总结:

ThinkMerge通过并行推理轨迹的logit平均提升开放式推理性能,适用于代码生成和网络深度研究等任务。

摘要:

多数投票在闭合式问答中通过聚合并行推理轨迹证明了其有效性。然而,它不直接适用于开放式推理,如代码生成和基于网络的深度研究,其中对完整解决方案的“多数”定义不明确。我们引入了ThinkMerge,一种无需训练的插件式解码策略,它运行K个并行推理轨迹,并在同步点平均它们的下一个标记logits,以生成一个连贯的输出。ThinkMerge无缝集成到vLLM/SGLang中,并且与标准解码技术如Top-p/Top-k保持兼容。在实践中,它在AIME和GPQA上匹配或超过了多数投票,同时在开放式编码任务上实现了稳定的提升:在LiveCodeBench(困难)上,DeepCoder-14B-Preview的pass@1提高了+8.28%,Qwen3-8B提高了+7.58%。除了代码之外,我们还证明ThinkMerge在基于网络的深度研究代理(如WebSailor-7B/32B)上在GAIA、BrowseComp-en/zh和XbenchDeepSearch上取得了提升。这些结果表明,平行测试时间扩展可以受益于开放式推理,而无需依赖对完整输出的投票。

英文摘要:

Majority voting has proven effective for close-ended question answering by aggregating parallel reasoning traces. However, it is not directly applicable to open-ended reasoning, such as code generation and web-based deep research, where a "majority" over complete solutions is ill-defined. We introduce ThinkMerge, a training-free, plug-and-play decoding strategy that runs K parallel reasoning traces and averages their next-token logits at synchronization points to produce a single coherent output. ThinkMerge integrates seamlessly with vLLM/SGLang and remains compatible with standard decoding techniques such as Top-p/Top-k. Empirically, it matches or surpasses majority voting on AIME and GPQA, while delivering consistent gains on open-ended coding tasks: on LiveCodeBench (hard), pass@1 improves by +8.28% for DeepCoder-14B-Preview and +7.58% for Qwen3-8B. Beyond code, we further show that ThinkMerge improves web-based deep-research agents (e.g., WebSailor-7B/32B) across GAIA, BrowseComp-en/zh, and XbenchDeepSearch. These results demonstrate that parallel test-time scaling can benefit open-ended reasoning without relying on voting over complete outputs.

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

↑