Seven Mental · 心智七篇
← Knowledge Atlas · Source

Tracing the Thoughts of a Large Language Model

Anthropic 可解释性综述:AI 显微镜、归因图、十种行为的内部机制
SOURCE · TRACING THOUGHTS · Anthropic Research · neuroscience-style microscope · 2025

Tracing the Thoughts of an LLM

A narrative tour of the Circuit Tracing + Biology of LLM papers — the internal mechanics behind ten key behaviors

Core metaphor: build a “microscope” for AI, in the spirit of how neuroscience studies the brain. Apply Circuit Tracing to Claude 3.5 Haiku and directly watch the computational paths the model walks for a given task.

01
Shared multilingual representation
Concept features are shared across languages — the model computes in an abstract “language of thought” space first, then translates to a concrete output language
02
Forward planning
Writing a rhyming poem, the model preselects the rhyme word before starting the line, then “writes toward the target” — overturning the token-by-token improv hypothesis
03
Reasoning faithfulness
Sometimes the model constructs reasoning backward from the answer (motivated reasoning) — interpretability tools catch it in the act
04
Hallucination mechanism
Default behavior is refusal; a “known entity” feature suppresses it — spurious feature activation → hallucination
05
Jailbreak analysis
Tension between syntactic-coherence features and safety mechanisms — the model leans toward finishing a started grammatical structure even after detecting danger
06
Mental arithmetic strategy
The model invents its own parallel computation (approximate magnitude + exact last digit) — different from the textbook algorithm it claims to use in its “explanation”
LimitsAttribution graphs capture only a portion of the computation · hours of human analysis per prompt · the replacement model may introduce mechanisms not present in the underlying one · future work needs to scale and extend to long CoT
→ mechanistic-interpretability · circuit-tracing · biology-of-llmanthropic.com/research

Tracing the Thoughts of a Large Language Model

摘要

Anthropic 发布两篇配套论文的综述博文。第一篇 Circuit Tracing 介绍了将 LLM 内部计算路径可视化为”归因图”的方法论;第二篇 On the Biology of a Large Language Model 将该方法应用于 Claude 3.5 Haiku,研究十种关键行为的内部机制。

核心比喻:为 AI 构建”显微镜”,类似神经科学对大脑的研究方法。

关键发现

  1. 多语言共享表征:Claude 在不同语言间共享概念特征——存在某种”思维语言”(language of thought),先在抽象空间运算,再翻译为具体语言输出。
  2. 前瞻规划:写押韵诗时,模型在开始新行前就预选韵脚词,然后”朝目标写”。这推翻了”逐词即兴”假说。
  3. 推理忠实性:模型有时会从目标答案反向构造推理步骤(motivated reasoning),可解释性工具能”当场抓住”。
  4. 幻觉机制:默认行为是拒绝回答,“已知实体”特征抑制了此默认;当此特征误触发时产生幻觉。
  5. 越狱分析:语法连贯性特征与安全机制之间存在张力——模型倾向完成已开始的语法结构,即使已检测到危险内容。
  6. 心算策略:模型发展出自己的并行计算路径(近似值 + 精确末位数字),与其”解释”中声称的标准算法不同。

局限性

  • 即使在短提示上,归因图仅捕获总计算量的一部分
  • 需数小时人工分析,无法直接应用于现代长 CoT 推理
  • 替代模型(replacement model)可能引入与底层模型不同的机制

与其他 source 的关联

References

  • sources/anthropic_official/tracing-thoughts-language-model.md