PMR: MoE Routing with Shared Prototypes and Congestion Pricing
Wending Wang, Binqi Huang, Ju'an Li, Yu Guo, Lei Duan, Yuqi Ouyang, Dengchun Li
Abstract
Conventional linear routers in sparse mixture-of-experts models select experts directly from token-expert matching scores, coupling input matching with expert allocation. We propose Prototype-Mediated Routing (PMR), a two-stage router with shared prototypes. PMR first computes each token's distribution over prototypes, then uses it to mix prototype-conditioned expert distributions according to the law of total probability. This formulation models input matching and expert allocation separately, explicitly represents many-to-many associations between prototypes and experts, and provides separate interfaces for context adaptation and load regulation. Within this framework, short-term states summarize preceding tokens to adapt the prototypes, while congestion prices updated from dispatch feedback achieve loss-free load balancing by adjusting the conditional expert distributions. We use a two-pass blockwise approximation to accelerate short-term state processing, achieving over 20 times the training throughput of the eager tokenwise PMR implementation while maintaining high agreement in routing decisions. Across three pretraining configurations with 0.43B, 1.18B, and 0.48B total parameters, PMR improves mean zero-shot accuracy on seven benchmarks over linear routing baselines with matched expert architectures by 1.54, 2.65, and 1.45 percentage points (pp), respectively. The corresponding gains on ARC-Easy are 6.71, 5.80, and 3.92 pp. In parameter-efficient fine-tuning of 7B-8B backbones, PMR's improvements over MixLoRA vary across backbones, with gains of up to 1.76 pp in mean accuracy across four tasks.
Create a lesson
Related papers
QuASAR: Toward an LLM-Assisted Framework for Screening, Prototyping, and Assessing Quantum-Advantage Opportunities in Scientific Computing
Shared title terminology · Mark L. Carroll, Jordan A. Caraballo-Vega, Brian P. Powell et al.
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminology · Pengjie Zheng, Mengwei Xie, Huan Yang et al.
When Are Images Needed in Multimodal Machine Translation? Text-Only Routing for On-Demand Visual Context
Shared title terminology · Xinyu Wang, Yingfeng Luo, Yuxin Gao et al.
GGDriver: Glance at What Is Shared, Gaze at What Differs for Perception-Free Planning
Shared title terminology · Jiawei Sun, Maosen Li, Jiamin Shi et al.
Seer: Guiding Small Deep-Research Agents with Shared Decision Models
Shared title terminology · Yuhao Zhou, Yang Zhou, Yuanxi Li et al.
Efficient Wide-Beam Generative Retrieval with Model-Native Trie Decoding and Shared-Context Attention
Shared title terminology · Vedant Jhaveri, Arashpreet Singh Mor, Satyam Kumar et al.