arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.05341cs.LGcs.AImath.OCstat.ML
收藏

稀疏自编码器中的特征枯竭作为几何不稳定性

Feature Starvation as Geometric Instability in Sparse Autoencoders

Imperial College London South Kensington Campus(伦敦帝国理工学院南肯辛顿校区);Institute for Statistical Mathematics(统计数学研究所)

Faris Chaudhry, Keisuke Yano, Anthea Monod

AI总结:

本文提出了一种自适应弹性净稀疏自编码器(AEN-SAEs),通过引入ℓ2结构项和自适应ℓ1重新加权,解决稀疏自编码器中的特征枯竭问题,同时保持重建能力。

摘要:

稀疏自编码器(SAEs)用于将大型语言模型(LLMs)的密集、多义内部表示解耦为可解释的单义概念。然而,标准ℓ1正则化SAEs面临特征枯竭(死神经元)和收缩偏差问题,通常需要计算昂贵的启发式重采样和非可微的硬掩码方法来克服这些挑战。我们主张特征枯竭不仅仅是数据多样性差的偶然现象,而是过完备字典的优化-几何病理:ℓ1诱导的稀疏编码映射不稳定且根本上与浅层、近似编码器不一致。为了解决这种结构不稳定性,我们引入了自适应弹性净SAEs(AEN-SAEs),一种完全可微的架构,基于经典的稀疏回归。AEN-SAEs结合了一个ℓ2结构项,强制强凸性和Lipschitz稳定性,以及自适应ℓ1重新加权,消除收缩偏差并抑制虚假特征,从而共同控制诱导多面体几何的曲率和交互结构。理论上,我们证明AEN-SAEs产生Lipschitz连续的稀疏编码映射,并在温和假设下恢复全局特征支持。经验上,在合成设置和LLMs(Pythia 70M,Llama 3.1 8B)中,AEN-SAEs在不使用辅助启发式方法的情况下缓解了特征枯竭,同时保持了竞争性的重建能力。

英文摘要:

Sparse autoencoders (SAEs) are used to disentangle the dense, polysemantic internal representations of large language models (LLMs) into interpretable, monosemantic concepts. However, standard $\ell_1$-regularized SAEs suffer from feature starvation (dead neurons) and shrinkage bias, often requiring computationally expensive heuristic resampling and nondifferentiable hard-masking methods to bypass these challenges. We argue that feature starvation is not merely an empirical artifact of poor data diversity, but a fundamental optimization-geometric pathology of overcomplete dictionaries: the $\ell_1$-induced sparse coding map is unstable and fundamentally misaligned with shallow, amortized encoders. To address this structural instability, we introduce adaptive elastic net SAEs (AEN-SAEs), a fully differentiable architecture grounded in classical sparse regression. AEN-SAEs combine an $\ell_2$ structural term that enforces strong convexity and Lipschitz stability with adaptive $\ell_1$ reweighting that eliminates shrinkage bias and suppresses spurious features, thereby jointly controlling the curvature and interaction structure of the induced polyhedral geometry. Theoretically, we show that AEN-SAEs yield a Lipschitz-continuous sparse coding map and recover the global feature support under mild assumptions. Empirically, across synthetic settings and LLMs (Pythia 70M, Llama 3.1 8B), AEN-SAEs mitigate feature starvation without auxiliary heuristics while maintaining competitive reconstruction abilities.

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

↑