稀疏自编码器中的表示重分配
研究论文 · 2026/10/28
稀疏自编码器(SAE)将语言模型激活分解为稀疏特征,但旨在保留底层请求的提示变换可能会在这些特征间重新分配活动。在一个变换提示上观察到的特征变化未必会重现,即使重现也未必影响下游计算。我们引入重分配敏感性分数(RSS),用于识别以一致方向重现的大特征响应,并在未参与选择的变体上评估所得支持集。在涵盖八个语言模型的27个预训练SAE上,所测试的提示变换在这些排除变体上产生了可重现的重分配剖面。随后,我们将重现的表征变化与带符号读出贡献及决策失败区分开来。对于固定的线性读出,精确分解展示了响应幅度、读出系数、方向对齐和干净边界如何决定下游后果。在两个冻结的安全读出中,将RSS支持侵蚀与完整干净边界结合,使用中位数支持集(20和19个特征)时,重现失败的AUROC分别为0.935和0.958,而使用完全侵蚀时为0.965和0.964。因此,RSS提供了一种识别重现的稀疏表征变化并量化其对下游读出贡献的方法,而无需将表征变化等同于失败。代码见 https://github.com/OpenSAE/Redistribution-Sensitivity-Score
该研究提出了一种量化稀疏表征变化对下游任务影响的方法,有助于区分表征变化与模型失败,对理解和提升语言模型的安全性有重要意义。
Sparse autoencoders (SAEs) decompose language model activations into sparse features, but prompt transformations designed to preserve the underlying request can redistribute activity across them. A feature change observed on one transformed prompt need not recur, and even a recurring change need not affect a downstream computation. We introduce the redistribution sensitivity score (RSS), which identifies large feature responses that recur in a consistent direction, and evaluate the resulting supports on variants excluded from selection. Across 27 pretrained SAEs spanning eight language models, the tested prompt transformations produce a reproducible redistribution profile on these excluded variants. We then separate recurring representation change from signed readout contribution and decision failure. For a fixed linear readout, an exact decomposition shows how response magnitude, readout coefficients, directional alignment, and the clean margin determine downstream consequences. In two frozen safety readouts, combining RSS support erosion with the full clean margin yields recurrent failure AUROCs of 0.935 and 0.958 using median supports of 20 and 19 features, compared with 0.965 and 0.964 using full erosion. RSS therefore provides a way to identify recurring sparse representation changes and quantify their contribution to a downstream readout without equating representation change with failure. Code is available at https://github.com/OpenSAE/Redistribution-Sensitivity-Score