arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.20708cs.CLcs.AIcs.LG
收藏

超越最终答案:你的推理轨迹揭示的比你想象的更多

Beyond the Last Answer: Your Reasoning Trace Uncovers More than You Think

KAUST(阿卜杜拉国王科技大学)

Hasan Abed Al Kader Hammoud, Hani Itani, Bernard Ghanem

AI总结:

本文挑战了对LLM最终答案的依赖,提出基于语言线索将推理轨迹分割为“子思维”并生成续写,通过聚合多路径潜在答案(取众数)来提升准确率,在AIME数据集上增益达10%-13%。

摘要:

大型语言模型(LLMs)利用逐步推理来解决复杂问题。标准评估实践包括生成完整的推理轨迹,并评估其结论处呈现的最终答案的正确性。在本文中,我们通过提出以下两个问题来挑战对最终答案的依赖:最终答案是否可靠地代表了模型的最优结论?替代推理路径能否产生不同的结果?为了回答这些问题,我们分析了被称为“子思维”的中间推理步骤,并基于我们的发现提出了一种方法。我们的方法涉及根据语言线索将推理轨迹分割为顺序的子思维。我们首先提示模型从每个中间子思维的终点生成续写。我们从源自不同子思维的每个已完成续写中提取一个潜在答案。我们发现,通过选择最频繁的答案(众数)来聚合这些答案,与仅依赖从原始完整轨迹得出的答案相比,通常能产生显著更高的准确率。分析从不同子思维得出的答案之间的一致性,揭示了与模型置信度和正确性相关的特征,表明在识别不太可靠的答案方面具有潜力。我们在各种LLM和具有挑战性的数学推理数据集(AIME2024和AIME2025)上的实验显示出一致的准确率提升,增益分别高达13%和10%。实现代码可在:https://github.com/hammoudhasan/SubthoughtReasoner 获取。

英文摘要:

Large Language Models (LLMs) leverage step-by-step reasoning to solve complex problems. Standard evaluation practice involves generating a complete reasoning trace and assessing the correctness of the final answer presented at its conclusion. In this paper, we challenge the reliance on the final answer by posing the following two questions: Does the final answer reliably represent the model's optimal conclusion? Can alternative reasoning paths yield different results? To answer these questions, we analyze intermediate reasoning steps, termed subthoughts, and propose a method based on our findings. Our approach involves segmenting a reasoning trace into sequential subthoughts based on linguistic cues. We start by prompting the model to generate continuations from the end-point of each intermediate subthought. We extract a potential answer from every completed continuation originating from different subthoughts. We find that aggregating these answers by selecting the most frequent one (the mode) often yields significantly higher accuracy compared to relying solely on the answer derived from the original complete trace. Analyzing the consistency among the answers derived from different subthoughts reveals characteristics that correlate with the model's confidence and correctness, suggesting potential for identifying less reliable answers. Our experiments across various LLMs and challenging mathematical reasoning datasets (AIME2024 and AIME2025) show consistent accuracy improvements, with gains reaching up to 13\% and 10\% respectively. Implementation is available at: https://github.com/hammoudhasan/SubthoughtReasoner.

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

↑