Variational Inference, Entropy, and Orthogonality: A Unified Theory of Mixture-of-Experts
Ye Su, Yong Liu
TL;DR
The paper tackles how to scale Mixture-of-Experts models efficiently while maintaining theoretical guarantees. By unifying Bayesian variational inference and information theory, it recasts Top-$k$ routing and load balancing as optimal sparse approximation and prior matching, and shows these components maximize ELBO and mutual information under sparsity constraints. It identifies a Coherence Barrier that causes greedy routing to fail when expert representations are highly correlated, and proves that orthogonality of expert features makes greedy Top-$k$ routing globally optimal. The authors propose three orthogonality-enhancing strategies and provide synthetic-data validation demonstrating improved utilization and specialization, arguing for a shift toward designing representations that are intrinsically routable. This theoretical foundation offers principled guidance for constructing scalable, reliable MoE systems in large-scale language models.
Abstract
Mixture-of-Experts models enable large language models to scale efficiently, as they only activate a subset of experts for each input. Their core mechanisms, Top-k routing and auxiliary load balancing, remain heuristic, however, lacking a cohesive theoretical underpinning to support them. To this end, we build the first unified theoretical framework that rigorously derives these practices as optimal sparse posterior approximation and prior regularization from a Bayesian perspective, while simultaneously framing them as mechanisms to minimize routing ambiguity and maximize channel capacity from an information-theoretic perspective. We also pinpoint the inherent combinatorial hardness of routing, defining it as the NP-hard sparse subset selection problem. We rigorously prove the existence of a "Coherence Barrier"; when expert representations exhibit high mutual coherence, greedy routing strategies theoretically fail to recover the optimal expert subset. Importantly, we formally verify that imposing geometric orthogonality in the expert feature space is sufficient to narrow the divide between the NP-hard global optimum and polynomial-time greedy approximation. Our comparative analyses confirm orthogonality regularization as the optimal engineering relaxation for large-scale models. Our work offers essential theoretical support and technical assurance for a deeper understanding and novel designs of MoE.
