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

大语言模型在隐式推理中真的是逐步思考的吗?

Do LLMs Really Think Step-by-step In Implicit Reasoning?

Tsinghua University(清华大学)

Yijiong Yu

AI总结:

本研究针对隐式思维链是否等同于显式思维链的疑问,通过探测模型隐藏状态发现:提示驱动的隐式CoT多依赖经验而非逐步推理,训练驱动的则会计算中间步骤,且两者效果都受问题格式影响。

摘要:

众所周知,思维链(Chain-of-Thought)能显著提升大语言模型(LLMs)在复杂任务上的表现。但由于它也会带来更慢的推理速度和更高的计算成本,许多研究尝试使用隐式思维链(implicit CoT),这种方法不需要LLMs显式生成中间步骤。然而,不可见的推理过程让我们产生疑问:隐式思维链真的能等同于显式思维链吗?为此,本研究通过实验探究这一问题。我们从经过训练或被提示执行隐式思维链的模型隐藏状态中探测中间步骤的信息。结果出人意料地表明:当被提示执行时,LLMs几乎不会思考中间步骤,这说明它们可能只是依赖经验而非严格的逐步推理;但当经过训练执行时,它们确实会计算中间步骤。此外,我们发现在这两种情况下,隐式思维链的效果都容易受到问题格式的影响,这再次印证了当前隐式思维链的不足。

英文摘要:

It has been well-known that Chain-of-Thought can remarkably enhance LLMs' performance on complex tasks. However, because it also introduces slower inference speeds and higher computational costs, many researches have attempted to use implicit CoT, which does not need LLMs to explicitly generate the intermediate steps. However, the invisible reasoning process leaves us a doubt that, can implicit CoT really be equal to explicit CoT? Therefore, in this study, we address this question through experiments. We probe the information of intermediate steps from the model's hidden states when it is either trained or prompted to perform implicit CoT. The results surprisingly indicate that when prompted, LLMs hardly think about intermediate steps, suggesting they may just rely on experience rather than strict step-by-step reasoning. But when trained, they indeed calculate intermediate steps. Moreover, in both situations, we find the effect of using implicit CoT is susceptible to the format of the problem, reaffirming the current deficiency of implicit CoT.

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

↑