A代表吸收:研究稀疏自动编码器中的特征分裂与吸收现象
A is for Absorption: Studying Feature Splitting and Absorption in Sparse Autoencoders
AI总结:
该研究针对稀疏自动编码器(SAE)分解大语言模型激活空间时的特征分裂不鲁棒问题,发现并定义了特征吸收现象,提出检测指标并通过数百个SAE验证,指出仅调整规模或稀疏性无法解决该问题。
摘要:
稀疏自动编码器(Sparse Autoencoders, SAEs)旨在将大语言模型(Large Language Models, LLMs)的激活空间分解为人类可解释的潜在方向或特征。当我们增加SAE中的特征数量时,层级化特征往往会分裂为更精细的特征(例如“数学”可能分裂为“代数”“几何”等),这一现象被称为特征分裂。然而我们发现,层级特征的稀疏分解与分裂并不具备鲁棒性。具体而言,我们发现看似单义的特征会在应当激活的场景下无法触发,反而被“吸收”到其子特征中。我们将这一现象命名为特征吸收,并证明只要底层特征构成层级结构,SAE的稀疏性优化就会导致该问题。我们提出了一种用于检测SAE中吸收现象的指标,并在数百个LLM SAE上通过实验验证了我们的发现。研究表明,调整SAE的规模或稀疏性不足以解决这一问题。我们讨论了SAE中特征吸收的影响,以及在SAE能够被用于鲁棒、大规模地解释LLM之前,解决这一基础理论问题的若干潜在路径。
英文摘要:
Sparse Autoencoders (SAEs) aim to decompose the activation space of large language models (LLMs) into human-interpretable latent directions or features. As we increase the number of features in the SAE, hierarchical features tend to split into finer features ("math" may split into "algebra", "geometry", etc.), a phenomenon referred to as feature splitting. However, we show that sparse decomposition and splitting of hierarchical features is not robust. Specifically, we show that seemingly monosemantic features fail to fire where they should, and instead get "absorbed" into their children features. We coin this phenomenon feature absorption, and show that it is caused by optimizing for sparsity in SAEs whenever the underlying features form a hierarchy. We introduce a metric to detect absorption in SAEs, and validate our findings empirically on hundreds of LLM SAEs. Our investigation suggests that varying SAE sizes or sparsity is insufficient to solve this issue. We discuss the implications of feature absorption in SAEs and some potential approaches to solve the fundamental theoretical issues before SAEs can be used for interpreting LLMs robustly and at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。