arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11447cs.LGcs.AI
收藏

编辑是否为定位提供证据?

Does Editing Provide Evidence for Localization?

University of Chicago(芝加哥大学);Data Science Institute, University of Chicago(芝加哥大学数据科学研究院)

Zihao Wang, Victor Veitch

AI总结:

本文改造 LLM 对齐技术以寻找最优局部编辑,并证明随机位置的编辑也能达到全模型对齐效果,因此编辑成功并不构成行为定位的有效证据。

摘要:

大型语言模型可解释性研究的一个基本愿望,是将具有语义意义的行为“定位”到 LLM 内部的特定组件。目前存在多种用于在 LLM 中寻找候选位置的启发式方法。一旦找到候选定位,就可以通过编辑相应定位处的内部表征,并检查这是否会引发与该定位的语义解释相一致的模型行为,来对其进行评估。我们在此探讨的问题是:此类编辑所提供的证据有多强?为评估定位主张,我们希望评估在特定位置进行最优干预的效果。关键的新技术工具是一种改造 LLM 对齐技术以寻找此类最优局部编辑的方法。借助这一工具,我们给出了一个例子:其中基于编辑的定位证据看似很强,但定位显然失败了。事实上,我们发现,在随机定位处进行最优编辑,其效果可能与对齐整个模型一样有效。总体而言,我们的结果表明,仅仅观察到局部编辑引发了有针对性的行为变化,几乎甚至完全不能证明这些位置确实编码了目标行为。

英文摘要:

A basic aspiration for interpretability research in large language models is to "localize" semantically meaningful behaviors to particular components within the LLM. There are various heuristics for finding candidate locations within the LLM. Once a candidate localization is found, it can be assessed by editing the internal representations at the corresponding localization and checking whether this induces model behavior that is consistent with the semantic interpretation of the localization. The question we address here is: how strong is the evidence provided by such edits? To evaluate the localization claim, we want to assess the effect of the optimal intervention at a particular location. The key new technical tool is a way of adapting LLM alignment techniques to find such optimal localized edits. With this tool in hand, we give an example where the edit-based evidence for localization appears strong, but where localization clearly fails. Indeed, we find that optimal edits at random localizations can be as effective as aligning the full model. In aggregate, our results suggest that merely observing that localized edits induce targeted changes in behavior provides little to no evidence that these locations actually encode the target behavior.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑