Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Models

Shuibai Zhang, Caspian Zhuang, Chihan Cui, Zhihan Yang, Fred, Yanxin Zhang, Haoyue Bai, Zack Jia, Yang Zhou, Guanhua Chen, Ming LiuCOLM 2026

TL;DR

This paper demonstrates that Expert-Choice (EC) routing is a superior alternative to standard Token-Choice (TC) routing for Mixture-of-Experts (MoE) Diffusion Language Models. By switching to EC, the authors achieved a 2.0× speedup in training convergence and enabled "timestep-adaptive" computation, which concentrates processing power on the most critical stages of the denoising process to improve final model accuracy.

What Problem Does This Paper Address?

Diffusion Language Models (DLMs) are gaining traction because they generate text in parallel rather than one token at a time. To scale these models, researchers often use Mixture-of-Experts (MoE) architectures. However, most current MoE DLMs inherit Token-Choice (TC) routing from autoregressive models like GPT-4.

In TC routing, each token independently chooses its preferred experts. This leads to two major issues in parallel systems:

  1. Load Imbalance: Some experts get swamped with tokens while others sit idle. This creates "stragglers" that force the entire GPU cluster to wait, wasting significant compute.
  2. Rigid Allocation: TC routing makes it difficult to control exactly how much computation is spent at different stages of the diffusion process.

Methods

The authors propose replacing TC with Expert-Choice (EC) routing. In EC, the selection is inverted: each expert chooses a fixed number of tokens ($c$) from the entire sequence.

Because DLMs process all tokens simultaneously (non-causally) in every denoising step, they are uniquely suited for EC, which requires a global view of all tokens to make its selections. This provides deterministic load balancing by design—every expert always processes exactly $c$ tokens, eliminating idle time.

Figure 2: Left: TC (top-1) vs. EC (capacity c = 2) routing on a 6×3 gating score matrix. Both methods assign the same total of 6 token–expert pairs, but TC produces imbalanced per-expert loads (1/4/1) while EC guarantees uniform loads (2/2/2) by construction. Right: GPU memory snapshot during inference of LLaDA-2.0-mini (16B) with expert parallelism across 8 H100 GPUs. TC exhibits high variance (std 3.6 GB) with one GPU using 70.3 GB while others use ∼58–64 GB. EC maintains perfectly uniform memory (std 0.0 GB).

Building on this, the authors introduced Timestep-Adaptive Expert Capacity. Since EC capacity is an external hyperparameter, they can vary it based on the denoising timestep. They tested several schedules, most notably Linear-Reverse, which allocates more expert capacity as the mask ratio decreases (i.e., as the model gets closer to the final clean text).

Figure 3: Linear-reverse scheduling: as mask ratio r decreases during denoising, per-expert capacity increases, concentrating compute on the most consequential predictions.

Datasets

  • Pretraining: OpenWebText (~9B tokens) for small-scale studies and Nemotron-CC for scaling up to 8B parameters.
  • Downstream Benchmarks: GSM8K (math), HumanEval/HumanEval+ (code), MedQA (medical), MMLU (general knowledge), and ARC-Challenge.

Key Insights and Ideas

  • The Learning Frontier: The authors discovered a "mechanistic explanation" for why certain timesteps matter more. Tokens in low-mask-ratio contexts (where most of the sentence is already visible) exhibit an order-of-magnitude higher learning efficiency.
  • Marginal Returns: Concentrating compute on these high-efficiency steps yields the largest marginal return. High-mask steps (where most tokens are hidden) are so noisy that adding more experts provides diminishing returns.
  • Retrofitting is Viable: You don't have to train from scratch. A pretrained TC model can be "retrofitted" by swapping the router and performing a brief task-specific finetuning, resulting in immediate speed and accuracy gains.

Key Results

  • Training Speed: EC reaches the same loss level 2.0× faster in wall-clock time than TC variants. Training loss vs. wall-clock time showing EC's significant convergence advantage.

  • Throughput: EC achieved 52.1 TFLOP/s/GPU, which is 1.5–2.1× higher than all TC configurations tested.

  • Accuracy Gains: At the 8B-A1B scale, the dynamic EC model consistently outperformed the static baseline across validation perplexity, MMLU, and ARC-Challenge. Comparison of static vs. dynamic EC at the 8B scale, showing consistent improvements in perplexity and downstream accuracy.

  • Inference Speed: Retrofitted EC models achieved 1.3–1.5× faster decoding during evaluation because they eliminate the straggler effect at inference time.

Figure 1: Training loss vs. wall-clock time. EC reaches loss 3.75 in 10.6h, 2.0× faster in wall-clock time than TC (20.7h).
Figure 5: 8B-A1B pretraining comparison: dynamic EC (linear-reverse, k=2–14) vs. static EC (k=8) on Nemotron-CC. Left: validation perplexity; Center: MMLU 5-shot accuracy; Right: ARC-Challenge 25-shot accuracy. Dynamic EC outperforms static EC at every checkpoint under matched average FLOPs. The linear-reverse schedule carries over from the small-scale bake-off in §4.3 and was not re-evaluated at this scale; both curves are single runs.

Limitations and Future Work

  • Hand-Designed Schedules: The authors used fixed mathematical functions (like linear or cosine) for capacity scheduling. They suggest that learned capacity predictors or reinforcement learning policies could find even more optimal ways to distribute compute.
  • Semi-Autoregressive Settings: While EC works perfectly for fully parallel denoising, the authors note that applying it to "block-wise" or semi-autoregressive decoding (where some causal masking is involved) remains a challenge for future work.
  • Token Coverage: A potential risk of EC is that some tokens might not be picked by any expert. While the authors argue that "shared experts" (which process all tokens) mitigate this, deeper study into cross-layer token drop correlations is needed.

Summary updated

BibTeX
@inproceedings{zhang2026expert,
  author = {Shuibai Zhang and Caspian Zhuang and Chihan Cui and Zhihan Yang and Fred and Yanxin Zhang and Haoyue Bai and Zack Jia and Yang Zhou and Guanhua Chen and Ming Liu},
  title = {{Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Models}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=mxPUcTz742},
}
Figure