paper-with-me

홈 › Papers

DuoDecoding: Hardware-aware Heterogeneous Speculative Decoding with Dynamic Multi-Sequence Drafting

2025-03-02 · Kai Lv, Honglin Guo, Qipeng Guo, Xipeng Qiu

Large language models (LLMs) exhibit exceptional performance across a wide range of tasks; however, their token-by-token autoregressive generation process significantly hinders inference speed. Speculative decoding presents a promising draft-then-verify framework that reduces generation latency while maintaining output distribution fidelity. Nevertheless, the draft model introduces additional computational overhead, becoming a performance bottleneck and increasing the time to first token (TTFT). Previous approaches to mitigate draft model overhead have primarily relied on heuristics and generally failed to match the quality of the draft language models. To address these challenges, we propose DuoDecoding, a novel approach that strategically deploys the draft and target models on the CPU and GPU respectively, enabling parallel decoding while preserving draft quality. Our method incorporates a hardware-aware optimal draft budget to minimize idle times and employs dynamic multi-sequence drafting to enhance draft quality. Extensive experiments across seven tasks show that DuoDecoding achieves up to 2.61x speedup in generation latency, while reducing TTFT to 83% of that in conventional speculative decoding. The Code is available at https://github.com/KaiLv69/DuoDecoding.

📄 PDF Abstract BibTeX arXiv:2503.00784

Code (1)

kailv69/duodecoding 공식 구현 pytorch

Tasks

CPUGPU

Similar Papers 제목 키워드 기반

Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding

2024-02-19 · Zhuoming Chen, Avner May, Ruslan Svirschevski, Yuhsun Huang 외

As the usage of large language models (LLMs) grows, performing efficient inference with these models becomes increasingly important. While speculative decoding has recently emerged as a promising direction for speeding u…

AHASD: Asynchronous Heterogeneous Architecture for LLM Adaptive Drafting Speculative Decoding on Mobile Devices

2026-04-28 · Ma Zirui, Fan Zhihua, Li Wenxing, Wu Haibin 외 arxiv

Speculative decoding enhances the inference efficiency of large language models (LLMs) by generating drafts using a small draft language model (DLM) and verifying them in batches with a large target language model (TLM).…

STree: Speculative Tree Decoding for Hybrid State-Space Models

2025-05-20 · Yangchao Wu, Zongyue Qin, Alex Wong, Stefano Soatto

Speculative decoding is a technique to leverage hardware concurrency to improve the efficiency of large-scale autoregressive (AR) Transformer models by enabling multiple steps of token generation in a single forward pass…

State Space Models

WISV: Wireless-Informed Semantic Verification for Distributed Speculative Decoding in Device-Edge LLM Inference

2026-04-20 · Zixuan Liu, Zhiyong Chen, Nan Xue, Shengkang Chen 외 arxiv

While distributed device-edge speculative decoding enhances resource utilization across heterogeneous nodes, its performance is often bottlenecked by conventional token-level verification strategies. Such rigid alignment…

Bastion: Budget-Aware Speculative Decoding with Tree-structured Block Diffusion Drafting

2026-05-28 · Soowon Oh, Nam Cao, Yujin Kim, Hojung Jung 외 arxiv

Block-diffusion drafters have recently emerged as a powerful alternative for speculative decoding by predicting multiple future-token distributions in a single parallel step. However, since these parallel predictions are…