Towards MoE Deployment: Mitigating Inefficiencies in Mixture-of-Expert (MoE) Inference

Authors: Haiyang Huang, Newsha Ardalani, Anna Sun, Liu Ke, Hsien-Hsin S. Lee, Anjali Sridhar, Shruti Bhosale, Carole-Jean Wu, Benjamin Lee

Submitted to arXiv on 10 Mar. 2023
Abstract

Mixture-of-Experts (MoE) models have gained popularity in achieving state-of-the-art performance in a wide range of tasks in computer vision and natural language processing. They effectively expand the model capacity while incurring a minimal increase in computation cost during training. However, deploying such models for inference is difficult due to their large size and complex communication pattern. In this work, we provide a characterization of two MoE workloads, namely Language Modeling (LM) and Machine Translation (MT) and identify their sources of inefficiencies at deployment. We propose three optimization techniques to mitigate sources of inefficiencies, namely (1) Dynamic gating, (2) Expert Buffering, and (3) Expert load balancing. We show that dynamic gating improves maximum throughput by 6.21-11.23$\times$ for LM, 5.75-10.98$\times$ for MT Encoder and 2.58-5.71$\times$ for MT Decoder. It also reduces memory usage by up to 1.36$\times$ for LM and up to 1.1$\times$ for MT. We further propose Expert Buffering, a new caching mechanism that only keeps hot, active experts in GPU memory while buffering the rest in CPU memory. This reduces static memory allocation by up to 1.47$\times$. We finally propose a load balancing methodology that provides additional scalability to the workload.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same question
    Toward Efficient Inference for Mixture of Experts
    Haiyang Huang, Newsha Ardalani, Anna Sun et al. · 2024 · Neural Information Processing Systems · cited 64 times · Not summarized yet

    Toward Efficient Inference for Mixture of Experts characterizes language-modeling and machine-translation inference and proposes the same three deployment optimizations.

    Abstract

    Mixture-of-Experts (MoE) models have recently gained steam in achieving the state-of-the-art performance in a wide range of tasks in computer vision and natural language processing. They effectively expand the model capacity while incurring a minimal increase in computation cost during training. However, deploying such models for inference is difficult due to their large model size and complex communication pattern. In this work, we provide a characterization of two MoE workloads, namely Language Modeling (LM) and Machine Translation (MT) and identify their sources of inefficiencies at deployment. We propose three optimization techniques to mitigate sources of inefficiencies, namely (1) Dyna…

  2. Very close Another approach to the problem
    DS-MoE: Dynamic Expert Scheduling for Efficient MoE-based LLM Inference
    You Zhou, Qi Sun, Yu Li · 2025 · 2025 5th International Conference on Intelligent Technology and Embedded Systems (ICITES) · cited 1 time · Not summarized yet

    DS-MoE schedules offloaded experts for memory-constrained GPUs, addressing MoE inference efficiency through expert scheduling.

    Abstract

    Mixture-of-Experts (MoE) models achieve state-of-the-art performance across diverse machine learning tasks. A notable advantage is their ability to scale up the model size significantly while operating within a similar computational budget. However, their deployment on memory-constrained device remains a critical challenge. While GPUs enable high-speed inference, the enormous memory footprint of expert modules in MoE models often necessitates the use of offloading techniques to run the models-this in turn leads to frequent data transfers between the CPU and GPU. To tackle this issue, we propose DS-MoE, an MoE acceleration framework optimized for memory-constrained GPUs via expert offloading …

  3. Very close Another approach to the problem Cites this paper Uses this paper in depth
    Pre-gated MoE: An Algorithm-System Co-Design for Fast and Scalable Mixture-of-Expert Inference
    Ranggi Hwang, Jian-Yu Wei, Shi-Jie Cao et al. · 2023 · International Symposium on Computer Architecture · cited 176 times · Not summarized yet

    Pre-gated MoE co-designs an algorithm and system to reduce memory demands and accelerate MoE inference through pre-gating.

    Abstract

    Large language models (LLMs) based on transformers have made significant strides in recent years, the success of which is driven by scaling up their model size. Despite their high algorithmic performance, the computational and memory requirements of LLMs present unprecedented challenges. To tackle the high compute requirements of LLMs, the Mixture-ofExperts (MoE) architecture was introduced which is able to scale its model size without proportionally scaling up its computational requirements. Unfortunately, MoE’s high memory demands and dynamic activation of sparse experts restrict its applicability to real-world problems. Previous solutions that offload MoE’s memory-hungry expert parameters…

  4. Very close Another approach to the problem
    Fast MoE Inference via Predictive Prefetching and Expert Replication
    Ankit Jyothish, Ali Jannesari, Aishwarya Sarkar et al. · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet

    Fast MoE Inference predicts overloaded experts and replicates them to reduce inference latency and load imbalance.

    Abstract

    The Mixture of Experts (MoE) architecture has become a fundamental building block in state-of-the-art large language models (LLMs), improving domain-specific expertise in LLMs and scaling model capacity without proportionally increasing their computational overhead. However, MoE inference often suffers from suboptimal GPU utilization, load imbalance, and elevated latency arising from multiple tokens waiting on the same experts for their computation which arises from sparsity of expert activation. To address these challenges, we propose a dynamic expert replication strategy that predicts which experts are likely to be overloaded and replicates them for upcoming batches of tokens. The replicat…

  5. Very close Shared data, tool or method
    MoE-Inference-Bench: Performance Evaluation of Mixture of Expert Large Language and Vision Models
    Krishna Teja Chitty-Venkata, Sylvia Howland, G. Azar et al. · 2025 · SC25-W: Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis · cited 12 times · Not summarized yet

    MoE-Inference-Bench evaluates MoE inference performance across models and scenarios, providing a benchmark for deployment analysis.

    Abstract

    Mixture of Experts (MoE) models have enabled the scaling of Large Language Models (LLMs) and Vision Language Models (VLMs) by achieving massive parameter counts while maintaining computational efficiency. However, MoEs introduce several inference-time challenges, including load imbalance across experts and the additional routing computational overhead. To address these challenges and fully harness the benefits of MoE, a systematic evaluation of hardware acceleration techniques is essential. We present MoE-Inference-Bench, a comprehensive study to evaluate MoE performance across diverse scenarios. We analyze the impact of batch size, sequence length, and critical MoE hyperparameters such as F…

  6. Very close Broader context
    The Cost of Expertise: Understanding MoE Decode Performance
    Sami Abuzakuk, Oana Balmau, Jiaxuan Chen et al. · 2026 · EuroMLSys@EuroSys · cited 1 time · Not summarized yet

    The Cost of Expertise analyzes how MoE design choices affect decode-phase performance in language-model inference.

    Abstract

    Mixture-of-experts (MoE) architectures have emerged as a popular strategy for scaling large language models (LLMs), enabling substantial increases in parameter counts without proportional growth in per-token FLOPs. Existing analyses often model MoE inference as an attention backbone followed by a routing layer that is used to route tokens to multiple Feed-Forward Network (FFN). MoE-based LLMs expand the design space across sparsity and scaling dimensions, such as top-k routing, expert intermediate size and prompt-dependent expert activation whose systems implications remain underexplored especially for the decode-phase, despite decode dominating interactive inference workloads. We systematic…

  7. Very close Another approach to the problem Cites this paper
    Mixture of Cache-Conditional Experts for Efficient Mobile Device Inference
    Andrii Skliar, T. V. Rozendaal, Romain Lepert et al. · 2024 · Trans. Mach. Learn. Res. · cited 20 times · Not summarized yet

    Mixture of Cache-Conditional Experts uses cache-aware routing to exploit expert reuse during sequential generation on memory-constrained devices.

    Abstract

    Mixture of Experts (MoE) LLMs have recently gained attention for their ability to enhance performance by selectively engaging specialized subnetworks or"experts"for each input. However, deploying MoEs on memory-constrained devices remains challenging, particularly when generating tokens sequentially with a batch size of one, as opposed to typical high-throughput settings involving long sequences or large batches. In this work, we optimize MoE on memory-constrained devices where only a subset of expert weights fit in DRAM. We introduce a novel cache-aware routing strategy that leverages expert reuse during token generation to improve cache locality. We evaluate our approach on language modeli…

  8. Very close Another approach to the problem Cites this paper Uses this paper in depth
    Optimizing Mixture-of-Experts Inference Time via Model Deployment and Communication Scheduling
    Jialong Li, Shreyansh Tripathi, Lakshay Rastogi et al. · 2026 · IEEE Transactions on Networking · cited 4 times · Not summarized yet

    Comet optimizes model placement and all-to-all communication scheduling to address communication overhead and GPU utilization in MoE inference.

    Abstract

    As machine learning models scale in size and com plexity, their computational requirements become a significant barrier. Mixture-of-Experts (MoE) models alleviate this issue by selectively activating relevant experts. Despite this, MoE models are hindered by high communication overhead from all-to-all operations, low GPU utilization, and complications from heterogeneous GPU environments. This paper presents Comet, which optimizes both model deployment and all-to-all communication scheduling to address these challenges in MoE inference. Comet achieves minimal communication times by strategically ordering token transmissions in all-to-all communications. It improves GPU utilization by colocati…

Prior work it builds on

  1. Very close Groundwork for this paper Used in depth by this paper A method it uses
    Efficient Large Scale Language Modeling with Mixtures of Experts
    Mikel Artetxe, Shruti Bhosale, Naman Goyal et al. · 2021 · Conference on Empirical Methods in Natural Language Processing · cited 262 times · Not summarized yet

    Efficient Large Scale Language Modeling with Mixtures of Experts studies the compute efficiency and language-modeling performance of autoregressive MoE models.

    Abstract

    Mixture of Experts layers (MoEs) enable efficient scaling of language models through conditional computation. This paper presents a detailed empirical study of how autoregressive MoE language models scale in comparison with dense models in a wide range of settings: in- and out-of-domain language modeling, zero- and few-shot priming, and full-shot fine-tuning. With the exception of fine-tuning, we find MoEs to be substantially more compute efficient. At more modest training budgets, MoEs can match the performance of dense models using $\sim$4 times less compute. This gap narrows at scale, but our largest MoE model (1.1T parameters) consistently outperforms a compute-equivalent dense model (6.…

  2. Very close Groundwork for this paper Used in depth by this paper A method it uses
    DeepSpeed-MoE: Advancing Mixture-of-Experts Inference and Training to Power Next-Generation AI Scale
    Samyam Rajbhandari, Cong-Long Li, Z. Yao et al. · 2022 · International Conference on Machine Learning · cited 696 times · Not summarized yet

    DeepSpeed-MoE presents techniques for efficient MoE inference and training, addressing the deployment challenge discussed here.

    Abstract

    As the training of giant dense models hits the boundary on the availability and capability of the hardware resources today, Mixture-of-Experts (MoE) models become one of the most promising model architectures due to their significant training cost reduction compared to a quality-equivalent dense model. Its training cost saving is demonstrated from encoder-decoder models (prior works) to a 5x saving for auto-aggressive language models (this work along with parallel explorations). However, due to the much larger model size and unique architecture, how to provide fast MoE model inference remains challenging and unsolved, limiting its practical usage. To tackle this, we present DeepSpeed-MoE, an…

  3. Very close Groundwork for this paper Used in depth by this paper A method it uses
    Tutel: Adaptive Mixture-of-Experts at Scale
    Changho Hwang, Wei Cui, Yifan Xiong et al. · 2022 · Conference on Machine Learning and Systems · cited 348 times · Not summarized yet

    Tutel adapts parallelism and pipelining to dynamic expert workloads, targeting inefficient static execution in MoE systems.

    Abstract

    Sparsely-gated mixture-of-experts (MoE) has been widely adopted to scale deep learning models to trillion-plus parameters with fixed computational cost. The algorithmic performance of MoE relies on its token routing mechanism that forwards each input token to the right sub-models or experts. While token routing dynamically determines the amount of expert workload at runtime, existing systems suffer inefficient computation due to their static execution, namely static parallelism and pipelining, which does not adapt to the dynamic workload. We present Flex, a highly scalable stack design and implementation for MoE with dynamically adaptive parallelism and pipelining. Flex designs an identical …

  4. Very close Groundwork for this paper Used in depth by this paper A method it uses
    MoESys: A Distributed and Efficient Mixture-of-Experts Training and Inference System for Internet Services
    Dian-Hai Yu, Liang Shen, Hongxiang Hao et al. · 2022 · IEEE Transactions on Services Computing · cited 67 times · Not summarized yet

    MoESys develops a distributed MoE training and inference system for heterogeneous computing, including system-level efficiency improvements.

    Abstract

    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 Rasley et al. 2020 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…

  5. Very close Broader context A method it uses
    Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference
    Sneha Kudugunta, Yan-Ping Huang, Ankur Bapna et al. · 2021 · Conference on Empirical Methods in Natural Language Processing · cited 142 times · Not summarized yet

    Beyond Distillation investigates task-level routing to extract smaller deployable subnetworks from sparse multilingual translation models.

    Abstract

    Sparse Mixture-of-Experts (MoE) has been a successful approach for scaling multilingual translation models to billions of parameters without a proportional increase in training computation. However, MoE models are prohibitively large and practitioners often resort to methods such as distillation for serving. In this work, we investigate routing strategies at different granularity (token, sentence, task) in MoE models to bypass distillation. Experiments on WMT and a web-scale dataset suggest that task-level routing (task-MoE) enables us to extract smaller, ready-to-deploy sub-networks from large sparse models. On WMT, our task-MoE with 32 experts (533M parameters) outperforms the best perform…

Papers that cite it

  1. Very close Review Uses this paper in depth
    A Survey on Inference Optimization Techniques for Mixture of Experts Models
    Jia-Cheng Liu, Peng Tang, Wen-Feng Wang et al. · 2024 · ACM Computing Surveys · cited 80 times · Not summarized yet

    A Survey on Inference Optimization Techniques for Mixture of Experts Models reviews optimization approaches across the MoE inference system stack.

    Abstract

    The emergence of large-scale Mixture of Experts (MoE) models represents a significant advancement in artificial intelligence, offering larger model capacity and computational efficiency through conditional computation. However, deploying and running inference on these models presents significant challenges in computational resources, latency, and energy efficiency. This comprehensive survey analyzes optimization techniques for MoE models across the entire system stack. We first establish a taxonomical framework that categorizes optimization approaches into model-level, system-level, and hardware-level optimizations. At the model level, we examine architectural innovations including efficient…

  2. Very close Same question Uses this paper in depth
    MoNDE: Mixture of Near-Data Experts for Large-Scale Sparse Models
    Taehyun Kim, Kwanseok Choi, Youngmock Cho et al. · 2024 · Design Automation Conference · cited 26 times · Not summarized yet

    MoNDE addresses MoE inference when expert parameters exceed GPU memory by keeping hot experts on GPU and computing cold experts near data.

    Abstract

    Mixture-of-Experts (MoE) large language models (LLM) have memory requirements that often exceed the GPU memory capacity, requiring costly parameter movement from secondary memories to the GPU for expert computation. In this work, we present Mixture of Near-Data Experts (MoNDE), a near-data computing solution that efficiently enables MoE LLM inference. MoNDE reduces the volume of MoE parameter movement by transferring only the hot experts to the GPU, while computing the remaining cold experts inside the host memory device. By replacing the transfers of massive expert parameters with the ones of small activations, MoNDE enables far more communication-efficient MoE inference, thereby resulting in s…

  3. Very close Same question Uses this paper in depth
    Serving MoE Models on Resource-Constrained Edge Devices via Dynamic Expert Swapping
    Rui Kong, Yuan-Chun Li, Qing-Tian Feng et al. · 2025 · IEEE transactions on computers · cited 26 times · Not summarized yet

    PC-MoE serves MoE models on resource-constrained edge devices using observed expert-activation patterns to guide dynamic swapping.

    Abstract

    Mixture of experts (MoE) is a popular technique in deep learning that improves model capacity with conditionally-activated parallel neural network modules (experts). However, serving MoE models in resource-constrained latency-critical edge scenarios is challenging due to the significantly increased model size and complexity. In this paper, we first analyze the behavior pattern of MoE models in continuous inference scenarios, which leads to three key observations about the expert activations, including temporal locality, exchangeability, and skippable computation. Based on these observations, we introduce PC-MoE, an inference framework for resource-constrained continuous MoE model serving. Th…

  4. Very close Broader context
    MC-MoE: Mixture Compressor for Mixture-of-Experts LLMs Gains More
    Wei Huang, Yue Liao, Jian-Hui Liu et al. · 2024 · International Conference on Learning Representations · cited 52 times · Not summarized yet

    MC-MoE compresses MoE models to reduce expert memory consumption and loading latency, rather than optimizing deployment execution.

    Abstract

    Mixture-of-Experts large language models (MoE-LLMs) marks a significant step forward of language models, however, they encounter two critical challenges in practice: 1) expert parameters lead to considerable memory consumption and loading latency; and 2) the current activated experts are redundant, as many tokens may only require a single expert. Motivated by these issues, we investigate the MoE-LLMs and make two key observations: a) different experts exhibit varying behaviors on activation reconstruction error, routing scores, and activated frequencies, highlighting their differing importance, and b) not all tokens are equally important -- only a small subset is critical. Building on these …

  5. Very close Broader context
    Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Models
    Jingcong Liang, Siyuan Wang, Mi Tian et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 10 times · Not summarized yet

    Not All Models Suit Expert Offloading measures routing consistency to assess when caching experts in fast memory can work well.

    Abstract

    Mixture-of-Experts (MoE) enables efficient scaling of large language models (LLMs) with sparsely activated experts during inference. To effectively deploy large MoE models on memory-constrained devices, many systems introduce *expert offloading* that caches a subset of experts in fast memory, leaving others on slow memory to run on CPU or load on demand. While some research has exploited the locality of expert activations, where consecutive tokens activate similar experts, the degree of this **local routing consistency** varies across models and remains understudied. In this paper, we propose two metrics to measure local routing consistency of MoE models: (1) **Segment Routing Best Performan…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 31 October 2026.

The illustrated guide to the papers around a paper