The Expert Strikes Back: Interpreting Mixture-of-Experts Language Models at Expert Level
Organizations: Department of Informatics, University of Hamburg, Hamburg, Germany.
Abstract
Mixture-of-Experts (MoE) architectures have become the dominant choice for scaling Large Language Models (LLMs), activating only a subset of parameters per token. While MoE architectures are primarily adopted for computational efficiency, it remains an open question whether their sparsity makes them inherently easier to interpret than dense feed-forward networks (FFNs). We compare MoE experts and dense FFNs using -sparse probing and find that expert neurons are consistently less polysemantic, with the gap widening as routing becomes sparser. This suggests that sparsity pressures both individual neurons and entire experts toward monosemanticity. Leveraging this finding, we zoom out from the neuron to the expert level as a more effective unit of analysis. We validate this approach by automatically interpreting hundreds of experts. This analysis allows us to resolve the debate on specialization: experts are neither broad domain specialists (e.g., biology) nor simple token-level processors. Instead, they function as fine-grained task experts, specializing in linguistic operations or semantic tasks (e.g., closing brackets in ). Our findings suggest that MoEs are inherently interpretable at the expert level, providing a clearer path toward large-scale model interpretability. Code is available at: https://github.com/jerryy33/MoE_analysis.
Figures & tables
| Category | Functional Role | Representative Expert | Label | Target Tokens / Contexts |
|---|---|---|---|---|
| Morphological | Morphology & Tokenization | OLMoE-L1-E57 | Chemical & Biological suffixes | - amine , - ine , - ium , - ase |
| Syntactic | Syntax & Grammar | ERNIE-L15-E0 | Syntactic Coordination | and , or , that , to , for |
| Semantic | Domain knowledge | OLMoE-L4-E3 | Patent/Legal citations | Case v. State , U.S. , claim , Pat. |
| Operational | Structural validity & formatting constraints | OLMoE-L15-E17 | Closing L a T e X environments | \end{...} , \mathbf{b} , \sqrt{q} |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | # Layers | FFN/Expert dim | FFN/Expert Style | |||
|---|---|---|---|---|---|---|
| OLMo-1B | - | - | - | 16 | 8192 | SwiGLU |
| OLMo-7B | - | - | - | 32 | 11008 | SwiGLU |
| LLama-3.2-3B | - | - | - | 28 | 8192 | SwiGLU |
| Qwen3-4B-Base | - | - | - | 36 | 9728 | SwiGLU |
| Ministral-3-3B | - | - | - | 26 | 9216 | SwiGLU |
| pythia-12b | - | - | - | 36 | 20480 | GELU |
| Category | Dataset | Total Concepts |
|---|---|---|
| Part-of-Speech | POS tagged Wikipedia (simple spacy subset) | 16 |
| L a T e X | pile-uncopyrighted (ArXiv subset) | 12 |
| code | pile-uncopyrighted (Github subset) | 20 |
| text | pile-uncopyrighted (All subsets) | 10 |
| Dataset | Concepts |
|---|---|
| Part-of-Speech | adjective , adposition , adverb , auxiliary , coordinating conjunction , determiner , noun , numeral , particle , pronoun , proper noun , punctuation , subordinating conjunction , symbol , verb , other |
| L a T e X | is_superscript , is_subscript , is_inline_math , is_display_math , is_math , is_denominator , is_numerator , is_frac , is_author , is_title , is_reference , is_abstract |
| code | is_function_def , is_function_call , is_assignment , is_class_def , is_import , is_comment , is_string_literal , is_control_flow , is_loop , is_conditional , is_exception_handling , is_array_literal , is_method_call , is_lambda , is_operator , is_constant , is_boolean , is_null , is_decorator , is_async , |
| text | leading_capital , leading_loweralpha , all_digits , is_not_ascii , contains_all_whitespace , all_capitals , is_not_alphanumeric , contains_whitespace , contains_capital , contains_digit |
| k | Cluster ID | Cluster Name | Token Examples |
|---|---|---|---|
| 10 | 0 | Subword stems | analys, synth, correl, estim, walked, argued, incre, determ |
| 50 | 10 | 3-digit numbers | 199, 128, 125, 255, 999, 509 |
| 100 | 65 | All-caps subword n-grams | ER, IN, AT, ST, CON, AND, AAAA |
| 1000 | 475 | Economic terminology | econom, economic, capitalism, shortages, capital, recession |
| 1000 | 108 | Computers, software, and digital technology | software, simulation, programming, desktop, online, laptop |
| 5000 | 570 | GPU, shaders and textures | texture, GPU, gpu, Shader, TEXTURE, textures |
| k | Routing Specialization (input) | Functional Specialization (output) |
|---|---|---|
| 10 | 0.012 | 0.049 |
| 50 | 0.026 | 0.111 |
| 100 | 0.031 | 0.136 |
| 1000 | 0.051 | 0.294 |
| 5000 | 0.065 | 0.349 |
| k | Routing Specialization (input) | Functional Specialization (output) |
|---|---|---|
| 10 | 0.028 | 0.106 |
| 50 | 0.054 | 0.146 |
| 100 | 0.060 | 0.156 |
| 1000 | 0.097 | 0.332 |
| 5000 | 0.102 | 0.417 |
| k | Routing Specialization (input) | Functional Specialization (output) |
|---|---|---|
| 10 | 0.112 | 0.033 |
| 50 | 0.122 | 0.049 |
| 100 | 0.165 | 0.056 |
| 1000 | 0.186 | 0.091 |
| 5000 | 0.176 | 0.130 |
| ERNIE-4.5-21B-A3B | |||
|---|---|---|---|
| L-E | Label | L-E | Label |
| L4-E0 | Activates on specific keywords used in configuration, header files, and build constraints. | L4-E1 | Sub-word segments within technical, medical, and programming-related multi-token terms. |
| L4-E2 | Syntactic delimiters and numerical separators in code, math, and metadata formats. | L4-E3 | Scientific suffixes and technical word fragments in biology, coding, and linguistics. |
| L4-E4 | Sub-word segments within chemical, geological, and alphanumeric identifiers. | L4-E5 | Mid-word tokens within multisyllabic proper nouns and specialized technical terms. |
| L4-E6 | Software components, methods, and types containing common suffixes like View, Table, or Tag. | L4-E7 | Syntactic punctuation and internal word segments in structured data and categories. |
| L4-E8 | Activates on initial nouns and punctuation in structured text or lists. | L4-E9 | Mid-word sub-tokens in multisyllabic scientific, geographical, and proper nouns. |
| OLMoE-1B-7B | |||
|---|---|---|---|
| L-E | Label | L-E | Label |
| L1-E0 | Adjectival and adverbial suffixes in technical, medical, and scientific terminology. | L1-E1 | Tokens forming the suffixes of identifiers, proper names, and code-based variables. |
| L1-E2 | Mid-word and terminal suffixes within proper nouns, brands, and technical terms. | L1-E3 | Common word endings and suffixes, particularly those in scientific and proper nouns. |
| L1-E4 | Mid-word and terminal morphemes in technical, scientific, and multi-part proper nouns. | L1-E5 | Mid-word tokens and proper noun components across various specialized domains. |
| L1-E6 | Sub-word segments within proper nouns, surnames, and specialized terminology. | L1-E7 | Mid-word tokens within proper nouns, specialized terminology, or technical abbreviations. |
| L1-E8 | Mid-word tokens within proper nouns, technical terms, and complex identifiers. | L1-E9 | Activates on articles ’a’, ’an’, and ’the’ to predict list continuations. |
| Qwen3-30B-A3B | |||
|---|---|---|---|
| L-E | Label | L-E | Label |
| L4-E0 | Common multi-word idiomatic phrases and logical connectors. | L4-E1 | Scientific and technical compound terms, especially those involving hyphens or multi-token suffixes. |
| L4-E2 | Alphanumeric identifiers within biological, chemical, or technical nomenclature. | L4-E3 | Activates on common camelCase and PascalCase identifiers in code across multiple languages. |
| L4-E4 | Procedural action verbs and directional prepositions in instructional or technical contexts. | L4-E5 | Technical terms and specialized jargon followed by their abbreviations or suffixes. |
| L4-E6 | Mid-word tokens within complex medical, chemical, and scientific terminology. | L4-E7 | Japanese proper nouns, including place names, surnames, and Romanized cultural terms. |
| L4-E8 | Romanized Chinese names, geographical locations, and historical dynastic terms. | L4-E9 | Activates on specific nouns and components of fruits, vegetables, and foodstuffs. |