Convergence Rates for Softmax Gating Mixture of Experts
Huy Nguyen, Nhat Ho, Alessandro Rinaldo
TL;DR
The paper provides a rigorous convergence analysis for softmax gating MoEs and its dense-to-sparse and hierarchical variants, identifying when parameter and expert estimation can be achieved at polynomial (parametric) rates and when they deteriorate to subpolynomial or even exponential data requirements. Central ideas include the strong identifiability condition for non-linear experts, Voronoi-based loss functions to capture parameter discrepancies, and an algebraic independence criterion for routers to avoid gating-expert interactions that slow convergence. Key findings show that strongly identifiable experts (e.g., two-layer FFNs with GELU/sigmoid/tanh) enable fast, input-dependent estimation, while linear experts generally incur severely slower rates due to PDE-type parameter interactions, especially under dense-to-sparse gating unless a router-expert algebraic independence condition holds. The results offer concrete guidance for designing MoE architectures with regard to expert choice and gating/router structure to achieve better sample efficiency in practice, while also noting limitations such as the single-layer MoE focus and the regression-model assumption.
Abstract
Mixture of experts (MoE) has recently emerged as an effective framework to advance the efficiency and scalability of machine learning models by softly dividing complex tasks among multiple specialized sub-models termed experts. Central to the success of MoE is an adaptive softmax gating mechanism which takes responsibility for determining the relevance of each expert to a given input and then dynamically assigning experts their respective weights. Despite its widespread use in practice, a comprehensive study on the effects of the softmax gating on the MoE has been lacking in the literature. To bridge this gap in this paper, we perform a convergence analysis of parameter estimation and expert estimation under the MoE equipped with the standard softmax gating or its variants, including a dense-to-sparse gating and a hierarchical softmax gating, respectively. Furthermore, our theories also provide useful insights into the design of sample-efficient expert structures. In particular, we demonstrate that it requires polynomially many data points to estimate experts satisfying our proposed \emph{strong identifiability} condition, namely a commonly used two-layer feed-forward network. In stark contrast, estimating linear experts, which violate the strong identifiability condition, necessitates exponentially many data points as a result of intrinsic parameter interactions expressed in the language of partial differential equations. All the theoretical results are substantiated with a rigorous guarantee.
