Saved in:
Bibliographic Details
Main Authors: Huang, Haochen, Zhong, Shuzhang, Zhang, Zhe, Li, Shuangchen, Niu, Dimin, Zheng, Hongzhong, Wang, Runsheng, Li, Meng
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.09420
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908532950958080
author Huang, Haochen
Zhong, Shuzhang
Zhang, Zhe
Li, Shuangchen
Niu, Dimin
Zheng, Hongzhong
Wang, Runsheng
Li, Meng
author_facet Huang, Haochen
Zhong, Shuzhang
Zhang, Zhe
Li, Shuangchen
Niu, Dimin
Zheng, Hongzhong
Wang, Runsheng
Li, Meng
contents Large Language Models (LLMs) with Mixture-of-Expert (MoE) architectures achieve superior model performance with reduced computation costs, but at the cost of high memory capacity and bandwidth requirements. Near-Memory Processing (NMP) accelerators that stack memory directly on the compute through hybrid bonding have demonstrated high bandwidth with high energy efficiency, becoming a promising architecture for MoE models. However, as NMP accelerators comprise distributed memory and computation, how to map the MoE computation directly determines the LLM inference efficiency. Existing parallel mapping strategies, including Tensor Parallelism (TP) and Expert Parallelism (EP), suffer from either high communication costs or unbalanced computation utilization, leading to inferior efficiency. The dynamic routing mechanism of MoE LLMs further aggravates the efficiency challenges. Therefore, in this paper, we propose HD-MoE to automatically optimize the MoE parallel computation across an NMP accelerator. HD-MoE features an offline automatic hybrid parallel mapping algorithm and an online dynamic scheduling strategy to reduce the communication costs while maximizing the computation utilization. With extensive experimental results, we demonstrate that HD-MoE achieves a speedup ranging from 1.1x to 1.8x over TP, 1.1x to 1.5x over EP, and 1.0x to 1.4x over the baseline Hybrid TP-EP with Compute-Balanced parallelism strategies.
format Preprint
id arxiv_https___arxiv_org_abs_2509_09420
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle HD-MoE: Hybrid and Dynamic Parallelism for Mixture-of-Expert LLMs with 3D Near-Memory Processing
Huang, Haochen
Zhong, Shuzhang
Zhang, Zhe
Li, Shuangchen
Niu, Dimin
Zheng, Hongzhong
Wang, Runsheng
Li, Meng
Performance
Large Language Models (LLMs) with Mixture-of-Expert (MoE) architectures achieve superior model performance with reduced computation costs, but at the cost of high memory capacity and bandwidth requirements. Near-Memory Processing (NMP) accelerators that stack memory directly on the compute through hybrid bonding have demonstrated high bandwidth with high energy efficiency, becoming a promising architecture for MoE models. However, as NMP accelerators comprise distributed memory and computation, how to map the MoE computation directly determines the LLM inference efficiency. Existing parallel mapping strategies, including Tensor Parallelism (TP) and Expert Parallelism (EP), suffer from either high communication costs or unbalanced computation utilization, leading to inferior efficiency. The dynamic routing mechanism of MoE LLMs further aggravates the efficiency challenges. Therefore, in this paper, we propose HD-MoE to automatically optimize the MoE parallel computation across an NMP accelerator. HD-MoE features an offline automatic hybrid parallel mapping algorithm and an online dynamic scheduling strategy to reduce the communication costs while maximizing the computation utilization. With extensive experimental results, we demonstrate that HD-MoE achieves a speedup ranging from 1.1x to 1.8x over TP, 1.1x to 1.5x over EP, and 1.0x to 1.4x over the baseline Hybrid TP-EP with Compute-Balanced parallelism strategies.
title HD-MoE: Hybrid and Dynamic Parallelism for Mixture-of-Expert LLMs with 3D Near-Memory Processing
topic Performance
url https://arxiv.org/abs/2509.09420