Modeling Expert Interactions in Sparse Mixture of Experts via Graph Structures
Minh-Khoi Nguyen-Nhat, Rachel S. Y. Teo, Laziz Abdullaev, Maurice Mok, Viet-Hoang Tran, Tan Minh Nguyen
TL;DR
The paper tackles robustness in Sparse Mixture of Experts by introducing SymphonySMoE, which endows SMoE with an expert-to-expert social graph to coordinate routing. Framed as a probabilistic graphical model, gating is reinterpreted as posterior inference, and a learned adjacency between experts guides token routing, improving both accuracy and resilience to data contamination. The authors prove theoretical guarantees about co-selection of high-confidence expert pairings under perturbation and validate the approach with extensive experiments across language modeling (WikiText-103, C4), visual instruction tuning, and GLUE fine-tuning, scaling up to 7.4B parameters. The modular design preserves compatibility with existing SMoE architectures and incurs minimal overhead, offering a scalable path to robust, large-scale SMoE deployments.
Abstract
Sparse Mixture of Experts (SMoE) has emerged as a promising solution to achieving unparalleled scalability in deep learning by decoupling model parameter count from computational cost. By activating only a small subset of parameters per sample, SMoE enables significant growth in model capacity while maintaining efficiency. However, SMoE struggles to adapt to distributional shifts, leading to reduced robustness under data contamination. In this work, we introduce SymphonySMoE, a novel family of SMoE that introduces a social graph to model interactions among experts. This graph-based structure enhances the token routing process, addressing the robustness challenges that are inherent in conventional SMoE designs. SymphonySMoE is lightweight, modular, and integrates seamlessly with existing SMoE-based models such as the XMoE and the Generalist Language Model. We provide both theoretical analysis and empirical evidence demonstrating SymphonySMoE's advantages over baseline SMoE. Extensive experiments on language modeling and visual instruction tuning validate our method's effectiveness. We further highlight the scalability of SymphonySMoE to models with 4.2 and 7.4 billion parameters, showcasing its applicability in fine-tuning tasks for large-scale systems.
