当Chain-of-Thought失效时,答案藏在隐藏状态里:GSM8K上的机制性因果分析
When Chain-of-Thought Fails, the Solution Hides in the Hidden States
研究用activation patching在GSM8K上做机制性因果分析,把算术CoT生成中的token级隐藏状态迁移到同一题的直接作答运行中,测量其对最终答案准确率的影响。
arXiv:2604.23351v4 Announce Type: replace Abstract: Whether intermediate reasoning is computationally useful or merely explanatory depends on whether chain-of-thought (CoT) tokens contain task-solving information. We present a mechanistic causal analysis of CoT on GSM8K using activation patching: transferring token-level hidden states from an arithmetic CoT generation to a direct-answer run for the same question, then measuring the effect on final-answer accuracy. Across models, patching can elicit generations that lead to correct answers, revealing that individual CoT hidden states can encode sufficient task-solving information even when the original CoT trace is incorrect. This information is more prevalent in correct than incorrect CoT runs and is unevenly distributed across tokens, concentrating in mid-to-late layers and appearing earlier in the reasoning trace. Moreover, patching from language tokens such as verbs and entities more frequently elicits correct reasoning traces, whereas patches from mathematical tokens more often produce answer-proximal generations that rarely succeed. Further analysis shows that earlier CoT tokens concentrate recoverable information, while later ones require broader search to find the correct answer. Together, these findings show that CoT encodes recoverable, token-level task-solving information, revealing how arithmetic reasoning is represented, accessed, and disrupted.
来源:arXiv (AI + Vision + Imaging) · arxiv.org