Saved in:
Bibliographic Details
Main Authors: Yang, Haoqi, Shi, Luohe, Li, Qiwei, Li, Zuchao, Wang, Ping, Du, Bo, Shen, Mengjia, Zhao, Hai
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.03531
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912362681860096
author Yang, Haoqi
Shi, Luohe
Li, Qiwei
Li, Zuchao
Wang, Ping
Du, Bo
Shen, Mengjia
Zhao, Hai
author_facet Yang, Haoqi
Shi, Luohe
Li, Qiwei
Li, Zuchao
Wang, Ping
Du, Bo
Shen, Mengjia
Zhao, Hai
contents Sparse Mixture of Experts (MoE) large language models (LLMs) are gradually becoming the mainstream approach for ultra-large-scale models. Existing optimization efforts for MoE models have focused primarily on coarse-grained MoE architectures. With the emergence of DeepSeek Models, fine-grained MoE models are gaining popularity, yet research on them remains limited. Therefore, we want to discuss the efficiency dynamic under different service loads. Additionally, fine-grained models allow deployers to reduce the number of routed experts, both activated counts and total counts, raising the question of how this reduction affects the trade-off between MoE efficiency and performance. Our findings indicate that while deploying MoE models presents greater challenges, it also offers significant optimization opportunities. Reducing the number of activated experts can lead to substantial efficiency improvements in certain scenarios, with only minor performance degradation. Reducing the total number of experts provides limited efficiency gains but results in severe performance degradation. Our method can increase throughput by at least 10\% without any performance degradation. Overall, we conclude that MoE inference optimization remains an area with substantial potential for exploration and improvement.
format Preprint
id arxiv_https___arxiv_org_abs_2505_03531
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Faster MoE LLM Inference for Extremely Large Models
Yang, Haoqi
Shi, Luohe
Li, Qiwei
Li, Zuchao
Wang, Ping
Du, Bo
Shen, Mengjia
Zhao, Hai
Computation and Language
Machine Learning
Sparse Mixture of Experts (MoE) large language models (LLMs) are gradually becoming the mainstream approach for ultra-large-scale models. Existing optimization efforts for MoE models have focused primarily on coarse-grained MoE architectures. With the emergence of DeepSeek Models, fine-grained MoE models are gaining popularity, yet research on them remains limited. Therefore, we want to discuss the efficiency dynamic under different service loads. Additionally, fine-grained models allow deployers to reduce the number of routed experts, both activated counts and total counts, raising the question of how this reduction affects the trade-off between MoE efficiency and performance. Our findings indicate that while deploying MoE models presents greater challenges, it also offers significant optimization opportunities. Reducing the number of activated experts can lead to substantial efficiency improvements in certain scenarios, with only minor performance degradation. Reducing the total number of experts provides limited efficiency gains but results in severe performance degradation. Our method can increase throughput by at least 10\% without any performance degradation. Overall, we conclude that MoE inference optimization remains an area with substantial potential for exploration and improvement.
title Faster MoE LLM Inference for Extremely Large Models
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2505.03531