Organizations: SKLP, Institute of Computing Technology, Chinese Academy of Sciences, Beijing, China · University of Chinese Academy of Sciences, Beijing, China · University of Edinburgh, Edinburgh, United Kingdom
Mixture-of-Experts (MoE) have become a mainstream way to scale Large Language Models (LLMs), because each token activates only a small subset of experts, reducing inference cost. However, MoE decode remains highly memory-bound and exhibits strongly skewed, time-varying expert loads. 3D-stacked DRAM near-memory processing (NMP) provides the bandwidth that decode demands, yet its tiled organization makes load balancing expensive: expert parallelism (EP) preserves locality but suffers from hotspot-induced imbalance, while more distributed strategies weaken locality and increase NoC traffic. To address this locality-balance conflict, we observe that domain-specialized token routing creates offsetting expert-load fluctuations across decode steps, a property we call expert complementarity. Using this insight, we propose 3D-MoE, a hardware--software co-designed system for MoE decode on 3D-stacked NMP. 3D-MoE uses offline, one-time complementarity-guided grouping and locality-aware mapping to establish coarse-grained inter-group balance, handles residual intra-group hotspots through a lightweight Collaborative Memory-Network (CMN) that streams each hot expert's weight tiles once from its host DRAM channel to helper cores over a reconfigured local broadcast path, and uses cost-aware online remapping to remain robust to workload drift. Across MoE models, 3D-MoE achieves an average 4.63× MoE-layer speedup over EP and improves end-to-end throughput by 1.58×--1.86× over the strongest NMP baselines, with 2.11% additional logic-die area.
Figures & tables
Fig. 1: MoE workflow, latency breakdown, and device roofline comparison.
Fig. 2: Expert activation analysis on Qwen3-30B-A3B. (a) Expert hit rates across domains. (b) Inter-layer variation.
Fig. 3: Stacked-DRAM NMP system organization.
Fig. 4: A comparison of prior MoE deployment strategies and our proposed method.
Model
Complementary
Positive
Random
DeepSeek-V2-Lite
0.19
0.67
0.43
Qwen3-30B-A3B
0.25
0.71
0.46
GLM-4.5-Air
0.21
0.69
0.44
TABLE I: Domain-preference similarity across pair types.
Model
LMSys [ 85 ]
ShareGPT [ 49 ]
HumanEval [ 87 ]
DeepSeek (64 E)
7.1 / 82.8% / 75.7%
6.4 / 83.7% / 77.1%
5.8 / 82.2% / 77.3%
Qwen3 (128 E)
10.1 / 82.5% / 74.8%
10.9 / 86.0% / 72.1%
12.2 / 88.3% / 80.5%
GLM-4.5 (128 E)
9.8 / 82.8% / 70.6%
11.3 / 85.6% / 74.5%
12.5 / 87.7% / 79.4%
E : routed-expert count; entries are partners / coverage / cross-dataset retention.
TABLE II: Expert complementarity across models and datasets.
Fig. 5: Complementarity examples from layer 10 of DeepSeek-V2-Lite. (a) High-complementarity experts. (b) Low-complementarity experts.