Lune

ICLR2024Top-tier venue

Statistical Perspective of Top-K Sparse Softmax Gating Mixture of Experts

Huy Nguyen, Pedram Akbarian, Fanqi Yan, Nhat Ho

Abstract

Top-K sparse softmax gating mixture of experts has been widely used for scaling up massive deep-learning architectures without increasing the computational cost. Despite its popularity in real-world applications, the theoretical understanding of that gating function has remained an open problem. The main challenge comes from the structure of the top-K sparse softmax gating function, which partitions the input space into multiple regions with distinct behaviors. By focusing on a Gaussian mixture of experts, we establish theoretical results on the effects of the top-K sparse softmax gating function on both density and parameter estimations. Our results hinge upon defining novel loss functions among parameters to capture different behaviors of the input regions. When the true number of experts k∗k_{\ast} is known, we demonstrate that the convergence rates of density and parameter estimations are both parametric on the sample size. However, when k∗k_{\ast} becomes unknown and the true model is over-specified by a Gaussian mixture of kk experts where k>k∗k>k_{\ast}, our findings suggest that the number of experts selected from the top-K sparse softmax gating function must exceed the total cardinality of a certain number of Voronoi cells associated with the true parameters to guarantee the convergence of the density estimation. Moreover, while the density estimation rate remains parametric under this setting, the parameter estimation rates become substantially slow due to an intrinsic interaction between the softmax gating and expert functions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts cites Scaling Vision with Sparse Mixture of Experts
  • On Least Square Estimation in Softmax Gating Mixture of Experts cites Scaling Vision with Sparse Mixture of Experts
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Scaling Vision with Sparse Mixture of Experts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scaling Vision with Sparse Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion cites Scaling Vision with Sparse Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts cites On Least Square Estimation in Softmax Gating Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts cites Scaling Vision with Sparse Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts cites GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts cites FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion
  • VLMo: Unified Vision-Language Pre-Training with Mixture-of-Modality-Experts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. FuseMoE: Mixture-of-Experts Transformers for Fleximodal FusionXing Han, Huy Nguyen, Carl Harris, Nhat Ho et al.NeurIPS 2024 · 129 citations
  2. MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-ExpertsJianan Zhou, Zhiguang Cao, Yaoxin Wu, Wen Song et al.ICML 2024 · 74 citations
  3. Mixture of Experts Meets Prompt-Based Continual LearningMinh Le, An Nguyen The, Huy Nguyen, Trang Nguyen et al.NeurIPS 2024 · 57 citations
  4. Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of ExpertsHuy Nguyen, Nhat Ho, Alessandro RinaldoNeurIPS 2024 · 35 citations
  5. On Least Square Estimation in Softmax Gating Mixture of ExpertsHuy Nguyen, Nhat Ho, Alessandro RinaldoICML 2024 · 25 citations

Builds on13

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen et al.ICLR 2021 · 1,954 citations
  3. Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann et al.NeurIPS 2021 · 1,213 citations
  4. GLaM: Efficient Scaling of Language Models with Mixture-of-ExpertsNan Du, Yanping Huang, Andrew M. Dai, Simon Tong et al.ICML 2022 · 1,173 citations
  5. VLMo: Unified Vision-Language Pre-Training with Mixture-of-Modality-ExpertsHangbo Bao, Wenhui Wang, Li Dong, Qiang Liu et al.NeurIPS 2022 · 790 citations

Related papers

  1. Demystifying Softmax Gating Function in Gaussian Mixture of ExpertsHuy Nguyen, TrungTin Nguyen, Nhat HoNeurIPS 2023 · 44 citations
  2. A General Theory for Softmax Gating Multinomial Logistic Mixture of ExpertsHuy Nguyen, Pedram Akbarian, TrungTin Nguyen, Nhat HoICML 2024 · 28 citations
  3. Is Temperature Sample Efficient for Softmax Gaussian Mixture of Experts?Huy Nguyen, Pedram Akbarian, Nhat HoICML 2024 · 20 citations
  4. Rethinking Convergence in MoE Training: The Role of Routing SparsityWeihao Zhu, Long Shi, Kang Wei, Zhe Wang et al.ICML 2026
  5. MoEC: Mixture of Expert ClustersYuan Xie, Shaohan Huang, Tianyu Chen, Furu WeiAAAI 2023 · 27 citations
Dusk over the sea between two cliffs drawn in fine vertical lines