AtP*:一种将 LLM 行为定位到组件的高效且可扩展方法
AtP*: An efficient and scalable method for localizing LLM behaviour to components
AI总结:
本文针对激活修补在大型 LLM 中成本过高的问题,研究基于梯度的 AtP,识别其假阴性失效模式,提出可扩展的 AtP*,并通过系统实验验证其性能提升及残余假阴性概率界。
摘要:
Activation Patching(激活修补)是一种直接计算模型组件对行为的因果归因的方法。然而,穷举式应用它需要进行一次扫描,其成本随模型组件数量线性增长,对于 SoTA 大型语言模型(LLM)而言可能高得令人却步。我们研究 Attribution Patching(AtP,归因修补),这是 Activation Patching 的一种快速、基于梯度的近似方法,并发现 AtP 存在两类失效模式,会导致显著的假阴性。我们提出一种称为 AtP* 的 AtP 变体,通过两处改动来解决这些失效模式,同时保留可扩展性。我们首次对 AtP 以及用于更快激活修补的替代方法进行系统研究,结果表明 AtP 显著优于所有其他被研究的方法,而 AtP* 又带来进一步的显著改进。最后,我们提供一种方法,用于界定 AtP* 估计中残余假阴性的概率。
英文摘要:
Activation Patching is a method of directly computing causal attributions of behavior to model components. However, applying it exhaustively requires a sweep with cost scaling linearly in the number of model components, which can be prohibitively expensive for SoTA Large Language Models (LLMs). We investigate Attribution Patching (AtP), a fast gradient-based approximation to Activation Patching and find two classes of failure modes of AtP which lead to significant false negatives. We propose a variant of AtP called AtP*, with two changes to address these failure modes while retaining scalability. We present the first systematic study of AtP and alternative methods for faster activation patching and show that AtP significantly outperforms all other investigated methods, with AtP* providing further significant improvement. Finally, we provide a method to bound the probability of remaining false negatives of AtP* estimates.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。