Selective Sinkhorn Routing for Improved Sparse Mixture of Experts
Duc Anh Nguyen, Huu Binh Ta, Nhuan Le Duc, Tan M. Nguyen, Toan Tran
TL;DR
The paper introduces Selective Sinkhorn Routing (SSR) to improve Sparse Mixture of Experts by formulating token-to-expert routing as entropy-regularized optimal transport with balance constraints. SSR derives routing weights from the OT transport map and applies Sinkhorn updates sparsely during training, avoiding reliance on auxiliary balancing losses. The approach yields faster convergence, higher accuracy, and greater robustness in both language modeling and image classification benchmarks, while preserving flexibility in expert selection. Theoretical analysis and extensive experiments demonstrate that limited Sinkhorn routing, combined with optional noise for exploration, improves training stability and balance without sacrificing inference determinism.
Abstract
Sparse Mixture-of-Experts (SMoE) has gained prominence as a scalable and computationally efficient architecture, enabling significant growth in model capacity without incurring additional inference costs. However, existing SMoE models often rely on auxiliary losses (e.g., z-loss, load balancing) and additional trainable parameters (e.g., noisy gating) to encourage expert diversity, leading to objective misalignment and increased model complexity. Moreover, existing Sinkhorn-based methods suffer from significant training overhead due to their heavy reliance on the computationally expensive Sinkhorn algorithm. In this work, we formulate token-to-expert assignment as an optimal transport problem, incorporating constraints to ensure balanced expert utilization. We demonstrate that introducing a minimal degree of optimal transport-based routing enhances SMoE performance without requiring auxiliary balancing losses. Unlike previous methods, our approach derives gating scores directly from the transport map, enabling more effective token-to-expert balancing, supported by both theoretical analysis and empirical results. Building on these insights, we propose Selective Sinkhorn Routing (SSR), a routing mechanism that replaces auxiliary loss with lightweight Sinkhorn-based routing. SSR promotes balanced token assignments while preserving flexibility in expert selection. Across both language modeling and image classification tasks, SSR achieves faster training, higher accuracy, and greater robustness to input corruption.
