Interpretability in Parameter Space: Minimizing Mechanistic Description Length with Attribution-based Parameter Decomposition

LLM Model Editing AI Safety / AI Ethics XAI
2025年01月24日
机制可解释性旨在理解神经网络所学到的内部机制。尽管在实现这一目标方面已取得了一些进展,但如何最佳地将神经网络参数分解为机制组件仍然不清楚。我们引入了基于归因的参数分解(APD),这是一种直接将神经网络的参数分解为组件的方法,这些组件(i)忠实于原始网络的参数,(ii)处理任何输入所需的组件数量最少,且(iii)尽可能简单。因此,我们的方法优化了对网络机制的最简描述。我们通过在多个玩具实验设置中成功识别真实机制来证明APD的有效性:从叠加中恢复特征;分离压缩计算;以及识别跨层分布式表示。虽然将APD扩展到非玩具模型仍面临挑战,但我们的结果为解决机制可解释性中的几个开放问题提供了思路,包括在叠加中识别最小电路,为“特征”提供概念基础,以及提供一种与架构无关的神经网络分解框架。
Mechanistic interpretability aims to understand the internal mechanisms learned by neural networks. Despite recent progress toward this goal, it remains unclear how best to decompose neural network parameters into mechanistic components. We introduce Attribution-based Parameter Decomposition (APD), a method that directly decomposes a neural network's parameters into components that (i) are faithful to the parameters of the original network, (ii) require a minimal number of components to process any input, and (iii) are maximally simple. Our approach thus optimizes for a minimal length description of the network's mechanisms. We demonstrate APD's effectiveness by successfully identifying ground truth mechanisms in multiple toy experimental settings: Recovering features from superposition; separating compressed computations; and identifying cross-layer distributed representations. While challenges remain to scaling APD to non-toy models, our results suggest solutions to several open problems in mechanistic interpretability, including identifying minimal circuits in superposition, offering a conceptual foundation for 'features', and providing an architecture-agnostic framework for neural network decomposition.
许愿