Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Experts

Shwai He, Weilin Cai, Jiayi Huang, Ang Li

Mixture of Experts (MoE) models are the current darlings of the AI world, powering state-of-the-art systems from Mixtral to DeepSeek. By activating only a small fraction of their parameters for any given input, they offer a "cheat code" for scaling model capacity without a linear increase in compute cost. However, a new paper from researchers at the University of Maryland and HKUST highlights a hidden tax on this efficiency: the Straggler Effect.

TL;DR

MoE models suffer from inference delays because a few "overloaded" experts act as bottlenecks, forcing the entire GPU cluster to wait for them. This paper introduces Capacity-Aware Inference, a method that drops excess tokens from busy experts and reroutes them to underutilized ones on the same device, achieving up to a 1.85× speedup with negligible (or even improved) accuracy.

What Problem Does This Paper Address?

In a distributed MoE setup, experts are sharded across multiple GPUs (Expert Parallelism). Ideally, every expert would receive an equal number of tokens. In reality, token distribution is highly "spiky." Some experts might be assigned seven times the average load, while others sit idle.

Imbalanced token distribution across experts highlights the straggler effect.

Because the system requires synchronization barriers between layers, the entire inference process is dictated by the slowest, most burdened expert—the Straggler. Even if 63 experts finish their work in 10ms, if the 64th expert takes 70ms, the whole system takes 70ms. Existing solutions often involve duplicating popular experts across GPUs, but this eats up precious VRAM. The authors ask: Can we balance the load during inference without adding more parameters?

Methods

The authors propose two primary strategies to handle the straggler effect:

Comparison of Token Drop and Expanded Drop mechanisms.
  1. Capacity-Aware Token Drop: This enforces a hard limit (a capacity factor $\gamma$) on how many tokens any single expert can handle. If an expert is overloaded, the "least important" tokens are simply dropped. The key innovation here is score-based dropping: instead of dropping tokens randomly or based on their position in a sentence, the model drops tokens that have the lowest gating scores (i.e., the router was least confident about sending them to that expert).
  2. Capacity-Aware Expanded Drop: Dropping tokens sounds risky for performance. To mitigate this, the authors allow tokens destined for an overloaded expert to look at other experts hosted on the same GPU. Since these experts are "local," rerouting tokens to them doesn't require expensive inter-GPU communication (All-to-All). This improves the utilization of "low-load" experts and keeps more tokens in the computation pipeline.
  3. Device-Level Constraints: Rather than setting a limit for each individual expert, this variant sets a limit for the entire GPU. This provides more flexibility, allowing one expert on a GPU to be slightly over-capacity if its neighbor is under-capacity.

Datasets and Evaluation

The researchers evaluated their methods across a wide array of benchmarks and models:

  • Language Models: Evaluated on standard LLM benchmarks including MMLU, ARC-C, HellaSwag, BoolQ, PIQA, and GSM8K.
  • Long Context: Tested on the BANKING77 dataset (part of LongICLBench) to see how the method handles sequences up to 14K tokens.
  • Multimodal: Evaluated MolmoE (an OLMoE-based multimodal model) on MME, MMBench, and SEED-Bench.
  • Models: Experiments were conducted on state-of-the-art MoEs like Mixtral-8×7B, DeepSeek-V2-Lite, Qwen1.5-MoE, and OLMoE.

Key Insights and Results

  • Efficiency Gains: Applying Expanded Drop to Mixtral-8×7B-Instruct resulted in a massive 1.85× inference speedup.
  • Performance Maintenance: On OLMoE, the authors achieved a 30% speedup in MoE layers with only a 0.9% dip in performance.
  • The "Free Lunch": In several cases, like Mixtral, the method actually improved average performance by 0.2% while nearly doubling the speed. This suggests that the "Expanded Drop" acts as a form of regularization or ensemble-like routing.
  • The "Score" is the Secret Sauce: The paper finds that using the router's gating score as a proxy for token importance is significantly better than random dropping. The model "knows" which tokens it's guessing on, and those can be safely discarded or rerouted.
  • Local Rerouting is "Free": The biggest bottleneck in distributed MoE is the communication cost of moving tokens between GPUs. By restricting the "Expanded Drop" to experts on the same device, the authors improve performance without increasing latency.
  • Multimodal Redundancy: In vision-language tasks, image tokens are often highly redundant. The authors found they could drop image tokens much more aggressively than text tokens—even using a capacity factor of 0.5 (half the average load)—while maintaining high accuracy (e.g., maintaining a perception score of 1362.1 vs the baseline's 1358.1 on MME).

Limitations and Future Work

  • Hardware Dependency: The effectiveness of the speedup is tied to the hardware configuration (number of GPUs vs. number of experts). The speedup is most dramatic when each GPU hosts only one or two experts.
  • Drop Strategy Refinement: While gating scores work well, the authors suggest that more sophisticated "importance metrics" could be developed to decide which tokens to drop.
  • Training-Inference Gap: This paper focuses on fixing models after they are trained. Future work could involve training models specifically to be "drop-resilient," potentially leading to even higher efficiency gains.

The code for Capacity-Aware Inference is available at https://github.com/CASE-Lab-UMD/Capacity-Aware-MoE.

Summary updated

BibTeX
@inproceedings{he2026capacity,
  author = {Shwai He and Weilin Cai and Jiayi Huang and Ang Li},
  title = {{Capacity-Aware Inference: Mitigating the Straggler Effect in Mixture of Experts}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=LuYFpySWA2},
}
Figure