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

使用Switch稀疏自编码器的高效字典学习

Efficient Dictionary Learning with Switch Sparse Autoencoders

Massachusetts Institute of Technology(麻省理工学院);University of Oxford(牛津大学)

Anish Mudide, Joshua Engels, Eric J. Michaud, Max Tegmark, Christian Schroeder de Witt

AI总结:

本文提出Switch稀疏自编码器,借鉴稀疏专家混合模型在小型专家SAE间路由激活向量,以更低计算成本扩展特征数量,并在重构-稀疏性前沿上取得显著帕累托改进。

摘要:

稀疏自编码器(SAEs)是近期一种将神经网络激活分解为人类可解释特征的技术。然而,为了使SAEs能够识别前沿模型中表示的所有特征,有必要将其扩展到非常高的宽度,这带来了计算上的挑战。在这项工作中,我们引入了Switch稀疏自编码器,这是一种新颖的SAE架构,旨在降低训练SAEs的计算成本。受稀疏专家混合模型的启发,Switch SAEs在较小的“专家”SAEs之间路由激活向量,使SAEs能够高效地扩展到更多特征。我们进行了将Switch SAEs与其他SAE架构进行比较的实验,并发现在给定的固定训练计算预算下,Switch SAEs在重构与稀疏性的前沿上提供了显著的帕累托改进。我们还研究了跨专家的特征几何结构,分析了跨专家重复的特征,并验证了Switch SAE特征与通过其他SAE架构发现的特征一样具有可解释性。

英文摘要:

Sparse autoencoders (SAEs) are a recent technique for decomposing neural network activations into human-interpretable features. However, in order for SAEs to identify all features represented in frontier models, it will be necessary to scale them up to very high width, posing a computational challenge. In this work, we introduce Switch Sparse Autoencoders, a novel SAE architecture aimed at reducing the compute cost of training SAEs. Inspired by sparse mixture of experts models, Switch SAEs route activation vectors between smaller "expert" SAEs, enabling SAEs to efficiently scale to many more features. We present experiments comparing Switch SAEs with other SAE architectures, and find that Switch SAEs deliver a substantial Pareto improvement in the reconstruction vs. sparsity frontier for a given fixed training compute budget. We also study the geometry of features across experts, analyze features duplicated across experts, and verify that Switch SAE features are as interpretable as features found by other SAE architectures.

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

↑