Sparsity and Superposition in Mixture of Experts
Marmik Chaudhari, Jeremi Nuer, Rome Thorstenson
TL;DR
This work addresses the mechanistic interpretability of mixtures of experts (MoEs) by examining how network sparsity and routing influence feature representation. By extending a toy framework to MoEs, it introduces measures of feature capacity and monosemanticity, showing MoEs exhibit smoother transitions and reduced global interference compared to dense models, with greater monosemanticity as sparsity increases. A key contribution is a feature-based notion of expert specialization, demonstrated when initialization guides experts to monosemantic representations of coherent feature sets and occupy distinct regions of input space. The findings suggest that network sparsity can enable more interpretable MoEs without sacrificing performance in controlled settings, challenging the idea that interpretability and capability are inherently at odds, while acknowledging the need to validate these patterns in large-scale, realistic transformers.
Abstract
Mixture of Experts (MoE) models have become central to scaling large language models, yet their mechanistic differences from dense networks remain poorly understood. Previous work has explored how dense models use \textit{superposition} to represent more features than dimensions, and how superposition is a function of feature sparsity and feature importance. MoE models cannot be explained mechanistically through the same lens. We find that neither feature sparsity nor feature importance cause discontinuous phase changes, and that network sparsity (the ratio of active to total experts) better characterizes MoEs. We develop new metrics for measuring superposition across experts. Our findings demonstrate that models with greater network sparsity exhibit greater \emph{monosemanticity}. We propose a new definition of expert specialization based on monosemantic feature representation rather than load balancing, showing that experts naturally organize around coherent feature combinations when initialized appropriately. These results suggest that network sparsity in MoEs may enable more interpretable models without sacrificing performance, challenging the common assumption that interpretability and capability are fundamentally at odds.
