MoE-GRPO: Optimizing Mixture-of-Experts via Reinforcement Learning in Vision-Language Models

Dohwan Ko, Jinyoung Park, Seoung Choi, Sanghyeok Lee, Seohyun Lee, Hyunwoo J. Kim

TL;DR

MoE-GRPO introduces a reinforcement learning framework to optimize expert routing in Mixture-of-Experts (MoE) Vision-Language Models. By replacing standard greedy top-$K$ selection with a reward-driven exploration strategy and modality-aware guidance, it significantly improves expert diversity, prevents overfitting, and boosts multi-modal generalization.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) architectures are highly popular because they scale up model capacity without a proportional increase in compute cost. They achieve this by routing each token to only a small subset ($K$) of available feed-forward network "experts."

However, almost all current MoE models rely on a deterministic, greedy top-$K$ routing mechanism based on local gating scores. This approach suffers from two major flaws:

  1. Suboptimal Combinations: It overlooks globally optimal expert combinations across layers.
  2. Expert Overfitting: The model quickly overfits to a small subset of favorite experts, leaving the rest underutilized.

This issue is particularly acute in Vision-Language Models (VLMs), where tokens originate from vastly different modalities (images, videos, and text). To solve this, the authors ask: Can we learn an optimal, adaptive routing policy through exploration and feedback rather than relying on rigid heuristics?

Figure 1. Comparison between top-K routing and our MoE- GRPO. (a) While the top-K routing deterministically selects K experts based on gating scores, (b) MoE-GRPO stochastically samples K experts across multiple rollouts and optimizes the ex- pert selection policy through reward-based feedback.

Methods

The authors propose MoE-GRPO, framing expert selection as a sequential decision-making problem solved via Group Relative Policy Optimization (GRPO).

Unlike standard GRPO, which only samples text tokens at the output level, MoE-GRPO expands the action space to include layer-wise expert routing decisions. The framework optimizes two complementary sub-objectives:

  • Token-GRPO: Enhances the sequence generation quality by reinforcing expert selection paths that lead to high-reward textual outputs.
  • Gate-GRPO: Directly optimizes the gating function at each individual layer, providing dense, fine-grained supervision signals back to the routers.

Modality-Aware Router Guidance

Exploring every possible expert combination across dozens of layers creates a massive search space, making reinforcement learning unstable and slow. To guide the model, the authors introduce a modality-aware gating mechanism. They calculate historical vision- and text-affinity scores for each expert and deactivate the bottom 25% of modality-inconsistent experts during exploration. This keeps the router focused on modality-relevant experts while preserving enough stochasticity for robust policy learning.

The overall pipeline of the MoE-GRPO framework, illustrating token-level and gate-level optimization.

Datasets

The framework was trained and evaluated across several diverse benchmarks:

  • Training: 100K multi-choice visual instruction-tuning examples sampled from the OneThinker dataset. For vision-only tasks, the model was trained on the source ImageNet dataset under a 16-shot setting.
  • Multi-Modal Evaluation: Image understanding was tested on MME, MMBench, MMStar, MMT-Bench, and AI2D. Video understanding was evaluated using VideoMME, MLVU, LongVideoBench, and MVBench.
  • Generalization Evaluation: Cross-dataset capabilities were tested on 10 target datasets (e.g., Caltech101, OxfordPets, StanfordCars), and domain generalization was evaluated on ImageNetV2, ImageNet-S, ImageNet-A, and ImageNet-R.

Key Insights and Ideas

  • Routing as a Policy: Instead of treating routing as a simple mathematical gating score, treating it as an RL policy allows the model to learn from the long-term consequences (rewards) of its choices.
  • Synergy of Dual Objectives: Gating optimization cannot happen in a vacuum. Ablation studies revealed that optimizing the gates without token-level generation alignment (Gate-GRPO alone) caused performance to drop significantly. Both dense layer feedback and final token rewards are required.
  • Pruning Accelerates RL Convergence: Unrestricted exploration in multi-modal spaces introduces high variance. Restricting the router from exploring obviously mismatched experts (e.g., text-heavy experts for visual tokens) drastically stabilizes the training curve and speeds up convergence.

Key Results

  • State-of-the-Art Multi-Modal Performance: MoE-GRPO achieved an average accuracy of 56.0% across nine image and video benchmarks, consistently outperforming deterministic fine-tuning (54.0%) and stochastic baselines like V-MoE.
  • Mitigating Overfitting: In cross-dataset evaluations using CLIP-MoE, standard deterministic fine-tuning caused a drop in generalization due to overfitting. MoE-GRPO reversed this trend, outperforming the baseline on 9 out of 10 datasets with an average accuracy gain of 3.1%.
  • Enhanced Expert Diversity: Visualizations proved that MoE-GRPO distributes token routing much more evenly. The entropy of the routing distribution increased from 1.05 (deterministic) to 1.82, showing a clear reduction in expert over-specialization.

Limitations and Future Work

  • Reward Function Constraints: The current framework relies on a binary accuracy-based reward (1 for correct, 0 for incorrect) tailored for multiple-choice questions. Extending this to open-ended text generation will require integrating more complex reward models or LLM-as-a-judge architectures.
  • Training Overhead: Because GRPO relies on generating multiple parallel rollouts ($G=8$ in this paper) to compute relative advantages, it demands higher memory and compute during the training phase, even though inference costs remain unchanged.

Summary updated

BibTeX
@inproceedings{ko2026moe,
  author = {Dohwan Ko and Jinyoung Park and Seoung Choi and Sanghyeok Lee and Seohyun Lee and Hyunwoo J. Kim},
  title = {{MoE-GRPO: Optimizing Mixture-of-Experts via Reinforcement Learning in Vision-Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=G302k10AXj},
}
Figure