paper-with-me

홈 › Papers

MoE-SpeQ: Speculative Quantized Decoding with Proactive Expert Prefetching and Offloading for Mixture-of-Experts

2025-11-18 · Wenfeng Wang, Jiacheng Liu, Xiaofeng Hou, Xinfeng Xia, Peng Tang, Mingxuan Zhang, Chao Li, Minyi Guo arxiv

The immense memory requirements of state-of-the-art Mixture-of-Experts (MoE) models present a significant challenge for inference, often exceeding the capacity of a single accelerator. While offloading experts to host memory is a common solution, it introduces a severe I/O bottleneck over the PCIe bus, as the data-dependent nature of expert selection places these synchronous transfers directly on the critical path of execution, crippling performance. This paper argues that the I/O bottleneck can be overcome by trading a small amount of cheap, on-device computation to hide the immense cost of data movement. We present MoE-SpeQ, a new inference system built on a novel co-design of speculative execution and expert offloading. MoE-SpeQ employs a small, on-device draft model to predict the sequence of required experts for future tokens. This foresight enables a runtime orchestrator to prefetch these experts from host memory, effectively overlapping the expensive I/O with useful computation and hiding the latency from the critical path. To maximize performance, an adaptive governor, guided by an Amortization Roofline Model, dynamically tunes the speculation strategy to the underlying hardware. Our evaluation on memory-constrained devices shows that for the Phi-MoE model, MoE-SpeQ achieves at most 2.34x speedup over the state-of-the-art offloading framework. Our work establishes a new, principled approach for managing data-dependent memory access in resource-limited environments, making MoE inference more accessible on commodity hardware.

📄 PDF Abstract BibTeX arXiv:2511.14102

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Speculative Ad-hoc Querying

2025-03-02 · Haoyu Li, Srikanth Kandula, Maria Angels de Luis Balaguer, Aditya Akella 외

Analyzing large datasets requires responsive query execution, but executing SQL queries on massive datasets can be slow. This paper explores whether query execution can begin even before the user has finished typing, all…

Speculative Decoding Meets Quantization: Compatibility Evaluation and Hierarchical Framework Design

2025-05-28 · Yudi Zhang, Weilin Zhao, Xu Han, Tiejun Zhao 외

Speculative decoding and quantization effectively accelerate memory-bound inference of large language models. Speculative decoding mitigates the memory bandwidth bottleneck by verifying multiple tokens within a single fo…

GPUQuantization

QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache

2025-02-05 · Rishabh Tiwari, Haocheng Xi, Aditya Tomar, Coleman Hooper 외

Large Language Models (LLMs) are increasingly being deployed on edge devices for long-context settings, creating a growing need for fast and efficient long-context inference. In these scenarios, the Key-Value (KV) cache …

GPU

ML-SpecQD: Multi-Level Speculative Decoding with Quantized Drafts

2025-03-17 · Evangelos Georganas, Dhiraj Kalamkar, Alexander Kozlov, Alexander Heinecke

Speculative decoding (SD) has emerged as a method to accelerate LLM inference without sacrificing any accuracy over the 16-bit model inference. In a typical SD setup, the idea is to use a full-precision, small, fast mode…

Quantization

Stochastic Precision Ensemble: Self-Knowledge Distillation for Quantized Deep Neural Networks

2020-09-30 · Yoonho Boo, Sungho Shin, Jungwook Choi, Wonyong Sung

The quantization of deep neural networks (QDNNs) has been actively studied for deployment in edge devices. Recent studies employ the knowledge distillation (KD) method to improve the performance of quantized networks. In…

image-classificationImage ClassificationKnowledge DistillationQuantization+3