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

引导属性的Matryoshka稀疏自编码器蒸馏

Attribution-Guided Distillation of Matryoshka Sparse Autoencoders

Johns Hopkins University(约翰霍普金斯大学)

Cristina P. Martin-Linares, Jonathan P. Ling

AI总结:

本文提出DMSAEs方法,通过迭代蒸馏过程提取一致的稀疏特征核心,提升SAEBench指标并验证跨稀疏性水平的特征转移能力。

摘要:

稀疏自编码器(SAEs)旨在将模型激活分解为单义、可被人类解释的特征。在实践中,学习到的特征往往冗余,并且在不同的训练运行和稀疏性水平下变化,这使得解释难以转移和重复使用。我们引入了Distilled Matryoshka Sparse Autoencoders(DMSAEs),一种训练流程,旨在蒸馏出一个一致有用的特征核心,并利用它来训练新的SAEs。DMSAEs运行一个迭代蒸馏循环:训练一个具有共享核心的Matryoshka SAE,使用梯度X激活来测量每个特征对最嵌套重建中下一个标记损失的贡献,并仅保留解释固定比例属性的最小子集。只有核心编码器权重向量在循环中被转移;核心解码器和所有非核心潜在特征每次都会重新初始化。在Gemma-2-2B第12层残差流激活上,七次蒸馏循环(5亿个标记,6.5万宽度)产生了197个被反复选择的蒸馏核心。使用这个蒸馏核心进行训练可以提高几个SAEBench指标,并展示了在不同稀疏性水平下可以转移一致的潜在特征集。

英文摘要:

Sparse autoencoders (SAEs) aim to disentangle model activations into monosemantic, human-interpretable features. In practice, learned features are often redundant and vary across training runs and sparsity levels, which makes interpretations difficult to transfer and reuse. We introduce Distilled Matryoshka Sparse Autoencoders (DMSAEs), a training pipeline that distills a compact core of consistently useful features and reuses it to train new SAEs. DMSAEs run an iterative distillation cycle: train a Matryoshka SAE with a shared core, use gradient X activation to measure each feature's contribution to next-token loss in the most nested reconstruction, and keep only the smallest subset that explains a fixed fraction of the attribution. Only the core encoder weight vectors are transferred across cycles; the core decoder and all non-core latents are reinitialized each time. On Gemma-2-2B layer 12 residual stream activations, seven cycles of distillation (500M tokens, 65k width) yielded a distilled core of 197 features that were repeatedly selected. Training using this distilled core improves several SAEBench metrics and demonstrates that consistent sets of latent features can be transferred across sparsity levels

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

↑