跳转至

文章背景与核心概要

在机械可解释性研究中,研究人员通常通过定位内部“电路”——即在因果层面支撑特定行为的关键组件集合——来探究 Transformer 大模型的运作机制。然而,这类模型普遍存在神奇的“自愈”能力:一旦切除或消融掉主要的执行组件,处于休眠状态的备用组件便会悄然激活并接管任务,导致原本看似完整的解释性电路在干预验证下出现遗漏和失真。针对这一干预盲区,研究团队提出了“条件电路补全”问题,并开发了全新的条件协同消融 (Conditional Co-Ablation, CoAx) 评估方法,通过衡量主要组件移除后候选组件消融效应的增长量,精准揪出潜藏的备份组件。实验表明,CoAx 不仅在 GPT-2 的间接宾语识别任务中以 0.941 的高 ROC-AUC 精准找回了全部已知备用头,还在涵盖 6 种主流架构家族的 8 款模型上展现了极佳的普适性,为构建更可靠、更完备的 Transformer 可解释性回路奠定了坚实基础。


条件协同消融 CoAx:揭示 Transformer 电路中的自愈备份组件

Conditional Co-Ablation: Recovering Self-Repair Backups in Transformer Circuits

核心概要

Summary

在机械可解释性 (Mechanistic Interpretability) 研究中,研究人员通常通过定位内部“电路”——即在因果层面支撑特定行为的一组模型内部组件——来解释 Transformer 的运行机理。然而,Transformer 展现出了一种显著的 自愈机制 (Self-Repair):当主要的核心组件被消融时,平时处于休眠状态的备用组件便会被主动激活,并迅速接管其功能。这在研究中造成了一个难以察觉的盲区:一个在完整模型中足以解释当前行为的电路,在用于检验它的干预测试下,却往往暴露出不完备性。

In mechanistic interpretability, researchers often explain transformer behavior by identifying "circuits"—sets of internal model components that causally support a specific behavior. However, transformers exhibit self-repair: when primary components are ablated, dormant backup components can activate to take over their function. This creates a blind spot where a circuit explaining behavior in an intact model becomes incomplete under the interventions used to test it.

为了解决这一问题,研究团队形式化提出了 条件电路补全 (Conditional Circuit Completion) 任务——旨在专门寻找那些仅在主要核心组件集合被移除后才显现出因果重要性的隐藏组件。为此,他们推出了 条件协同消融 (Conditional Co-Ablation, CoAx) 方法。该方法的核心思路是:通过测量主要组件集合移除后候选组件消融效应的增长量,对所有潜在备用组件进行因果重要性排序。

To address this, the authors formulate conditional circuit completion—the task of identifying components that become causally important only after a primary set is removed. They introduce Conditional Co-Ablation (CoAx), a method that ranks candidate components by the growth in their ablation effect after primary-set removal.

核心研究发现

Key Findings:

  • 坚实的数学理论基础 (Mathematical Grounding):备用组件的条件效应变化精确聚合了将其与被移除集合链接的所有交互阶数,从而能够在理论上严格将休眠备用组件与毫无关联的无关组件区分开来。
  • 在 GPT-2 上的卓越性能 (Performance on GPT-2):在 GPT-2-small 经典的间接宾语识别 (Indirect Object Identification, IOI) 任务中,CoAx 找回已知备用注意力头的 ROC-AUC 高达 0.941 (相比之下,标准归因基线方法仅为 0.815)。
  • 高度的特异性 (Specificity):当针对在行为效应、输出位移和网络深度上相匹配的替代组件集合进行测试时,备用组件的找回率显著下降,充分证明了该方法对所移除电路的高度特异性。
  • 真正的因果承重作用 (Causal Relevance):经 CoAx 筛选出的注意力头被证实具备关键的因果承重能力:在移除主要核心组件后,若将其冻结会使模型预测裕度急剧下降;而将它们添加至不完备电路中,能够将电路的不完备度从 0.75 骤降至 0.21。
  • 广泛的架构泛化能力 (Generalizability):条件增长趋势在各类机制聚类中均与自愈表现高度吻合;在跨越 6 种主流架构家族的 8 款非 GPT-2 模型上,CoAx 补全电路的效果均显著超越了随机补全方案。
  • Mathematical Grounding: The conditional effect change of a backup component exactly aggregates all interaction orders linking it to the removed set, distinguishing dormant backups from irrelevant components.
  • Performance on GPT-2: On GPT-2-small's Indirect Object Identification (IOI) task, CoAx recovers documented backup heads with an impressive 0.941 ROC-AUC (compared to 0.815 for standard attribution baselines).
  • Specificity: Recovery drops significantly for alternative component sets matched in behavioral effect, output displacement, and depth, proving the method's specificity to the removed circuit.
  • Causal Relevance: CoAx-selected heads are shown to be load-bearing: freezing them post-primary-removal sharply reduces margins, while adding them to incomplete circuits drastically cuts incompleteness from 0.75 to 0.21.
  • Generalizability: Conditional growth aligns with repair across diverse mechanism clusters, and CoAx completions outperform random completions across 8 non-GPT-2 models spanning 6 architecture families.

论文元数据

Metadata

  • arXiv 编号: arXiv:2607.01940 [cs.LG]
  • 主要研究领域: 机器学习 (cs.LG)
  • 其他研究领域: 人工智能 (cs.AI)
  • 论文作者: Zhiren Gong, He Lu, Tiantong Wang, Yichi Zhang, Yixin Wang, Zihao Zeng, Ming Xiao, Chau Yuen, Wei Yang Bryan Lim
  • 版本提交历史:
  • [v1] 2026 年 7 月 2 日星期四
  • [v2] 2026 年 9 月 22 日星期二
  • [v3] 2026 年 9 月 23 日星期三 (当前版本)
  • arXiv ID: arXiv:2607.01940 [cs.LG]
  • Primary Subject: Machine Learning (cs.LG)
  • Other Subjects: Artificial Intelligence (cs.AI)
  • Authors: Zhiren Gong, He Lu, Tiantong Wang, Yichi Zhang, Yixin Wang, Zihao Zeng, Ming Xiao, Chau Yuen, Wei Yang Bryan Lim
  • Submission History:
  • [v1] Thu, 2 Jul 2026
  • [v2] Tue, 22 Sep 2026
  • [v3] Wed, 23 Sep 2026 (this version)

链接与资源