arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.08319cs.CL
收藏

以输出为中心的特征描述增强自动化可解释性

Enhancing Automated Interpretability with Output-Centric Feature Descriptions

Blavatnik School of Computer Science and AI(布拉瓦特尼克计算机科学与人工智能学院);Tel Aviv University(特拉维夫大学);Pr(Ai) 2 R Group(Pr(Ai) 2 R集团)

Yoav Gur-Arieh, Roy Mayan, Chen Agassy, Atticus Geiger, Mor Geva

AI总结:

针对现有自动化可解释性流水线忽略特征对输出因果效应的问题,提出以输出为中心的特征描述生成方法,结合输入方法取得最佳评估性能,并能激活“死亡”特征。

摘要:

自动化可解释性流水线为大型语言模型(LLMs)中特征所表示的概念生成自然语言描述,例如植物或句子中的第一个单词。这些描述是使用激活特征的输入推导出来的,该特征可能是模型表示空间中的一个维度或一个方向。然而,识别激活输入的成本很高,并且特征在模型行为中的机制作用既取决于输入如何导致特征激活,也取决于特征激活如何影响输出。使用引导评估,我们发现当前的流水线提供的描述未能捕捉特征对输出的因果效应。为了解决这个问题,我们提出了以输出为中心的高效方法,用于自动生成特征描述。这些方法使用在特征刺激后权重更高的 token,或者将词汇表“反嵌入”头直接应用于特征后权重最高的 token。与以输入为中心的描述相比,我们以输出为中心的描述更好地捕捉了特征对模型输出的因果效应,但将两者结合可以在输入和输出评估上均取得最佳性能。最后,我们展示了以输出为中心的描述可用于寻找能够激活以前被认为是“死亡”特征的输入。

英文摘要:

Automated interpretability pipelines generate natural language descriptions for the concepts represented by features in large language models (LLMs), such as plants or the first word in a sentence. These descriptions are derived using inputs that activate the feature, which may be a dimension or a direction in the model's representation space. However, identifying activating inputs is costly, and the mechanistic role of a feature in model behavior is determined both by how inputs cause a feature to activate and by how feature activation affects outputs. Using steering evaluations, we reveal that current pipelines provide descriptions that fail to capture the causal effect of the feature on outputs. To fix this, we propose efficient, output-centric methods for automatically generating feature descriptions. These methods use the tokens weighted higher after feature stimulation or the highest weight tokens after applying the vocabulary "unembedding" head directly to the feature. Our output-centric descriptions better capture the causal effect of a feature on model outputs than input-centric descriptions, but combining the two leads to the best performance on both input and output evaluations. Lastly, we show that output-centric descriptions can be used to find inputs that activate features previously thought to be "dead".

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

↑