MoE-CAP: Benchmarking Cost, Accuracy and Performance of Sparse Mixture-of-Experts Systems
Yinsicheng Jiang, Yao Fu, Yeqi Huang, Ping Nie, Zhan Lu, Leyang Xue, Congjie He, Man-Kit Sit, Jilong Xue, Li Dong, Ziming Miao, Dayou Du, Tairan Xu, Kai Zou, Edoardo Ponti, Luo Mai
TL;DR
MoE-CAP tackles the challenge of benchmarking sparse Mixture-of-Experts systems by formalizing a CAP (Cost–Accuracy–Performance) framework that accounts for heterogeneous hardware and sparse activation patterns. It introduces a complete cost model, a CAP radar visualization, and sparsity-aware metrics—S-MBU and S-MFU—to accurately quantify resource usage and guide deployment decisions. The approach demonstrates that existing benchmarks overestimate resource costs due to ignoring routing and activation sparsity, and provides an automated, cross-framework evaluation pipeline supported by real-world datasets. Overall, MoE-CAP enables principled, hardware-aware comparisons of MoE designs and promotes co-design of models and systems for practical, cost-effective deployment.
Abstract
The sparse Mixture-of-Experts (MoE) architecture is increasingly favored for scaling Large Language Models (LLMs) efficiently, but it depends on heterogeneous compute and memory resources. These factors jointly affect system Cost, Accuracy, and Performance (CAP), making trade-offs inevitable. Existing benchmarks often fail to capture these trade-offs accurately, complicating practical deployment decisions. To address this, we introduce MoE-CAP, a benchmark specifically designed for MoE systems. Our analysis reveals that achieving an optimal balance across CAP is difficult with current hardware; MoE systems typically optimize two of the three dimensions at the expense of the third-a dynamic we term the MoE-CAP trade-off. To visualize this, we propose the CAP Radar Diagram. We further introduce sparsity-aware performance metrics-Sparse Memory Bandwidth Utilization (S-MBU) and Sparse Model FLOPS Utilization (S-MFU)-to enable accurate performance benchmarking of MoE systems across diverse hardware platforms and deployment scenarios.
