arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.21240cs.LGcs.AIcs.CL
收藏

稀疏自编码器中的表示重分布

Representation Redistribution in Sparse Autoencoders

University of Wisconsin–Madison(威斯康星大学麦迪逊分校)

Ziye Mei, Haotian Ma

AI总结:

该研究针对稀疏自编码器(SAEs)提出重分布敏感度分数(RSS),可识别重现的稀疏表示变化并量化其对下游读出的贡献,在安全读出任务中取得了良好的失败预测AUROC结果。

摘要:

稀疏自编码器(SAEs)将语言模型的激活分解为稀疏特征,但旨在保留底层请求的提示转换会在这些特征间重分布激活。在一个转换后的提示上观察到的特征变化不一定会重现,即使是重现的变化也不一定会影响下游计算。我们引入重分布敏感度分数(RSS),该分数可识别以一致方向重现的大型特征响应,并在排除选择的变体上评估所得支持。在涵盖8个语言模型的27个预训练SAE中,测试的提示转换在这些排除变体上产生了可重现的重分布轮廓。随后,我们将重现的表示变化与符号读出贡献和决策失败分离。对于固定的线性读出,精确分解显示响应幅度、读出系数、方向对齐和干净边际如何决定下游后果。在两个冻结的安全读出中,结合RSS支持侵蚀与完整干净边际,使用20和19个特征的中位数支持,可分别获得0.935和0.958的重现失败AUROC,而使用完整侵蚀则分别为0.965和0.964。因此,RSS提供了一种方法,可识别重现的稀疏表示变化并量化其对下游读出的贡献,而无需将表示变化等同于失败。代码可在https URL获取。

英文摘要:

Presenting the same request with different context or formatting can change which sparse autoencoder (SAE) features respond inside a language model. Understanding these changes raises two questions. Which feature responses recur across related inputs, and which of them contribute to downstream computation? We study this phenomenon as representation redistribution and introduce the redistribution sensitivity score (RSS) to identify large feature changes that recur in a consistent direction. We select features on one set of prompt variants and evaluate them on separate variants. Across 27 pretrained SAEs spanning eight language models, RSS reveals a consistent pattern of redistribution. Context and wrapper transformations produce stronger recurring responses than local edits. We then use two frozen safety readouts to measure how these changes contribute to downstream computation. RSS identifies features with approximately twice the mean held out contribution of features selected by the largest readout coefficients, using activation responses alone. An exact decomposition explains how feature changes and readout coefficients determine their effects on the decision margin. Combining RSS contributions with the clean margin improves recurrent failure AUROC from 0.863 to 0.935 and from 0.901 to 0.958, approaching the full readout results of 0.965 and 0.964. These findings show that recurring changes in sparse representations provide a way to identify features with meaningful downstream contributions. Code is available at https://github.com/OpenSAE/Redistribution-Sensitivity-Score.

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

↑