arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.05745cs.LGcs.AI
收藏

超越冗余:多样化与专业化的多专家稀疏自编码器

Beyond Redundancy: Diverse and Specialized Multi-Expert Sparse Autoencoder

Zhen Xu, Zhen Tan, Song Wang, Kaidi Xu, Tianlong Chen

AI总结:

本文针对 MoE-SAE 中专家缺乏专业化、特征冗余的问题,提出 Multiple Expert Activation 和 Feature Scaling 两种机制,显著降低重建误差与特征冗余,兼顾 LLM 可解释性与计算效率。

摘要:

稀疏自编码器(SAEs)已成为解释大语言模型(LLMs)的强大工具,其通过将 token 激活分解为人类可理解特征的组合来实现。尽管 SAEs 为 LLM 解释提供了关键洞见,但其实际应用面临一个根本性挑战:更好的可解释性要求 SAEs 的隐藏层具有高维度以满足稀疏性约束,从而导致难以承受的训练和推理成本。最近的 Mixture of Experts(MoE)方法试图通过将 SAEs 划分为更窄的专家网络并使用门控激活来降低计算量,从而解决这一问题。在一个设计良好的 MoE 中,每个专家应专注于学习一组不同的特征。然而,我们发现 MoE-SAE 存在一个关键局限:专家往往无法实现专业化,这意味着它们经常学习重叠或相同的特征。为了解决这一问题,我们提出了两项关键创新:(1)Multiple Expert Activation,同时激活语义加权的专家子集以鼓励专业化;(2)Feature Scaling,通过自适应高频缩放增强多样性。实验表明,与现有 MoE-SAE 方法相比,重建误差降低了 24%,特征冗余减少了 99%。这项工作弥合了 LLM 分析中可解释性与效率之间的差距,在不牺牲计算可行性的前提下实现透明的模型检查。

英文摘要:

Sparse autoencoders (SAEs) have emerged as a powerful tool for interpreting large language models (LLMs) by decomposing token activations into combinations of human-understandable features. While SAEs provide crucial insights into LLM explanations, their practical adoption faces a fundamental challenge: better interpretability demands that SAEs' hidden layers have high dimensionality to satisfy sparsity constraints, resulting in prohibitive training and inference costs. Recent Mixture of Experts (MoE) approaches attempt to address this by partitioning SAEs into narrower expert networks with gated activation, thereby reducing computation. In a well-designed MoE, each expert should focus on learning a distinct set of features. However, we identify a \textit{critical limitation} in MoE-SAE: Experts often fail to specialize, which means they frequently learn overlapping or identical features. To deal with it, we propose two key innovations: (1) Multiple Expert Activation that simultaneously engages semantically weighted expert subsets to encourage specialization, and (2) Feature Scaling that enhances diversity through adaptive high-frequency scaling. Experiments demonstrate a 24\% lower reconstruction error and a 99\% reduction in feature redundancy compared to existing MoE-SAE methods. This work bridges the interpretability-efficiency gap in LLM analysis, allowing transparent model inspection without compromising computational feasibility.

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

↑