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

关于思维链的成本与收益:一种学习理论视角

On the Cost and Benefit of Chain of Thought: A Learning-Theoretic Perspective

University of Ottawa(渥太华大学)

Yue Zhang, Zhiyi Dong, Tommaso Cesari, Yongyi Mao

AI总结:

本文从学习理论的角度出发,研究了思维链(CoT)的成本与收益,通过分析回答映射与链式规则的交互作用,定义了假设在该交互下的推理风险,并推导出该风险的紧分解,揭示了CoT在不同条件下的帮助与损害作用。

摘要:

我们开发了一个学习理论框架,用于理解思维链(CoT)。我们将CoT建模为回答映射与链式规则之间的交互作用,链式规则通过自回归的方式生成中间问题,并定义了在该交互下假设的推理风险。我们的第一个结果是将该风险紧分解为两个具有相反作用的项:一个oracle轨迹风险(OTR),它捕捉了CoT的收益,并在领域适应问题中减少到目标领域风险;一个轨迹不匹配风险(TMR),它捕捉了CoT通过在不匹配的推理轨迹上积累误差所带来的成本。然后我们展示,这种成本在没有结构的情况下是无法避免的:如果任何一项损失、假设的回答映射或链式规则缺乏稳定性,即使OTR为零且假设与真实值一致,TMR也可以任意大。相反,在具有稳定性的情况下,我们证明了在精确放大因子下TMR的紧上界,该放大因子识别了有界、线性和指数误差增长区域。这些结果共同给出了CoT何时有助于推理、何时有害以及控制两者之间转换的精确理论。

英文摘要:

We develop a learning-theoretic framework for understanding Chain of Thought (CoT). We model CoT as the interaction between an answer map and a chain rule that generates intermediate questions autoregressively, and define the reasoning risk of a hypothesis under this interaction. Our first result is a tight canonical decomposition of this risk into two terms with opposing roles: an oracle-trajectory risk (OTR), which captures the benefit of CoT and reduces to a target-domain risk in a domain adaptation problem, and a trajectory-mismatch risk (TMR), which captures the cost of CoT through error accumulation along mismatched reasoning trajectories. We then show that this cost is unavoidable without structure: if any one of the loss, the hypothesis answer map, or the chain rule lacks stability, the TMR can be arbitrarily large even when the OTR is zero and the hypothesis is uniformly close to the ground truth. Conversely, under stability, we prove a tight upper bound on the TMR governed by an exact amplification factor that identifies bounded, linear, and exponential error-growth regimes. Together, these results give a precise theory of when CoT helps, when it hurts, and what controls the transition between the two.

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

↑