paper-with-me

홈 › Papers

MoESys: A Distributed and Efficient Mixture-of-Experts Training and Inference System for Internet Services

2022-05-20 · dianhai yu, Liang Shen, Hongxiang Hao, Weibao Gong, HuaChao Wu, Jiang Bian, LiRong Dai, Haoyi Xiong

While modern internet services, such as chatbots, search engines, and online advertising, demand the use of large-scale deep neural networks (DNNs), distributed training and inference over heterogeneous computing systems are desired to facilitate these DNN models. Mixture-of-Experts (MoE) is one the most common strategies to lower the cost of training subject to the overall size of models/data through gating and parallelism in a divide-and-conquer fashion. While DeepSpeed has made efforts in carrying out large-scale MoE training over heterogeneous infrastructures, the efficiency of training and inference could be further improved from several system aspects, including load balancing, communication/computation efficiency, and memory footprint limits. In this work, we present a novel MoESys that boosts efficiency in both large-scale training and inference. Specifically, in the training procedure, the proposed MoESys adopts an Elastic MoE training strategy with 2D prefetch and Fusion communication over Hierarchical storage, so as to enjoy efficient parallelisms. For scalable inference in a single node, especially when the model size is larger than GPU memory, MoESys builds the CPU-GPU memory jointly into a ring of sections to load the model, and executes the computation tasks across the memory sections in a round-robin manner for efficient inference. We carried out extensive experiments to evaluate MoESys, where MoESys successfully trains a Unified Feature Optimization (UFO) model with a Sparsely-Gated Mixture-of-Experts model of 12B parameters in 8 days on 48 A100 GPU cards. The comparison against the state-of-the-art shows that MoESys outperformed DeepSpeed with 33% higher throughput (tokens per second) in training and 13% higher throughput in inference in general. Particularly, under unbalanced MoE Tasks, e.g., UFO, MoESys achieved 64% higher throughput with 18% lower memory footprints.

📄 PDF Abstract BibTeX arXiv:2205.10034

Code (1)

PaddlePaddle/FleetX 공식 구현 paddle

Tasks

CPUDistributed ComputingGPUMixture-of-Experts

Similar Papers 제목 키워드 기반

Federation of Experts: Communication Efficient Distributed Inference for Large Language Models

2026-05-07 · Muhammad Shahir Abdurrahman, Chun Deng, Azalia Mirhoseini, Philip Levis arxiv

Mixture of experts has emerged as the primary mechanism for making Large Language Models (LLMs) computationally efficient. However, in distributed settings, communicating token embeddings between experts is a significant…

Mixture of Tunable Experts - Behavior Modification of DeepSeek-R1 at Inference Time

2025-02-16 · Robert Dahlke, Henrik Klagges, Dan Zecha, Benjamin Merkel 외

We present the Mixture-of-Tunable-Experts (MoTE), a method that extends the Mixture-of-Experts architecture of Large Language Models (LLMs). Without additional training, MoTE enables meaningful and focused behavior chang…

Mixture-of-Experts

Mixture of Experts in a Mixture of RL settings

2024-06-26 · Timon Willi, Johan Obando-Ceron, Jakob Foerster, Karolina Dziugaite 외

Mixtures of Experts (MoEs) have gained prominence in (self-)supervised learning due to their enhanced inference efficiency, adaptability to distributed training, and modularity. Previous research has illustrated that MoE…

Deep Reinforcement LearningMixture-of-ExpertsSelf-Supervised Learning

Exploiting Inter-Layer Expert Affinity for Accelerating Mixture-of-Experts Model Inference

2024-01-16 · Jinghan Yao, Quentin Anthony, Aamir Shafi, Hari Subramoni 외

In large language models like the Generative Pre-trained Transformer, the Mixture of Experts paradigm has emerged as a powerful technique for enhancing model expressiveness and accuracy. However, deploying GPT MoE models…

GPUMixture-of-Experts

SlimCaching: Edge Caching of Mixture-of-Experts for Distributed Inference

2025-07-09 · Qian Chen, Xianhao Chen, Kaibin Huang arxiv

Mixture-of-Experts (MoE) models improve the scalability of large language models (LLMs) by activating only a small subset of relevant experts per input. However, the sheer number of expert networks in an MoE model introd…