Guided by the Experts: Provable Feature Learning Dynamic of Soft-Routed Mixture-of-Experts
Fangshuo Liao, Anastasios Kyrillidis
TL;DR
This paper develops a theoretical framework for jointly training soft-routed MoEs with non-linear experts in a teacher–student setting, using gradient flow on Gaussian inputs. By leveraging a Hermite expansion of the gating and activation functions, the authors prove a sequential feature-learning regime where student router/expert pairs align with their teacher counterparts in a time scale of O(√d), followed by pruning of redundant experts and a provably convergent fine-tuning stage to zero loss. The work demonstrates that, under moderate over-parameterization, the MoE optimization landscape admits a principled recovery order and a post-hoc pruning strategy that preserves learned components while removing wasteful units. This yields a rigorous bridge between MoE architectural practice and theoretical guarantees, with implications for scaling and pruning in large models. The results rely on Gaussian data and a cubic Hermite activation, but the techniques open paths to broader data distributions and routing schemes, highlighting a principled route to MoE optimization theory.
Abstract
Mixture-of-Experts (MoE) architectures have emerged as a cornerstone of modern AI systems. In particular, MoEs route inputs dynamically to specialized experts whose outputs are aggregated through weighted summation. Despite their widespread application, theoretical understanding of MoE training dynamics remains limited to either separate expert-router optimization or only top-1 routing scenarios with carefully constructed datasets. This paper advances MoE theory by providing convergence guarantees for joint training of soft-routed MoE models with non-linear routers and experts in a student-teacher framework. We prove that, with moderate over-parameterization, the student network undergoes a feature learning phase, where the router's learning process is ``guided'' by the experts, that recovers the teacher's parameters. Moreover, we show that a post-training pruning can effectively eliminate redundant neurons, followed by a provably convergent fine-tuning process that reaches global optimality. To our knowledge, our analysis is the first to bring novel insights in understanding the optimization landscape of the MoE architecture.
