paper-with-me

Papers

Speculative Decoding Meets Quantization: Compatibility Evaluation and Hierarchical Framework Design

2025-05-28 · Yudi Zhang, Weilin Zhao, Xu Han, Tiejun Zhao, Wang Xu, Hailong Cao, Conghui Zhu

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 forward pass, which increases computational effort. Quantization achieves this optimization by compressing weights and activations into lower bit-widths and also reduces computations via low-bit matrix multiplications. To further leverage their strengths, we investigate the integration of these two techniques. Surprisingly, experiments applying the advanced speculative decoding method EAGLE-2 to various quantized models reveal that the memory benefits from 4-bit weight quantization are diminished by the computational load from speculative decoding. Specifically, verifying a tree-style draft incurs significantly more time overhead than a single-token forward pass on 4-bit weight quantized models. This finding led to our new speculative decoding design: a hierarchical framework that employs a small model as an intermediate stage to turn tree-style drafts into sequence drafts, leveraging the memory access benefits of the target quantized model. Experimental results show that our hierarchical approach achieves a 2.78$\times$ speedup across various tasks for the 4-bit weight Llama-3-70B model on an A100 GPU, outperforming EAGLE-2 by 1.31$\times$. Code available at https://github.com/AI9Stars/SpecMQuant.

📄 PDF Abstract BibTeX arXiv:2505.22179

Code (1)

ai9stars/specmquant 공식 구현 pytorch

Tasks

GPUQuantization

Similar Papers 제목 키워드 기반

When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models

2024-06-11 · Haoran You, Yichao Fu, Zheng Wang, Amir Yazdanbakhsh 외

Autoregressive Large Language Models (LLMs) have achieved impressive performance in language tasks but face two significant bottlenecks: (1) quadratic complexity in the attention module as the number of tokens increases,…

Decoder

QSpec: Speculative Decoding with Complementary Quantization Schemes

2024-10-15 · Juntao Zhao, Wenhao Lu, Sheng Wang, Lingpeng Kong 외

Quantization has been substantially adopted to accelerate inference and reduce memory consumption of large language models (LLMs). While activation-weight joint quantization speeds up the inference process through low-pr…

Quantization

SpecServe: Efficient and SLO-Aware Large Language Model Serving with Adaptive Speculative Decoding

2025-03-07 · Kaiyu Huang, Hao Wu, Zhubo Shi, Han Zou 외

Large Language Model (LLM) services often face challenges in achieving low inference latency and meeting Service Level Objectives (SLOs) under dynamic request patterns. Speculative decoding, which exploits lightweight mo…

Language ModelingLanguage ModellingLarge Language Model

S3D: A Simple and Cost-Effective Self-Speculative Decoding Scheme for Low-Memory GPUs

2024-05-30 · Wei Zhong, Manasa Bharadwaj

Speculative decoding (SD) has attracted a significant amount of research attention due to the substantial speedup it can achieve for LLM inference. However, despite the high speedups they offer, speculative decoding meth…

GPUQuantization

ECHO: Elastic Speculative Decoding with Sparse Gating for High-Concurrency Scenarios

2026-03-10 · Xinyi Hu, Yuhao Shen, Baolin Zhang, Hengxin Zhang 외 arxiv

Speculative Decoding promises to accelerate the inference of Large Language Models, yet its efficacy often degrades in production-grade serving. Existing evaluations typically overlook the compute-bound nature of high-co…