Mixture-of-Experts (MoE) models route each token to a few of many experts, yet what an individual expert is responsible for remains unsettled. Prior analyses count how often each expert is selected on domain-labeled corpora. However, such labels impose a coarse taxonomy in advance, and selection frequency ignores how much an expert actually contributes. We instead introduce a general framework for analyzing specialization in feature space by training a sparse autoencoder (SAE) on the output of any MoE layer. Because this output is a router-weighted sum of expert outputs and the SAE encoder is affine, each latent's pre-activation decomposes into exact per-expert contributions. Aggregating these contributions over a corpus gives each expert a dominant set of latents that it primarily drives. Applying this framework to layers 4, 30 and 46 of Qwen3-30B-A3B, we find that expert contributions are far more concentrated than gating weights, and most latents are dominated by only one or two experts. Across experts, dominant sets are largely disjoint. Auto-interpreting these sets reveals a hierarchical division of labor. At a coarse level, experts cluster into domains of very unequal sizes, led by code, mathematics and text formatting. Within each domain, individual experts specialize in distinct subfields, such as Java versus front-end web code, or geometry versus arithmetic and polynomials. Finally, substantial feature overlap occurs almost exclusively between neighboring subfields of the same domain. Our project page is at https://bytedance-seed.github.io/SAE-interprets-MoE/, where we provide open-source code and links to the SAE models.
翻译:暂无翻译