2026-11-06 · 专家 · 自然语言处理 · 机器学习

SAE Interprets MoE: Sparse AutoEncoders Reveal That MoE Experts Exhibit Human-Interpretable Fine-Grained Specialization

这篇论文通过训练稀疏自动编码器(SAE)来分析MoE模型中的专家特殊化,揭示了MoE专家在特征空间中表现出可解释的细粒度专业化。

更新于 2026-11-30。作者:Anyuan Zhuo、Shaohua Zhang、Yuan Lin、Pinyan Lu。

中文摘要

混合专家(MoE)模型将每个标记路由到众多专家中的一小部分,但单个专家负责的内容仍不明确。现有的分析通过在领域标注语料库上统计专家被选中的频率,这种工具预先固定了分类法,比较粗略,并记录了选择而不是贡献。我们则通过在MoE层的输出上训练一个稀疏自编码器(SAE)来研究特征空间中的专业化。由于这个输出是专家输出的路由加权总和,而SAE编码器是仿射的,每个潜在特征的预激活正好分解到专家上。在整个语料库上汇总,这为每个专家提供了一组占主导地位的潜在特征,其激活主要由这些专家驱动。在Qwen3-30B-A3B的第4层、第30层和第46层,贡献远比门控更集中,大多数潜在特征只有一个或两个主导者,而主导集的重叠主要集中在少数专家对上。自动解释这些集合并揭示,在粗略领域之下存在着劳动分工,不同的专家负责Java和前端网页代码,或几何、算术和多项式,而粗略领域本身则拥有非常不平等数量的专家。我们的SAEs和代码可在https://github.com/Bytedance-Seed/SAE-Interprets-MoE上找到。

英文摘要

Mixture-of-Experts (MoE) models route each token to a few of many experts, yet what an individual expert is responsible for remains unsettled. Existing analyses count how often an expert is selected on domain-labeled corpora, an instrument that fixes the taxonomy in advance, stays coarse, and records selection rather than contribution. We instead study specialization in feature space by training a sparse autoencoder (SAE) on the output of an MoE layer. Since this output is a router-weighted sum of expert outputs and the SAE encoder is affine, the pre-activation of every latent decomposes exactly over the experts. Aggregated over a corpus, this gives each expert a dominant set of latents whose activation it principally drives. On layers 4, 30 and 46 of Qwen3-30B-A3B, contribution is far more concentrated than gating, most latents have only one or two dominators, and the overlap between dominant sets concentrates on a few expert pairs. Auto-interpreting these sets reveals a division of labor below coarse domains, with distinct experts for Java and front-end web code, or for geometry and for arithmetic and polynomials, while the coarse domains themselves take very unequal numbers of experts. Our SAEs and code are available at https://github.com/Bytedance-Seed/SAE-Interprets-MoE.

解读

一句话总结

这篇论文通过训练稀疏自动编码器(SAE)来分析MoE模型中的专家特殊化,揭示了MoE专家在特征空间中表现出可解释的细粒度专业化。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源