arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.19647cs.LGcs.AIcs.CL
收藏

稀疏特征电路:在语言模型中发现和编辑可解释的因果图

Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models

Northeastern University(东北大学);MIT(麻省理工学院);Technion – IIT(以色列理工学院)

Samuel Marks, Can Rager, Eric J. Michaud, Yonatan Belinkov, David Bau, Aaron Mueller

AI总结:

本文提出稀疏特征电路方法,通过细粒度可解释特征构建因果子网络,并引入SHIFT提升分类器泛化,实现无监督可扩展的模型行为解释。

摘要:

我们引入了用于发现和应用稀疏特征电路的方法。这些是由人类可解释特征组成的因果相关子网络,用于解释语言模型的行为。先前工作中识别的电路由多义且难以解释的单元(如注意力头或神经元)组成,这使得它们不适用于许多下游应用。相比之下,稀疏特征电路能够实现对意外机制的详细理解。由于它们基于细粒度单元,稀疏特征电路对下游任务非常有用:我们引入了SHIFT,通过消除人类判断为与任务无关的特征来提高分类器的泛化能力。最后,我们通过自动发现模型行为,发现了数千个稀疏特征电路,展示了一个完全无监督且可扩展的解释性流水线。

英文摘要:

We introduce methods for discovering and applying sparse feature circuits. These are causally implicated subnetworks of human-interpretable features for explaining language model behaviors. Circuits identified in prior work consist of polysemantic and difficult-to-interpret units like attention heads or neurons, rendering them unsuitable for many downstream applications. In contrast, sparse feature circuits enable detailed understanding of unanticipated mechanisms. Because they are based on fine-grained units, sparse feature circuits are useful for downstream tasks: We introduce SHIFT, where we improve the generalization of a classifier by ablating features that a human judges to be task-irrelevant. Finally, we demonstrate an entirely unsupervised and scalable interpretability pipeline by discovering thousands of sparse feature circuits for automatically discovered model behaviors.

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

↑