Cross-Entropy Guided Routing in Mixture-of-Experts Large Language Models
cs.AI
Submitted: 2026-09-29
Updated: 2026-09-29
Comments: 25 pages, 6 figures, 12 tables
License: http://creativecommons.org/licenses/by/4.0/
The gist: Sparse mixture-of-experts (MoE) large language models scale model capacity by routing each token to a small subset of experts.
Abstract
Sparse mixture-of-experts (MoE) large language models scale model capacity by routing each token to a small subset of experts. Their routers are regularized with load balancing terms and learn affinity scores through the language-model objective. However, these objectives do not provide direct alignment between routing affinities and token-level error. We introduce token-error supervision for sparse routing in two forms. The first form predicts an error score per expert. The affinity-weighted aggregate of these scores is aligned to the next-token cross-entropy loss, while the individual scores attenuate affinity before top- K selection. The second directly aligns the router's affinities to the model's objective without requiring an additional head or inference-time modification. Both formulations use the Itakura--Saito divergence or an exponential negative log-likelihood for aligning affinities and token errors. Across two sparse MoE backbones and four multiple-choice question-answering benchmarks, we evaluate both supervision mechanisms. On Granite, our method improves accuracy by approximately 2.3 percentage points on average over a parameter-matched routing baseline. With stronger supervision, the gain on ARC-Challenge reaches 2.94 points. Both mechanisms preserve the native sparse execution budget and aggregation policy. Our code is available in the supplementary materials.
Sources
- MoGU: Mixture-of-Gaussians with Uncertainty-based Gating for Time Series Forecasting
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models
- Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing
- Mixtral of Experts
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Variational Routing: A Scalable Bayesian Framework for Calibrated Mixture-of-Experts Transformers
- Expert Divergence Learning for MoE-based Language Models
- Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering
- OLMoE: Open Mixture-of-Experts Language Models
- From Dense to Dynamic: Token-Difficulty Driven MoEfication of Pre-Trained LLMs
- MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answering
- Uncertainty Is Not Enough: Value-of-Information Routing for Mixtures of LoRA Experts
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
- Grassmannian Mixture-of-Experts: Concentration-Controlled Routing on Subspace Manifolds
- ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing
- When Are Experts Misrouted? Counterfactual Routing Analysis in Mixture-of-Experts Language Models
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems