Routing in Gradient Space: Balanced Usage Is Not Expert Specialization
Yuchen Li, Mingyu Du, Zongqi Fan, Nguyen H. Tran, Ken-Tye Yong
Abstract
Sparse expert models can distribute traffic evenly while still grouping incompatible training signals within the same experts. We study routing as a gradient-partitioning problem and introduce gradient-aligned routing (GAR), whose load-normalized router objective rewards grouping observations with aligned gradients. On five multi-task text-classification mixtures, we compare GAR with task-loss-only routing, gradient-combination and gradient-conflict methods, and load-balancing losses. With a fully trainable RoBERTa backbone and classification-head experts, GAR has the highest aggregate validation accuracy, 1.07 percentage points above task-loss-only routing. With frozen DeBERTa and Qwen3-1.7B backbones and low-rank adapter experts, it again ranks first, 1.10 points above task-loss-only routing, with better-balanced expert load and higher gradient-mass purity, the share of each expert's gradient-norm mass from its dominant task; the load-balancing losses flatten load further but leave this purity near its task-loss-only level. Top-1 routing, trainable full-parameter feed-forward network (FFN) experts, and a larger backbone also show positive aggregate gains. In component ablations, the objective's cross-observation alignment terms alone retain GAR's accuracy, and GAR keeps its accuracy when observations are formed without task identity; supervising the router with task labels raises task-expert association without adding accuracy. The results distinguish expert-load balance from gradient-based routing organization and show the predictive value of gradient-informed routing in multi-task text classification.
Create a lesson
Metadata
- Comments
- 58 pages (9 main, 49 appendix), 6 figures, 54 tables
Related papers
Non-Commutative Lie-Algebraic State-Space Models: Finite-Division Variety Laws, Semidirect Cascades, and Gradient Saddle Escape
Shared title terminologycs.LGZeyu Jia
Critical Sequence Length: A Note on How Document Structure Bounds Gradient-Noise Reduction
Shared title terminologycs.LGSunny Guha
Mixing Expertise with Confidence: A Mixture of Experts Framework for Robust Multi-Modal Continual Learning
Shared title terminologycs.LGMd Abdullah Al Forhad, Yuansheng Zhu, Abhinab Acharya et al.
Beyond Routing Flips: Asymmetric Silencing, Phase Bifurcation, and Bitwise-Exact Diagnosis of MoE Reinforcement Learning
Shared title terminologycs.LGZhiyuan Zhang
On the fundamentals of gradient-based SAT solvers
Shared title terminologycs.LGNikolaos Karalias, Saku Peltonen, Nikita Kostin et al.
The Cross-Entropy Gap: Scaling Laws for Sign Descent and Gradient Descent
Shared title terminologycs.LGAdélie Benhaim, Francis Bach, Frederik Kunstner