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

稀疏自编码器并未找到规范的分析单元

Sparse Autoencoders Do Not Find Canonical Units of Analysis

Durham University(杜伦大学);Decode Research(解码研究机构);Apollo Research(阿波罗研究机构)

Patrick Leask, Bart Bussmann, Michael Pearce, Joseph Bloom, Curt Tigges, Noura Al Moubayed, Lee Sharkey, Neel Nanda

AI总结:

本文通过SAE拼接和元SAE两种技术证明稀疏自编码器无法找到规范且原子的分析单元,并建议未来研究探索替代方法或按任务选择SAE规模。

摘要:

机制可解释性的一个共同目标是将神经网络的激活分解为特征:即模型计算出的输入的可解释属性。稀疏自编码器(SAEs)是在大语言模型(LLMs)中寻找这些特征的流行方法,并且有人假设它们可以用于找到一组规范单元:一个唯一且完整的原子特征列表。我们使用两种新技术对这一信念提出质疑:SAE拼接(SAE stitching)以表明它们是不完整的,以及元SAE(meta-SAEs)以表明它们不是原子的。SAE拼接涉及将较大SAE中的潜在变量插入或替换到较小SAE中。来自较大SAE的潜在变量可以分为两类:新颖潜在变量(novel latents),当添加到较小SAE中时能提高性能,表明它们捕获了新信息;以及重构潜在变量(reconstruction latents),它们可以替换较小SAE中行为相似的对应潜在变量。新颖特征的存在表明较小SAE的不完整性。使用元SAE——即在另一个SAE的解码器矩阵上训练的SAE——我们发现SAE中的潜在变量通常会分解为来自较小SAE的潜在变量的组合,这表明较大SAE的潜在变量不是原子的。由此产生的分解通常具有可解释性;例如,一个表示“爱因斯坦”的潜在变量分解为“科学家”、“德国”和“名人”。即使SAE没有找到规范的分析单元,它们仍然可能是有用的工具。我们建议未来的研究要么探索不同的方法来识别此类单元,要么务实地选择适合其任务的SAE规模。我们提供了一个交互式仪表板来探索元SAE:https://metasaes.streamlit.app/

英文摘要:

A common goal of mechanistic interpretability is to decompose the activations of neural networks into features: interpretable properties of the input computed by the model. Sparse autoencoders (SAEs) are a popular method for finding these features in LLMs, and it has been postulated that they can be used to find a \textit{canonical} set of units: a unique and complete list of atomic features. We cast doubt on this belief using two novel techniques: SAE stitching to show they are incomplete, and meta-SAEs to show they are not atomic. SAE stitching involves inserting or swapping latents from a larger SAE into a smaller one. Latents from the larger SAE can be divided into two categories: \emph{novel latents}, which improve performance when added to the smaller SAE, indicating they capture novel information, and \emph{reconstruction latents}, which can replace corresponding latents in the smaller SAE that have similar behavior. The existence of novel features indicates incompleteness of smaller SAEs. Using meta-SAEs -- SAEs trained on the decoder matrix of another SAE -- we find that latents in SAEs often decompose into combinations of latents from a smaller SAE, showing that larger SAE latents are not atomic. The resulting decompositions are often interpretable; e.g. a latent representing ``Einstein'' decomposes into ``scientist'', ``Germany'', and ``famous person''. Even if SAEs do not find canonical units of analysis, they may still be useful tools. We suggest that future research should either pursue different approaches for identifying such units, or pragmatically choose the SAE size suited to their task. We provide an interactive dashboard to explore meta-SAEs: https://metasaes.streamlit.app/

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

↑