Anyuan Zhuo, Shaohua Zhang, Yuan Lin, Pinyan Lu
8 min
Mixture-of-Experts (MoE) architectures improve scalability by routing tokens to a subset of specialized experts. However, it remains unclear whether these experts truly specialize in human-understandable domains, as previous methods relied on coarse, analyst-defined taxonomy and simple token-counting heuristics. This paper investigates the actual functional specialization of experts by analyzing their contributions in the feature space of the model's own internal representations.
The authors train sparse autoencoders (SAEs) on the outputs of MoE layers. Because the MoE layer output is a router-weighted sum of expert outputs and the SAE encoder is affine, the activation of any latent feature can be decomposed exactly into contributions from individual experts. By aggregating these contributions over a large corpus, the researchers construct a dominance graph that maps which experts principally drive the activation of specific latents. They then use an automated interpretation pipeline (GPT-5.5) to label these sets of dominated latents, revealing the specific, fine-grained tasks for which each expert is responsible.
The analysis reveals that expert contributions are highly concentrated: most latent features are driven by only one or two experts. When these dominant sets are interpreted, it becomes clear that experts specialize well below the level of broad domains. For example, within the code domain, the model distinguishes between experts specialized in Java, front-end web development, or specific programming algorithms. The experts are not mere generalists; they exhibit meaningful, interpretable, and distinct roles. Furthermore, the allocation of these experts across domains is non-uniform, with more experts assigned to categories that occupy larger portions of the training data.
This study moves beyond anecdotal or coarse-grained observations to provide a rigorous, data-driven understanding of how MoE models organize knowledge. By mapping expert roles through their feature-space contributions rather than external labels, the authors provide a framework for future research in expert pruning, targeted model editing, and understanding the relationship between pretraining data composition and architectural specialization.
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.
Alex: Learning features isn't the same as knowing which expert produced them. How do they connect the two?
Sam: Here's the central move. The layer output is a weighted sum of expert outputs. Before the autoencoder selects its active features, its encoder applies a linear transformation plus a bias. That lets the authors separate each expert's term exactly.
Alex: So the exact part is the accounting inside that encoder. It doesn't mean every learned feature is a perfect description of the model.
Sam: Correct. The exact decomposition is of feature pre-activation, including the encoder bias. The later contribution statistics keep only positive expert contributions. Negative effects can suppress a feature entirely, leaving it unobserved, so the authors avoid statistics that would selectively miss those cases.
Alex: That makes this an account of who positively drives observed features, rather than a complete account of suppression. How does it become an expert profile?
Sam: For each active feature at each token, they calculate the experts' shares of positive contribution. They aggregate across the corpus and normalize across experts. An expert's dominant set contains the features for which its share clears their chosen threshold.
Alex: Before we interpret those sets, could concentrated contributions simply reflect the router giving one expert a larger weight?
Sam: They test that by comparing ranked router weights against ranked contribution shares. At the middle-late layer, the largest contribution averages about 51 percent. The largest router weight averages about 23 percent. These are rank averages, not a claim that one particular expert always leads.
Alex: So the router spreads weight more evenly than the features' positive contributions are spread. Does that pattern survive beyond that layer?
Sam: They see the same pattern at shallow and deep positions too. The statistics use a held-out validation corpus of about one and a half billion tokens. It follows the autoencoder training distribution, but contains no overlapping data.
Alex: Keeping only positive contributions could itself make the distribution steeper. Do they check that concern?
Sam: They do. Most selected experts retain positive contributions, so truncation is mild rather than the main source of concentration. Across the analyzed layers, most features have only one or two dominant experts. Every expert still dominates some features; a few hubs don't absorb everything.
Alex: That establishes concentrated responsibility. What makes the responsibilities human-interpretable, rather than just different collections of anonymous features?
Sam: For the semantic analysis, they focus on the middle-late layer. GPT-5.5 explains sampled features using activating text contexts and estimated effects on output-token scores. The authors then inspect and summarize those explanations expert by expert.
Alex: Give us one example where looking at the feature adds something that looking at routed words would miss.
Sam: One feature activates at the less-than-or-equal operator in a binary search. Its explanation is “Binary search loop condition.” A routed-token summary would show the operator, without telling you that it belongs to binary search. The surrounding context supplies the distinction.
Alex: And for the Java example, is the specialty actually concentrated, or just a suggestive label?
Sam: About 87 percent of sampled explanations from that expert's dominant set were judged Java-related. For a sample pooled from the other experts, it was about two percent. Both judgments came from GPT-5.5, so this isn't independent human validation.
Alex: What other distinctions support the claim that these are specialties below the usual domain labels?
Sam: The front-end expert has features about browser events, style selectors, and responsive layouts. Within mathematics, another split separates geometry from arithmetic and polynomial computation. But not every expert has a single tidy theme: one combines algorithms with exercise and health.
Alex: So the claim isn't that the model reproduces a university department structure. What happens when they group these expert descriptions more broadly?
Sam: The groups are uneven. Computing and mathematical reasoning take a large share, while text structure, language, and identifiers also occupy substantial territory. Those latter groups aren't simply subject areas. The authors suggest training-data composition could explain some imbalance, but the model's training mixture isn't disclosed.
Alex: Where would you draw the main boundary around the evidence?
Sam: The learned features remain imperfect. The autoencoder leaves reconstruction error, and a feature can split across latents or be absorbed into another. Also, this is one model on the authors' chosen corpus, not the model's original training data. The algebra is exact; the resulting portrait isn't exhaustive.
Alex: Would this justify deleting supposedly redundant experts, or should readers treat that as a future experiment?
Sam: A future experiment. The authors propose testing whether removing or editing an expert mainly affects its dominant features. They don't establish that intervention result here.
Alex: Who should read the full document, and where would you send them first?
Sam: Researchers in interpretability and expert routing should start with the contribution construction in the Method section. Then read “Contribution is more concentrated than gating” for the crucial comparison, and Appendix A for the limitations. The expert-labeling section shows both the recognizable specialties and the automated judgments behind them.
Alex: And what's the one line for everyone who doesn't need the machinery?
Sam: Being selected isn't the same as contributing, and an expert's specialty may be narrower than its domain.
Alex: Keep that distinction in mind when reading the next routing result.