SmartMoE: Efficiently Training Sparsely-Activated Models through Combining Offline and Online Parallelization
Mingshu Zhai, Jiaao He, Zixuan Ma, Zan Zong, Runqing Zhang, Jidong Zhai
Abstract
Deep neural networks are growing large for stronger model ability, consuming enormous computation resources to train them. Sparsely activated models have been increasingly proposed and deployed to reduce training costs while enlarging model size. Unfortunately, previous auto-parallelization approaches designed for dense neural networks can hardly be applied to these sparse models, as sparse models are datasensitive and barely considered by prior works.
To address these challenges, we propose SMARTMOE to perform distributed training for sparsely activated models automatically. We find optimization opportunities in an enlarged space of hybrid parallelism, considering the workload of data-sensitive models. The space is decomposed into static pools offline, and choices to pick within a pool online. To construct an optimal pool ahead of training, we introduce a data-sensitive predicting method for performance modeling. Dynamic runtime selection of optimal parallel strategy is enabled by our efficient searching algorithm. We evaluate SMARTMOE on three platforms with up to 64 GPUs. It achieves up to 1.88× speedup in end-to-end training over the state-of-the-art MoE model training system FasterMoE.
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.
24 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap cites Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules
- HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap cites FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models
- HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert Swap cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules cites Language Models are Few-Shot Learners
- Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference cites Language Models are Few-Shot Learners
- Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-Scheduling cites Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference
- FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models cites Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated Schedules
- FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models cites Language Models are Few-Shot Learners
- FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- Scaling Vision with Sparse Mixture of Experts cites Language Models are Few-Shot Learners
- Scaling Vision with Sparse Mixture of Experts cites GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
- GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding cites Language Models are Few-Shot Learners
- Swin Transformer V2: Scaling Up Capacity and Resolution cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Swin Transformer V2: Scaling Up Capacity and Resolution cites Scaling Vision with Sparse Mixture of Experts
- Swin Transformer V2: Scaling Up Capacity and Resolution cites Language Models are Few-Shot Learners
Cited by top-tier papers24
- Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert InferenceRanggi Hwang, Jianyu Wei, Shijie Cao, Changho Hwang et al.ISCA 2024 · 48 citations
- Parm: Efficient Training of Large Sparsely-Activated Models with Dedicated SchedulesXinglin Pan, Wenxiang Lin, Shaohuai Shi, Xiaowen Chu et al.INFOCOM 2024 · 13 citations
- FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts ModelsXinglin Pan, Wenxiang Lin, Lin Zhang, Shaohuai Shi et al.ASPLOS 2025 · 12 citations
- Semantic Parallelism: Redefining Efficient MoE Inference via Model-Data Co-SchedulingYan Li, Zhenyu Zhang, Zhengang Wang, Pengfei chen et al.ICLR 2026 · 11 citations
- HierMoE: Accelerating MoE Training with Hierarchical Token Deduplication and Expert SwapWenxiang Lin, Xinglin Pan, Lin Zhang, Shaohuai Shi et al.INFOCOM 2026 · 7 citations
Builds on16
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao et al.CVPR 2022 · 2,138 citations
- GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen et al.ICLR 2021 · 1,954 citations
- Scaling Vision with Sparse Mixture of ExpertsCarlos Riquelme, Joan Puigcerver, Basil Mustafa, Maxim Neumann et al.NeurIPS 2021 · 1,213 citations
Related papers
- PipeMoE: Accelerating Mixture-of-Experts through Adaptive PipeliningShaohuai Shi, Xinglin Pan, Xiaowen Chu, Bo LiINFOCOM 2023 · 23 citations
- FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device PlacementXiaonan Nie, Xupeng Miao, Zilong Wang, Zichao Yang et al.SIGMOD 2023 · 40 citations
- Janus: A Unified Distributed Training Framework for Sparse Mixture-of-Experts ModelsJuncai Liu, Jessie Hui Wang, Yimin JiangSIGCOMM 2023 · 46 citations
- APTMoE: Affinity-Aware Pipeline Tuning for MoE Models on Bandwidth-Constrained GPU NodesYuanxin Wei, Jiangsu Du, Jiazhi Jiang, Xiao Shi et al.SC 2024 · 6 citations
- TA-MoE: Topology-Aware Large Scale Mixture-of-Expert TrainingChang Chen, Min Li, Zhihua Wu, Dianhai Yu et al.NeurIPS 2022 · 31 citations
