Lune

ICLR2024顶会

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

Huy Nguyen, Pedram Akbarian, Fanqi Yan, Nhat Ho

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • MVMoE: Multi-Task Vehicle Routing Solver with Mixture-of-Experts 引用了 Scaling Vision with Sparse Mixture of Experts
  • On Least Square Estimation in Softmax Gating Mixture of Experts 引用了 Scaling Vision with Sparse Mixture of Experts
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Scaling Vision with Sparse Mixture of Experts 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Scaling Vision with Sparse Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • GLaM: Efficient Scaling of Language Models with Mixture-of-Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion 引用了 Scaling Vision with Sparse Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts 引用了 On Least Square Estimation in Softmax Gating Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts 引用了 Scaling Vision with Sparse Mixture of Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts 引用了 GLaM: Efficient Scaling of Language Models with Mixture-of-Experts
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts 引用了 FuseMoE: Mixture-of-Experts Transformers for Fleximodal Fusion
  • VLMo: Unified Vision-Language Pre-Training with Mixture-of-Modality-Experts 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

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

它引用的 Paper13

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

相关 Paper

  1. Demystifying Softmax Gating Function in Gaussian Mixture of ExpertsHuy Nguyen, TrungTin Nguyen, Nhat HoNeurIPS 2023 · 44 次引用
  2. A General Theory for Softmax Gating Multinomial Logistic Mixture of ExpertsHuy Nguyen, Pedram Akbarian, TrungTin Nguyen, Nhat HoICML 2024 · 28 次引用
  3. Is Temperature Sample Efficient for Softmax Gaussian Mixture of Experts?Huy Nguyen, Pedram Akbarian, Nhat HoICML 2024 · 20 次引用
  4. Rethinking Convergence in MoE Training: The Role of Routing SparsityWeihao Zhu, Long Shi, Kang Wei, Zhe Wang 等ICML 2026
  5. MoEC: Mixture of Expert ClustersYuan Xie, Shaohan Huang, Tianyu Chen, Furu WeiAAAI 2023 · 27 次引用
黄昏的海面,两侧是细线勾勒的悬崖