arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01694cs.AIcs.LGstat.ML
收藏

思维链推理的亚稳态动力学:搜索、强化学习和蒸馏的可证明益处

Metastable Dynamics of Chain-of-Thought Reasoning: Provable Benefits of Search, RL and Distillation

University of Tokyo(东京大学);RIKEN AIP(理化学研究所人工智能项目);New York University(纽约大学);Flatiron Institute(弗莱彻研究所);Princeton University(普林斯顿大学)

Juno Kim, Denny Wu, Jason Lee, Taiji Suzuki

AI总结:

本文将思维链生成建模为亚稳态马尔可夫过程,证明了奖励稀疏边的搜索协议能减少期望步数并提升推理能力,同时表明该搜索信息可通过策略梯度微调或蒸馏至更小模型来优化推理。

摘要:

提升大型语言模型(LLMs)推理能力的一个关键范式是,分配更多推理时计算资源来针对验证器或奖励模型进行搜索。此过程随后可用于微调预训练模型,或将其推理模式蒸馏到更高效的模型中。本文通过将思维链(CoT)生成视为一个亚稳态马尔可夫过程来研究推理时计算:简单推理步骤(如代数运算)形成密集连接的簇,而困难推理步骤(如应用相关定理)在簇之间创建稀疏、低概率的边,从而在较长时间尺度上引发相变。在此框架下,我们证明,实施奖励稀疏边的搜索协议能减少到达不同簇的期望步数,从而改善CoT。相比之下,我们确立了当模型被限制于预训练图的局部信息时推理能力的极限。我们还表明,搜索获得的信息可用于获得更好的推理模型:(1) 可以通过策略梯度方法直接微调预训练模型以偏好稀疏边,并且 (2) 推理动力学的压缩亚稳态表示可以蒸馏到一个更小、更高效的模型中。

英文摘要:

A key paradigm to improve the reasoning capabilities of large language models (LLMs) is to allocate more inference-time compute to search against a verifier or reward model. This process can then be utilized to refine the pretrained model or distill its reasoning patterns into more efficient models. In this paper, we study inference-time compute by viewing chain-of-thought (CoT) generation as a metastable Markov process: easy reasoning steps (e.g., algebraic manipulations) form densely connected clusters, while hard reasoning steps (e.g., applying a relevant theorem) create sparse, low-probability edges between clusters, leading to phase transitions at longer timescales. Under this framework, we prove that implementing a search protocol that rewards sparse edges improves CoT by decreasing the expected number of steps to reach different clusters. In contrast, we establish a limit on reasoning capability when the model is restricted to local information of the pretrained graph. We also show that the information gained by search can be utilized to obtain a better reasoning model: (1) the pretrained model can be directly finetuned to favor sparse edges via policy gradient methods, and moreover (2) a compressed metastable representation of the reasoning dynamics can be distilled into a smaller, more efficient model.

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

↑