Summary
- Core Contribution: This paper introduces Expert-Space Exploration Reinforcement Learning (ESRL), a novel framework that explicitly explores the expert-routing space of Mixture-of-Experts (MoE) models during RL training—a dimension previously treated as a fixed architectural component. ESRL perturbs router logits to activate alternative computation paths, increasing rollout diversity beyond conventional token-level sampling.
- Key Mechanism: ESRL combines three components: (1) entropy-adaptive noise scaling that adjusts perturbation strength based on router confidence, (2) anchored expert sampling that preserves high-confidence experts while exploring plausible alternatives, and (3) routing replay that maintains consistency between rollout and training phases.
- Empirical Results: ESRL achieves consistent improvements across three different MoE architectures (top-K, top-1, and shared-expert routing) and multiple task domains. On Qwen3-30B-A3B, it improves average Pass@1 and Pass@8 over GRPO by 3.2 and 4.5 percentage points respectively on mathematical benchmarks.
- Key Finding: Direct routing perturbation increases diversity but can degrade quality by activating unsuitable experts; ESRL's controlled exploration strikes the optimal balance, maintaining higher informative-group ratios and better expert-load balance throughout training.
- Generalization: ESRL generalizes beyond mathematics to science (GPQA, MMLU-Pro) and code (LiveCodeBench) domains, with particularly large gains on science benchmarks where Pass@8 improves by up to 23.3 percentage points.
Introduction and Theoretical Foundation
Background and Motivation
Reinforcement learning has become central to post-training large language models (LLMs), particularly for enhancing reasoning capabilities in mathematics and code generation. Recent advances in RL for MoE models have focused on optimization stability and training efficiency while treating expert selection as a fixed architectural component. However, the paper identifies a critical gap: since token-dependent routing determines the sparse computation paths that induce output distributions, expert selection offers an additional source of rollout diversity beyond conventional token-level sampling.
Theoretical Foundation
The paper builds on two key theoretical observations:
-
MoE Routing Structure: Each token in an MoE model is dynamically routed to a sparse set of experts whose computation determines the resulting next-token distribution. Standard top-K routing is deterministic—the same prefix repeatedly activates the same experts, leaving alternative routing paths unexplored.
-
Group Relative Policy Optimization (GRPO): GRPO replaces the learned value model with group-relative advantage estimation. For a group of G trajectories, the advantage is calculated as:
The paper argues that insufficient trajectory and reward diversity weakens the advantage signal—a critical limitation when exploration is confined to token-level sampling.
Key Empirical Motivations
Through multi-level empirical analysis, the authors establish:
-
Routing perturbation changes expert assignments: Increasing noise scale σ increases expert change rates and decreases Jaccard similarity between perturbed and unperturbed top-K sets.
-
Routing changes propagate to output: The top-1 token under standard routing receives progressively lower rank under perturbed logits as σ increases.
-
Temperature-like diversity trade-off: Routing perturbation reduces Self-BLEU (increases diversity) but can degrade quality if unconstrained.
Methodology
ESRL Framework Overview
ESRL consists of three core components that work together during the RL rollout and training phases:
1. Adaptive Noise Adjustment
The perturbation strength is adapted based on the entropy of the original routing distribution. For token at layer :
- Normalize router logits over all routed experts:
- Compute normalized router entropy:
- Determine noise scale:
A sharp router distribution (low entropy) receives stronger perturbation, while an already uncertain router receives weaker perturbation.
2. Anchored Expert Sampling
To prevent quality degradation from poorly matched experts, ESRL divides the K activated experts into:
- Anchored experts (): Selected via Top-K from original logits, preserving high-confidence computation paths
- Exploratory experts (): Selected from a candidate pool of experts with added Gaussian noise
The anchored set is:
The exploratory candidate pool:
Noise is added: where
Importantly, perturbed logits are used only for expert selection—aggregation weights are computed from original router logits:
3. Rollout Routing Replay
During rollout, ESRL records the complete expert activation path:
During optimization, the Top-K operation is bypassed and the recorded rollout expert sets are replayed, with gating weights recomputed from current router logits:
The GRPO objective with routing replay:
Experimental Setup
- Models tested: Qwen3-30B-A3B-Base (8 of 128 experts), Sigma-20B-A0.5B (1 expert), Moonlight-16B-A3B (6 of 64 experts with 2 shared)
- Training data: Math dataset (Hendrycks et al., 2021), NVIDIA Nemotron-RL-knowledge-mcqa, code dataset
- Baselines: GRPO, GSPO, GRPO-R3, Aux-Loss, N-Sampling, RO-GRPO
- Evaluation benchmarks: OlympiadBench, AIME-2024, AMC, MinervaMath (math); GPQA, MMLU-Pro, MMLU-Redux, LiveCodeBench v6 (science/code)
Empirical Validation / Results
Main Results on Mathematical Reasoning
Table 1: Evaluation results on mathematical reasoning benchmarks (Pass@1 / Pass@8)
| Model | Method | OlympiadBench | AIME | AMC | MinervaMath | Average |
|---|---|---|---|---|---|---|
| Qwen3-30B-A3B | GRPO | 51.2/70.2 | 21.9/43.1 | 41.9/72.8 | 40.8/52.6 | 38.9/59.7 |
| ESRL | 53.5/72.7 | 24.4/52.9 | 49.6/78.3 | 41.0/52.9 | 42.1/64.2 | |
| Δ | +2.3/+2.5 | +2.5/+9.8 | +7.7/+5.4 | +0.1/+0.4 | +3.2/+4.5 | |
| Sigma-20B-A0.5B | GRPO | 27.7/51.0 | 6.3/15.4 | 19.8/44.6 | 27.7/43.4 | 20.4/38.6 |
| ESRL | 28.0/49.6 | 7.5/18.0 | 20.9/50.0 | 28.0/47.4 | 21.1/41.3 | |
| Moonlight-16B-A3B | GRPO | 39.2/59.2 | 11.7/28.8 | 30.7/56.5 | 28.5/45.2 | 27.5/47.4 |
| ESRL | 39.6/61.4 | 12.8/31.2 | 31.8/62.0 | 31.0/49.3 | 28.8/51.0 |
Results on Science and Code Benchmarks
Table 2: Results on science and code benchmarks (Qwen3-30B-A3B)
| Method | GPQA | MMLU-Pro | MMLU-Redux | LiveCodeBench | Average |
|---|---|---|---|---|---|
| GRPO | 35.7/53.5 | 57.6/67.4 | 79.3/86.3 | 40.1/52.2 | 53.2/64.9 |
| ESRL | 39.0/76.8 | 62.5/82.5 | 80.3/94.5 | 42.0/54.3 | 55.9/77.0 |
| Δ | +3.3/+23.3 | +4.9/+15.1 | +1.0/+8.2 | +1.9/+2.1 | +2.8/+12.2 |
Key Ablation Results
Table 4: Adaptive vs. Non-adaptive noise scaling (Average Pass@1 / Pass@8)
| Configuration | Pass@1 Avg | Pass@8 Avg |
|---|---|---|
| GRPO-R3 | 39.7 | 61.1 |
| Non-adaptive | 38.7 | 59.6 |
| Adaptive | 42.1 | 64.2 |
Table 5: Anchored expert-sampling configurations (Qwen3-30B-A3B)
| Configuration | Pass@1 Avg | Pass@8 Avg |
|---|---|---|
| 42.1 | 64.2 | |
| 41.6 | 64.9 | |
| No anchored | 40.3 | 60.8 |
Key Findings from Analyses
-
Robustness across temperatures: ESRL outperforms GRPO-R3 at all temperatures (0.6–1.4), with particularly large gains at lower temperatures where token-level sampling is conservative.
-
Sample efficiency: ESRL with 64 samples surpasses GRPO-R3 with 128 samples; ESRL with 128 samples exceeds GRPO-R3 with 256 samples.
-
Informative groups: ESRL maintains consistently higher ratios of groups containing both correct and incorrect responses, especially in later training when the baseline loses group-level reward variation.
-
Expert utilization: ESRL maintains lower expert-load CV and imbalance factor throughout training, mitigating the progressive concentration of expert utilization induced by RL.
-
Decoupled exploration: Training with routing noise alone (T=0) still enables effective RL, and the decoupled strategy achieves the best average Pass@1 of 42.4.
Theoretical and Practical Implications
Theoretical Implications
-
Expert routing as an exploration dimension: The paper establishes that expert routing provides an effective and complementary dimension for RL exploration beyond token-level sampling, fundamentally expanding the exploration space available to RL algorithms for MoE models.
-
Controlled exploration quality: The accuracy–diversity analysis reveals that routing parameters (, ) primarily move the model along a shared quality–diversity trend, while the number of anchored experts and perturbation position can affect the geometry of this trade-off curve. This provides a principled framework for understanding routing-level exploration.
-
Complementarity with existing methods: Since ESRL operates at the rollout stage without modifying reward functions or policy optimization objectives, it is orthogonal to optimization-level improvements (GSPO) and reward-level approaches (RO-GRPO), suggesting potential for combination.
Practical Implications
-
No additional sampling or computational cost: ESRL achieves gains without additional sampling or computational overhead, making it practical for real-world deployment.
-
Architecture generalization: Consistent gains across top-K, top-1, and shared-expert routing structures demonstrate broad applicability across diverse MoE architectures.
-
Mitigation of policy concentration: ESRL addresses the progressive loss of rollout diversity during RL training—a critical practical challenge—by maintaining higher informative-group ratios and better expert-load balance.
-
Domain transferability: The method transfers effectively from mathematics to science and code domains, with particularly dramatic improvements on science benchmarks (up to +23.3 points Pass@8 on GPQA).
Conclusion
This work introduces Expert-Space Exploration Reinforcement Learning (ESRL) as a novel framework that explicitly explores the expert-routing space of MoE models during RL training. The paper demonstrates that:
-
Routing perturbation is a viable exploration mechanism: Perturbing expert routing effectively alters model output and increases rollout diversity, similar to increasing decoding temperature, but with the added benefit of exploring alternative computation paths.
-
Controlled exploration is essential: Direct perturbation can activate unsuitable experts and degrade rollout quality. ESRL's combination of entropy-adaptive noise scaling, anchored expert sampling, and routing replay enables controlled exploration that preserves quality while expanding diversity.
-
Consistent gains across architectures and domains: ESRL achieves the best performance across three different MoE backbones and multiple task domains, improving average Pass@1 and Pass@8 over GRPO by up to 3.2 and 4.5 percentage points on math benchmarks, and 2.8 and 12.2 points on science/code benchmarks.
-
Improved learning efficiency: ESRL maintains more advantage-informative groups, improves expert-load balance, and achieves higher performance under limited sampling budgets.
Future directions: Since ESRL introduces exploration at the rollout stage without modifying the reward function or policy optimization objective, it provides a complementary direction that could potentially be combined with reward-level and loss-level improvements in future work. The decoupled training results also suggest that expert-only exploration can serve as an effective pre-training stage for token-level exploration.
Related papers
- Monitoring and Discovering Reward Hacking with Internal Representations during LLM Evaluations
Simple difference-of-means vectors over internal activations detect reward hacking in frontier LLMs at near-zero cost, matching expensive LLM monitors and revealing hacking in over half of rollouts.
- When the Reward Suite Is Leaky: A Preregistered Causal Contrast of Natural Verifier False Positives in RLVR
A preregistered causal experiment shows RLVR training on leaky test suites is non-inferior on held-out tasks, with false positives selected from base-model errors rather than learned exploitation.
- Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs
Tail-Replay enables unconstrained token-level prefix caching in hybrid LLMs by replaying only a 5-10% recent suffix to reconstruct linear-attention states, preserving 92.8-99.9% quality while achieving up to 14.3x TTFT speedup.