arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11537cs.LG
收藏

通过预测性预取和专家复制实现快速MoE推理

Fast MoE Inference via Predictive Prefetching and Expert Replication

Iowa State University(爱荷华州立大学)

Ankit Jyothish, Ali Jannesari, Aishwarya Sarkar, Joseph Zuber

AI总结:

本文提出动态专家复制策略,通过预测过载专家并复制以提升并行性,减少GPU空闲时间,实现更快的MoE推理,实验表明在Switch-base-128和Switch-base-256模型上推理速度提升达3倍,性能损失低于5%。

摘要:

本文提出动态专家复制策略,通过预测过载专家并复制以提升并行性,减少GPU空闲时间,实现更快的MoE推理,实验表明在Switch-base-128和Switch-base-256模型上推理速度提升达3倍,性能损失低于5%。

英文摘要:

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 replicated experts process batch tokens concurrently across layers, which leads to improved parallelism, shorter GPU idle time, and significantly faster inference. Experimental evaluations conducted on large-scale MoE models, including Switch-base-128 and Switch-base-256, demonstrate that our method achieves near-complete GPU utilization (approx 100%), leading to upto 3x improvement in inference speed while preserving approximately 90-95% of the performance of baseline architectures

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑