paper-with-me

Papers

Speculative MoE: Communication Efficient Parallel MoE Inference with Speculative Token and Expert Pre-scheduling

2025-03-06 · Yan Li, Pengfei Zheng, Shuang Chen, Zewei Xu, Yuanhao Lai, Yunfei Du, Zhengang Wang

MoE (Mixture of Experts) prevails as a neural architecture that can scale modern transformer-based LLMs (Large Language Models) to unprecedented scales. Nevertheless, large MoEs' great demands of computing power, memory capacity and memory bandwidth make scalable serving a fundamental challenge and efficient parallel inference has become a requisite to attain adequate throughput under latency constraints. DeepSpeed-MoE, one state-of-the-art MoE inference framework, adopts a 3D-parallel paradigm including EP (Expert Parallelism), TP (Tensor Parallel) and DP (Data Parallelism). However, our analysis shows DeepSpeed-MoE's inference efficiency is largely bottlenecked by EP, which is implemented with costly all-to-all collectives to route token activation. Our work aims to boost DeepSpeed-MoE by strategically reducing EP's communication overhead with a technique named Speculative MoE. Speculative MoE has two speculative parallelization schemes, speculative token shuffling and speculative expert grouping, which predict outstanding tokens' expert routing paths and pre-schedule tokens and experts across devices to losslessly trim EP's communication volume. Besides DeepSpeed-MoE, we also build Speculative MoE into a prevailing MoE inference engine SGLang. Experiments show Speculative MoE can significantly boost state-of-the-art MoE inference frameworks on fast homogeneous and slow heterogeneous interconnects.

📄 PDF Abstract BibTeX arXiv:2503.04398

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-ExpertsScheduling

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Speculative Decoding in Decentralized LLM Inference: Turning Communication Latency into Computation Throughput

2025-11-13 · Jingwei Song, Wanyi Chen, Xinyuan Song, Max 외 arxiv

Speculative decoding accelerates large language model (LLM) inference by using a lightweight draft model to propose tokens that are later verified by a stronger target model. While effective in centralized systems, its b…

ParallelSpec: Parallel Drafter for Efficient Speculative Decoding

2024-10-08 · Zilin Xiao, Hongming Zhang, Tao Ge, Siru Ouyang 외

Speculative decoding has proven to be an efficient solution to large language model (LLM) inference, where the small drafter predicts future tokens at a low cost, and the target model is leveraged to verify them in paral…

Language ModelingLanguage ModellingLarge Language ModelText Generation

CoVSpec: Efficient Device-Edge Co-Inference for Vision-Language Models via Speculative Decoding

2026-05-04 · Yuanyuan Jia, Shunpu Tang, Qianqian Yang arxiv

Vision-language models (VLMs) have demonstrated strong capabilities in multimodal perception and reasoning. However, deploying large VLMs on mobile devices remains challenging due to their substantial computational and m…

FlowSpec: Continuous Pipelined Speculative Decoding for Efficient Distributed LLM Inference

2025-07-03 · Xing Liu, Lizhuo Luo, Ming Tang, Chao Huang 외 arxiv

Distributed inference serves as a promising approach to enabling the inference of large language models (LLMs) at the network edge. It distributes the inference process to multiple devices to ensure that the LLMs can fit…

Collaborative Speculative Inference for Efficient LLM Inference Serving

2025-03-13 · Luyao Gao, Jianchun Liu, Hongli Xu, Xichong Zhang 외

Speculative inference is a promising paradigm employing small speculative models (SSMs) as drafters to generate draft tokens, which are subsequently verified in parallel by the target large language model (LLM). This app…

Large Language ModelScheduling