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

在应当稀疏处分解,在应当稠密处吸收

Decompose Sparsely Where You Should, Absorb Densely Where You Should No

Georgia Institute of Technology(佐治亚理工学院)

Ruixuan Deng, Zehao Jin, Zekun Wang, Zihan Dong

AI总结:

针对稀疏自编码器假设所有激活内容均可稀疏分解的缺陷,提出在标准SAE旁添加低秩线性瓶颈以吸收稠密成分,在Gemma-2-2B第12层上秩24瓶颈减少84%稠密潜变量,并揭示该成分是结构可识别、因果必要且被稀疏字典冗余编码的计算脚手架。

摘要:

稀疏自编码器(SAE)通常被训练为通过稀疏字典重建残差流的\textbf{全部}内容,隐含假设所有激活内容都适合稀疏、单语义的分解。我们质疑这一假设,并推测激活包含一个低秩、稠密的成分,该成分对模型计算重要但本质上不适合稀疏表示,这是训练SAE中广泛观察到的持久稠密潜变量的主要来源。为验证这一点,我们在标准SAE(BatchTopK和Matryoshka)旁添加一个小型秩$r$线性瓶颈,使得稠密结构在稀疏重建前被吸收。在Gemma-2-2B第12层上,秩24瓶颈将稠密潜变量计数减少高达84%,同时在匹配稀疏度下改善了两种架构的稀疏探测和定向探测扰动。被吸收的成分(i)在\textbf{结构上可识别},即顶部主成分和离群维度;(ii)在\textbf{因果上必要},移除它会使下一个token的交叉熵增加7.5倍,远超移除几何上几乎相同的顶部24个PCA方向带来的2.8倍增加;(iii)被\textbf{稀疏字典冗余编码},消融787个最大对齐的稀疏特征仅使交叉熵增加2.9倍,消融2048个主题对齐特征几乎不改变MMLU主题分类,而移除脚手架则使其从98.7%降至随机水平。综合来看,我们的发现识别出残差流激活中一个紧凑、语义信息丰富且因果重要的成分(我们称之为\textbf{计算脚手架}),标准稀疏字典对其表示效率低下,表明基于稀疏性的可解释性方法的适用范围需要谨慎重新审视。

英文摘要:

Sparse autoencoders (SAEs) are typically trained to reconstruct the \textbf{entire} residual stream through a sparse dictionary, implicitly assuming that all activation content is amenable to sparse, monosemantic decomposition. We question this assumption and hypothesize that activations contain a low-rank, dense component that is computationally important to the model yet inherently unsuitable for sparse representation, which serves as a major source of the persistent dense latents widely observed in trained SAEs. To test this, we add a small rank-$r$ linear bottleneck in parallel with standard SAEs (BatchTopK and Matryoshka), allowing dense structure to be absorbed before sparse reconstruction. On Gemma-2-2B layer 12, a rank-24 bottleneck reduces dense latent count by up to 84\% while improving sparse probing and targeted probe perturbation on both architectures at matched sparsity. The absorbed component is (i) \textbf{structurally identifiable} as the top principal components and outlier dimensions; (ii) \textbf{causally necessary}, with removing it raising next-token cross-entropy by 7.5$\times$, far exceeding the 2.8$\times$ from removing the geometrically near-identical top-24 PCA directions; and (iii) \textbf{redundantly encoded by sparse dictionaries}, with ablating 787 maximally aligned sparse features raising cross-entropy by only 2.9$\times$ and ablating 2,048 topic-aligned features leaving MMLU topic classification virtually unchanged, whereas removing the scaffold drops it from 98.7\% to chance. Together, our findings identify a compact, semantically informative and causally important component of residual stream activations (which we term a \textbf{computational scaffold}) that standard sparse dictionaries represent inefficiently, suggesting that the scope of sparsity-based interpretability methods warrants careful re-examination.

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

↑