[Paper Review] What Gets Activated: Uncovering Domain and Driver Experts in MoE Language Models
The paper introduces entropy-based and causal-effect metrics to identify domain and driver experts in MoE language models, analyzes token-trigger patterns, and shows that adjusting domain/driver expert weights can boost performance across three MoE LLMs and three domains.
Most interpretability work focuses on layer- or neuron-level mechanisms in Transformers, leaving expert-level behavior in MoE LLMs underexplored. Motivated by functional specialization in the human brain, we analyze expert activation by distinguishing domain and driver experts. In this work, we study expert activation in MoE models across three public domains and address two key questions: (1) which experts are activated, and whether certain expert types exhibit consistent activation patterns; and (2) how tokens are associated with and trigger the activation of specific experts. To answer these questions, we introduce entropy-based and causal-effect metrics to assess whether an expert is strongly favored for a particular domain, and how strongly expert activation contributes causally to the model's output, thus identify domain and driver experts, respectively. Furthermore, we explore how individual tokens are associated with the activation of specific experts. Our analysis reveals that (1) Among the activated experts, some show clear domain preferences, while others exert strong causal influence on model performance, underscoring their decisive roles. (2) tokens occurring earlier in a sentence are more likely to trigger the driver experts, and (3) adjusting the weights of domain and driver experts leads to significant performance gains across all three models and domains. These findings shed light on the internal mechanisms of MoE models and enhance their interpretability.
Motivation & Objective
- Motivate interpretability of MoE-based LLMs beyond layer/neuron-level analysis by focusing on expert-level activation.
- Define domain experts as domain-specialized routers and driver experts as causally influential routers.
- Develop entropy-based and causal-effect metrics to identify domain and driver experts across multiple MoE LLMs and domains.
- Investigate how tokens trigger specific experts and how adjusting expert weights impacts performance.
Proposed method
- Define domain and driver experts inspired by neuroscience as specialized and causally influential MoE experts.
- Create domain-specific activation entropy H_i(D_j) and activation rate A_i(D_j) to compute Certainty-Weighted Activation Score S_i(D_j).
- Estimate driver expert causal effect by perturbing gating logits and measuring output change via KL divergence between P(X) and Q(X).
- Use Top-k routing with binary simplifications to compute domain activation and employ Pearl-inspired causal graphs for mediator analysis.
- Evaluate on three MoE LLMs (Mixtral, DeepSeek-MoE, Qwen-MoE) across three domains (SA, MMLU, Math) and analyze token–expert mapping.
- Examine effects of up-weighting/down-weighting domain/driver experts and fine-tuning the router with LoRA to assess performance gains.
Experimental results
Research questions
- RQ1Which experts are activated across MoE LLMs and domains, and do certain types show consistent activation patterns?
- RQ2How are tokens associated with and able to trigger activation of specific domain/driver experts?
- RQ3Do domain- and driver-expert activations causally influence model outputs, and can adjusting their routing weights improve performance?
- RQ4Are early tokens more influential in activating driver/domain experts, and what tokens characterize domain vs driver activations?
Key findings
- General experts dominate activations across domains, while domain and driver experts form a minority but are more impactful in SA and Math domains.
- Driver experts tend to reside in middle layers and increase their causal influence mid-network; among the three models, DeepSeek shows the strongest causal sensitivity.
- Up-weighting domain or driver experts yields consistent performance gains across SA and Math domains and across all three models; down-weighting reduces performance, especially when driver experts are diminished.
- Tokens earlier in a sentence are more likely to activate driver experts, indicating a token-position effect on expert routing.
- Representative domain and driver tokens vary by domain (e.g., SA uses sentiment/ 情境 cues; Math uses operation terms), revealing distinct token–expert associations that can guide task-aware routing strategies.
- Across models and domains, adjusting expert weights can yield measurable accuracy/F1 gains (e.g., 2.08% average accuracy for domain experts and 3.00% average accuracy for driver experts as noted in the abstract).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.