Do Domain-specific Experts exist in MoE-based LLMs?
Organizations: Applied Artificial Intelligence Intiative (A2I2), Deakin University
Abstract
In the era of Large Language Models (LLMs), the Mixture of Experts (MoE) architecture has emerged as an effective approach for training extremely large models with improved computational efficiency. This success builds upon extensive prior research aimed at enhancing expert specialization in MoE-based LLMs. However, the nature of such specializations and how they can be systematically interpreted remain open research challenges. In this work, we investigate this gap by posing a fundamental question: Do domain-specific experts exist in MoE-based LLMs? To answer the question, we evaluate ten advanced MoE-based LLMs ranging from 3.8B to 120B parameters and provide empirical evidence for the existence of domain-specific experts. Building on this finding, we propose Domain Steering Mixture of Experts (DSMoE), a training-free framework that introduces zero additional inference cost and outperforms both well-trained MoE-based LLMs and strong baselines, including Supervised Fine-Tuning (SFT). Experiments on four advanced open-source MoE-based LLMs across both target and non-target domains demonstrate that our method achieves strong performance and robust generalization without increasing inference cost or requiring additional retraining. Our implementation is publicly available at https://github.com/giangdip2410/Domain-specific-Experts.
Figures & tables
| Question | There exist real numbers and , both greater than 1, such that . Find . |
|---|---|
| Baseline (GPT-OSS-20B) | Response: We need to solve for . […] Equation (1): . Equation (2): . We can attempt to solve for . From (I): . Plug into (II): . That seems messy. Alternatively, divide (I) by (II): . […] We can attempt to solve for numerically. Let’s try , , … [loops through 20+ numerical guesses]. So left side negative until , right side positive. So no crossing? So equality cannot hold. Predicted Answer: 0 (Incorrect) |
| DSMoE (Ours) | Response: We have and . Let . Equations: and . Dividing equations leads to . […] Let’s attempt to find integer solution for . Suppose . We have . Solving numerically for with sum : . We find . Checking second equation: . Left side: . Right side: . Very close. So indeed solves both. So is consistent. Predicted Answer: 25 (Correct) |
| Domain | Orig. | RICE | SFT | DSMoE | +/- |
|---|---|---|---|---|---|
| Qwen3-30B-Instruct | |||||
| Math | 85.0 | 85.9 | 85.4 | 86.3 | +1.3 |
| Biology | 87.6 | 87.0 | 87.9 | 88.6 | +1.0 |
| Physics | 78.1 | 79.1 | 78.8 | 80.0 | +1.8 |
| Chemistry | 76.2 | 77.7 | 77.1 | 78.3 | +2.0 |
| Average | 81.7 | 82.4 | 82.3 | 83.3 | +1.5 |
| Domain | Orig. | RICE | SFT | DSMoE | +/- |
|---|---|---|---|---|---|
| Qwen3-30B-Instruct | |||||
| Biology | 68.4 | 47.4 | 63.2 | 73.7 | +5.3 |
| Physics | 70.9 | 70.9 | 74.4 | 76.7 | +5.8 |
| Chemistry | 53.8 | 45.2 | 41.9 | 58.1 | +4.3 |
| Average | 64.4 | 54.5 | 59.8 | 69.5 | +5.1 |
| GPT-OSS-120B | |||||
| Dataset | Orig. | RICE | SFT | DSMoE | +/- |
|---|---|---|---|---|---|
| Qwen3-30B-Instruct | |||||
| AIME 24 | 56.7 | 63.3 | 63.3 | 70.0 | +13.3 |
| AIME 25 | 46.7 | 46.7 | 50.0 | 60.0 | +13.3 |
| GPT-OSS-20B | |||||
| AIME 24 | 50.0 | 56.7 | 56.7 | 77.3 | +27.3 |
| AIME 25 | 66.3 | 46.7 | 60.0 | 78.6 | +12.3 |
| Domain | Method | GPT-OSS-20B | |
|---|---|---|---|
| 0 | Biology | Original | 76.4 |
| 5 | DSMoE | 73.6 | |
| 10 | 73.3 | ||
| 20 | 78.7 | ||
| 30 | 77.4 | ||
| 50 | 74.1 |
| Domain | Method | GPT-OSS-20B | |
|---|---|---|---|
| – | Biology | Original | 76.4 |
| 0.1 | DSMoE | 77.0 | |
| 0.5 | 76.3 | ||
| 5.0 | 78.7 | ||
| 10.0 | 77.0 | ||
| 50.0 | 68.0 |
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Params | Active | Experts | Top- | Layers | HuggingFace Model ID |
|---|---|---|---|---|---|---|
| (B) | (B) | ( ) | ||||
| PhiMoE-Tiny | 3.8 | 1.1 | 16 | 2 | 32 | microsoft/Phi-tiny-MoE-instruct |
| OLMoE | 7.0 | 1.0 | 64 | 8 | 16 | allenai/OLMoE-1B-7B-0924 |
| Qwen1.5-MoE | 14.3 | 2.7 | 60 | 4 | 24 | Qwen/Qwen1.5-MoE-A2.7B |
| DeepSeek-MoE | 16.0 | 2.8 | 64 | 6 | 28 | deepseek-ai/deepseek-moe-16b-base |
| GPT-OSS-20B | 20.0 | 3.6 | 32 | 4 | 24 | openai/gpt-oss-20b |
| Benchmark | Domain | Size | Description |
|---|---|---|---|
| MMLU-Pro | STEM, Law, etc. | 12K | 10-choice questions; minimizes random guessing |
| GPQA Diamond | Biology, Physics, Chemistry | 198 | PhD-level difficulty; 65% expert accuracy |
| AIME | Mathematics | 30 | Competition-level; integer answers (0-999) |
Mixture-of-Experts Language Models
Mixture-of-Experts language models use input-dependent routing to activate a small subset of expert networks, increasing capacity without proportional compute.
See all 225 papers