激活修补中的隐藏交互效应:多重中介的诅咒
The Curse of Multiple Mediators: Hidden Interaction Effects in Activation Patching
研究从因果中介分析重新推导激活修补估计量,发现其自然间接效应(NIE)除目标组件的因果效应外,还包含衡量该组件效应依赖其他组件状态的交互效应(INT)。在 GPT-2 IOI 电路中,因果重要性依赖其他组件状态的组件要么不可见、要么被人为放大。INT 随干净与修补激活间的距离增大而增大,可分解为成对及高阶组交互,可作为诊断信号判断因果结论是否依赖提示词。
arXiv:2606.27510v2 Announce Type: replace Abstract: Activation patching is a primary tool in mechanistic interpretability. It attributes causal responsibility for a model's behavior to each of its individual components by estimating its natural indirect effect (NIE). Re-deriving the activation patching estimand from causal mediation analysis, we find that the NIE does not solely capture the causal effect through the specific component. It also contains interaction effects (INT) that measure how much the component's causal effect itself depends on the states of other components in the model. A natural response may be to try to eliminate INT by adjusting the estimator or unit of analysis, but each of these potential remedies has predictable failure modes. We demonstrate these failure modes in the GPT-2 IOI circuit; components whose causal importance is conditional on the state of other components are either invisible or artificially inflated. We prove that INT scales with the distance between clean and patched component activations, is negligible when the model is nearly affine between them, and decomposes combinatorially into pairwise and higher-order group interactions. Despite its inevitability, INT is not a nuisance to be eliminated, but rather a diagnostic for interpretability studies. Its individual and group-level magnitude and sign signal when causal conclusions are prompt-dependent, and when greedy NIE-based component ranking will miss mechanisms only discoverable through combinatorial search.
来源:arXiv (AI + Vision + Imaging) · arxiv.org