思维链表面之下:大语言模型中推理操作的机制性解读
研究论文 · 2026/09/07
本文研究大型语言模型中推理操作在表示空间中的几何结构。作者发现,不同推理操作(如问题表述、目标分解、演绎)在隐藏表示中是可分离的,且这种可分离性在中间层达到峰值,并排除了词汇和位置混淆因素。跨层分析显示,操作对齐在文本跨度上分布更广,相同表面标记根据其周围块的操作而不同表示。注意力掩蔽干预表明,块开始处的操作对齐表示依赖于前面的推理上下文。该工作证明了语言模型在语言推理表达与其内部几何结构之间保持表示对应关系。
该研究首次从机制层面揭示推理操作在LLM内部表示中的几何组织,提供了可验证的干预实验,对理解模型推理机制和可解释性有重要价值。
Reasoning in large language models unfolds through diverse functional operations, such as problem formulation, goal decomposition, and deduction. Although these operations are explicitly distinguished in text, little is known about how they are geometrically organized in representation spaces. To this end, we investigate whether distinct reasoning operations exhibit corresponding geometric structure in hidden representations. We find that operations are separable in held-out representations, with separability peaking in middle layers, and verify that this structure is not explained by lexical or positional confounds. Across layers, token-wise operation-alignment becomes more distributed over spans, while identical surface tokens are represented differently depending on the operation of its surrounding chunk. Attention-masking interventions further show that operation-aligned representations at chunk onset depend on preceding reasoning context. Consequently, our work demonstrates that language models maintain representational correspondence between linguistic reasoning expressions and their internal geometric structures. Code and project materials are available at https://github.com/naver-ai/beneath-cot.