LLM 推理存在独立于生成文本的内部结构

Rohan Paul · @rohanpaul_ai · X·2026-09-24 18:52·58分钟前
AI 导读

一项机制可解释性研究发现,LLM 的推理过程存在独立于生成文本的内部结构。追踪提取事实、分解、回忆、演绎、代数、计算等 8 种推理操作时,每种操作都产生独特的内部模式,且在中层最为清晰;屏蔽前 30 个 token 的上下文会削弱下一步推理操作的信号。最关键的是,错误计算或演绎仍可能携带正确的操作特征,说明模型能表征自己试图进行何种推理,却未必推理正确。

Rohan Paul@rohanpaul_ai
45AI 编辑部评分,满分 100

LLM 推理存在独立于生成文本的内部结构

2026-09-24 18:52· 58分钟前
AI 导读

一项机制可解释性研究发现,LLM 的推理过程存在独立于生成文本的内部结构。追踪提取事实、分解、回忆、演绎、代数、计算等 8 种推理操作时,每种操作都产生独特的内部模式,且在中层最为清晰;屏蔽前 30 个 token 的上下文会削弱下一步推理操作的信号。最关键的是,错误计算或演绎仍可能携带正确的操作特征,说明模型能表征自己试图进行何种推理,却未必推理正确。

The paper finds that LLM reasoning has an internal structure beyond the words being generated, opening a possible route to monitoring reasoning from inside the model.

What an LLM is trying to do and whether it is doing it correctly appear to be separable internally.

The researchers tracked 8 common moves, including extracting facts, decomposition, recall, deduction, algebra, and calculation.

Each move produced a distinct internal pattern, and those patterns were clearest around the middle layers.

Even the exact same token looked different inside the model depending on the reasoning job it was doing.

Context also shaped these states.

When access to the previous 30 tokens was blocked, the signal for the next reasoning operation weakened.

Most importantly, a wrong calculation or deduction could still carry the correct operation signature.

The model can represent what kind of reasoning it is attempting without necessarily getting that reasoning right.

– arxiv. org/abs/2609.04753

Title: "Beneath the Surface of Chains-of-Thought: A Mechanistic Interpretation of Reasoning Operations in LLMs"

来源:Rohan Paul· x.com