稀疏自编码器中数据的收益递减:功能行为不保证特征可复现性
Diminishing Returns of Data in Sparse Autoencoders: Functional Behavior does not Guarantee Feature Reproducibility
AI总结:
该研究探究稀疏自编码器(SAE)的训练数据需求,发现功能行为的重构在小预算下即可接近全数据参考,而特征可复现性随数据量提升,且数据选择影响性能,为SAE研究提供数据效率优化方向。
摘要:
稀疏自编码器(SAEs)通常在数亿至数十亿个激活令牌上进行训练,但很少有研究检验这种规模是否必要。我们通过在三个语言模型上训练四种SAE架构,研究SAE所需的激活数据量,预算范围为500万令牌至5亿令牌的参考值。我们测量两种收敛概念:标准评估中的功能行为和学习特征的一对一可复现性。功能数据需求强烈依赖于度量标准:在远小于全数据预算时,重构通常接近全数据参考值,而特征可复现性则随数据量持续提升。对于Gemma-2-2B BatchTopK,严格匹配的特征比例从500万令牌时的2%上升至5000万令牌时的29%。数据选择也很重要:随机采样能更好保留原始激活分布,通常有利于重构;而基于多样性的采样常改善AutoInterp。理论分析将子采样训练的统计一致性与一对一特征恢复所需的更强可识别性和优化条件区分开。我们的结果表明,当预算与目标匹配时,SAE训练通常可大幅提升数据效率,且特征层面的主张需通过显式可复现性检查支持,为更经济可靠的SAE研究铺平道路。
英文摘要:
Sparse autoencoders (SAEs) are typically trained on hundreds of millions to billions of activation tokens, yet little work has tested whether this scale is necessary. We study how much activation data SAEs need by training four SAE architectures on three language models with budgets ranging from 5M tokens to a 500M-token reference. We measure two notions of convergence: functional behavior on standard evaluations and one-to-one reproducibility of learned features. Functional data requirements are strongly metric-dependent: reconstruction often approaches the full-data reference at substantially smaller budgets, whereas feature reproducibility continues to improve with data. For Gemma-2-2B BatchTopK, the fraction of strictly matched features rises from 2\% at 5M tokens to 29\% at 50M. Data selection also matters: random sampling better preserves the original activation distribution and generally favors reconstruction, whereas diversity-based sampling frequently improves AutoInterp. A theoretical analysis separates statistical consistency of subsampled training from the stronger identifiability and optimization conditions required for one-to-one feature recovery. Our results show that SAE training can often be made far more data-efficient when budgets are matched to the goal, and feature-level claims are backed by explicit reproducibility checks, paving the way toward cheaper and more reliable SAE research.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。