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

推理模型知道什么重要,并在其激活中编码

Reasoning Models Know What's Important, and Encode It in Their Activations

Technion(技术离子大学);University of Zagreb, FER(扎格雷布大学,FER);MIT(麻省理工学院);Kempner Institute, Harvard(哈佛大学凯普纳研究所)

Yaniv Nikankin, Martin Tutek, Tomer Ashuach, Jonathan Rosenfeld, Yonatan Belinkov

AI总结:

通过分析模型激活而非仅依赖推理链文本,发现激活能更有效识别关键推理步骤,且模型在生成后续步骤前已内部编码步骤重要性。

摘要:

语言模型通常通过生成包含许多重要性不同的步骤的长推理链来解决复杂任务。虽然某些步骤对生成最终答案至关重要,但其他步骤是可移除的。确定哪些步骤最重要以及为什么,仍然是理解模型如何处理推理的核心开放问题。我们研究了这个问题是通过模型内部还是通过推理链本身的标记来最好地解决。我们发现,模型激活比标记包含更多信息,用于识别重要的推理步骤。关键的是,通过在模型激活上训练探针来预测重要性,我们表明模型在生成后续步骤之前就已经编码了步骤重要性的内部表示。不同模型中重要性的内部表示在哪些步骤重要上具有高度一致性。这种表示分布在各个层中,并且与表面特征(如步骤的相对位置或长度)不相关。我们的发现表明,分析激活可以揭示表面方法根本遗漏的推理方面,表明推理分析应该研究模型内部。

英文摘要:

Language models often solve complex tasks by generating long reasoning chains, consisting of many steps with varying importance. While some steps are crucial for generating the final answer, others are removable. Determining which steps matter most, and why, remains an open question central to understanding how models process reasoning. We investigate if this question is best approached through model internals or through tokens of the reasoning chain itself. We find that model activations contain more information than tokens for identifying important reasoning steps. Crucially, by training probes on model activations to predict importance, we show that models encode an internal representation of step importance, even prior to the generation of subsequent steps. The internal representations of importance in different models yield high agreement on which steps are important. The representation is distributed across layers, and does not correlate with surface-level features, such as a step's relative position or its length. Our findings suggest that analyzing activations can reveal aspects of reasoning that surface-level approaches fundamentally miss, indicating that reasoning analyses should look into model internals.

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

↑