知识显微镜:特征作为比神经元更好的分析透镜
The Knowledge Microscope: Features as Better Analytical Lenses than Neurons
AI总结:
本文提出以稀疏自编码器分解出的特征替代神经元作为分析单元,发现特征在知识表达影响力、单义性和隐私保护三方面优于神经元,并推出FeatureEdit方法实现更优的隐私擦除。
摘要:
先前的研究主要利用MLP神经元作为分析单元来理解语言模型(LMs)中事实知识的机制;然而,神经元存在多义性问题,导致知识表达能力有限且可解释性差。在本文中,我们首先进行初步实验,验证稀疏自编码器(SAE)能够有效地将神经元分解为特征,这些特征可作为替代的分析单元。在此基础上,我们的核心发现揭示了特征相对于神经元的三个关键优势:(1)特征对知识表达具有更强的影响力,且具有更优的可解释性。(2)特征表现出增强的单义性,在相关事实与不相关事实之间显示出不同的激活模式。(3)特征比神经元实现更好的隐私保护,这通过我们提出的FeatureEdit方法得以证明,该方法在从LMs中擦除隐私敏感信息方面显著优于现有的基于神经元的方法。代码和数据集将公开可用。
英文摘要:
Previous studies primarily utilize MLP neurons as units of analysis for understanding the mechanisms of factual knowledge in Language Models (LMs); however, neurons suffer from polysemanticity, leading to limited knowledge expression and poor interpretability. In this paper, we first conduct preliminary experiments to validate that Sparse Autoencoders (SAE) can effectively decompose neurons into features, which serve as alternative analytical units. With this established, our core findings reveal three key advantages of features over neurons: (1) Features exhibit stronger influence on knowledge expression and superior interpretability. (2) Features demonstrate enhanced monosemanticity, showing distinct activation patterns between related and unrelated facts. (3) Features achieve better privacy protection than neurons, demonstrated through our proposed FeatureEdit method, which significantly outperforms existing neuron-based approaches in erasing privacy-sensitive information from LMs.Code and dataset will be available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。