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

在相同数据上训练的稀疏自编码器学习到不同的特征

Sparse Autoencoders Trained on the Same Data Learn Different Features

EleutherAI

Gonçalo Paulo, Nora Belrose

AI总结:

研究发现,在相同数据和模型上训练的稀疏自编码器因随机种子不同会学到不同特征,TopK架构比ReLU对种子更敏感,表明SAE特征应视为激活空间的实用分解而非模型真实特征的通用列表。

摘要:

稀疏自编码器(SAEs)是揭示大语言模型(LLMs)激活中人类可解释特征的有用工具。尽管有人期望SAEs能找到模型使用的真实底层特征,但我们的研究表明,在相同模型和数据上训练、仅在初始化权重的随机种子上有所不同的SAEs,会识别出不同的特征集。例如,在Llama 3 8B的前馈网络上训练的具有131K潜在变量的SAE中,仅有30%的特征在不同种子间是共享的。我们在三个不同LLMs的多个层、两个数据集和几种SAE架构中都观察到了这一现象。虽然使用L1稀疏损失训练的ReLU SAEs在不同种子间表现出更大的稳定性,但使用最先进的TopK激活函数的SAEs则更依赖于种子,即使在控制稀疏度水平时也是如此。我们的结果表明,SAE揭示的特征集应被视为对激活空间的实用分解,而非模型“真正使用”的特征的详尽且通用的列表。

英文摘要:

Sparse autoencoders (SAEs) are a useful tool for uncovering human-interpretable features in the activations of large language models (LLMs). While some expect SAEs to find the true underlying features used by a model, our research shows that SAEs trained on the same model and data, differing only in the random seed used to initialize their weights, identify different sets of features. For example, in an SAE with 131K latents trained on a feedforward network in Llama 3 8B, only 30% of the features were shared across different seeds. We observed this phenomenon across multiple layers of three different LLMs, two datasets, and several SAE architectures. While ReLU SAEs trained with the L1 sparsity loss showed greater stability across seeds, SAEs using the state-of-the-art TopK activation function were more seed-dependent, even when controlling for the level of sparsity. Our results suggest that the set of features uncovered by an SAE should be viewed as a pragmatically useful decomposition of activation space, rather than an exhaustive and universal list of features "truly used" by the model.

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

↑