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

答案收敛作为推理中提前停止的信号

Answer Convergence as a Signal for Early Stopping in Reasoning

Computer Science and Engineering University of Michigan(计算机科学与工程系密歇根大学)

Xin Liu, Lu Wang

AI总结:

针对 CoT 推理冗长冗余问题,本文研究答案收敛规律,提出答案一致性提前停止、结束信号增强和基于内部激活的监督停止三种推理时方法,在五个基准上显著降低 token 用量且基本不损失准确率。

摘要:

思维链(Chain-of-thought, CoT)提示能够增强大型语言模型(LLM)的推理能力,但往往导致冗长且冗余的输出,从而增加推理成本。我们假设,许多推理步骤对于产生正确答案而言并非必要。为研究这一点,我们首先开展系统性研究,考察模型达到稳定决策所需的最少推理是什么。我们发现,在 math 等数学推理任务上,模型通常在完成 60% 的推理步骤后就已收敛到最终答案,这表明剩余内容存在大量冗余。基于这些洞见,我们提出三种推理时策略以提升效率:(1)通过答案一致性实现提前停止;(2)提高生成推理结束信号的概率;(3)一种监督方法,根据内部激活学习何时停止。在五个基准和五个开放权重 LLM 上的实验表明,我们的方法显著减少了 token 使用量,且准确率几乎没有下降或完全没有下降。特别是在 NaturalQuestions 上,Answer Consistency 将 token 减少超过 40%,同时进一步提高了准确率。我们的工作强调了在推理时运行的高性价比推理方法的重要性,为现实世界应用提供了实际收益。

英文摘要:

Chain-of-thought (CoT) prompting enhances reasoning in large language models (LLMs) but often leads to verbose and redundant outputs, thus increasing inference cost. We hypothesize that many reasoning steps are unnecessary for producing correct answers. To investigate this, we start with a systematic study to examine what is the minimum reasoning required for a model to reach a stable decision. We find that on math reasoning tasks like math, models typically converge to their final answers after 60\% of the reasoning steps, suggesting substantial redundancy in the remaining content. Based on these insights, we propose three inference-time strategies to improve efficiency: (1) early stopping via answer consistency, (2) boosting the probability of generating end-of-reasoning signals, and (3) a supervised method that learns when to stop based on internal activations. Experiments across five benchmarks and five open-weights LLMs show that our methods significantly reduce token usage with little or no accuracy drop. In particular, on NaturalQuestions, Answer Consistency reduces tokens by over 40\% while further improving accuracy. Our work underscores the importance of cost-effective reasoning methods that operate at inference time, offering practical benefits for real-world applications.

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

↑