English

MoNTA: Accelerating Mixture-of-Experts Training with Network-Traffc-Aware Parallel Optimization

Machine Learning 2024-11-04 v1 Artificial Intelligence

Abstract

The Mixture of Experts (MoE) is an advanced model architecture in the industry that combines multiple specialized expert models from various domains into a single supermodel. This approach enables the model to scale without significantly increasing the computational costs of training and inference, while maximizing model performance. However, current distributed training frameworks do not consider the ultimate optimization of communication, especially for large base models. This paper proposes a network-traffic-aware parallel optimization method that selects the optimal parallel strategy based on the communication volume, and the training cluster's inter-node and intra-node network topologies. Compared to the DeepSpeed, MoNTA achieves an 8x increase in AllToAll communication performance under 8-card tensor parallelism. Compared to the baseline, training a 2x70B model using 16 A800 cards, with an 8K sequence, results in a 13% overall latency performance improvement. Project Page: https://github.com/EnflameTechnology/DeepSpeed.

Keywords

Cite

@article{arxiv.2411.00662,
  title  = {MoNTA: Accelerating Mixture-of-Experts Training with Network-Traffc-Aware Parallel Optimization},
  author = {Jingming Guo and Yan Liu and Yu Meng and Zhiwei Tao and Banglan Liu and Gang Chen and Xiang Li},
  journal= {arXiv preprint arXiv:2411.00662},
  year   = {2024}
}
R2 v1 2026-06-28T19:44:23.262Z