paper-with-me

Papers

QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache

2025-02-05 · Rishabh Tiwari, Haocheng Xi, Aditya Tomar, Coleman Hooper, Sehoon Kim, Maxwell Horton, Mahyar Najibi, Michael W. Mahoney, Kurt Keutzer, Amir Gholami

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 is the primary bottleneck in terms of both GPU memory and latency, as the full KV cache must be loaded for each decoding step. While speculative decoding is a widely accepted technique to accelerate autoregressive decoding, existing methods often struggle to achieve significant speedups due to inefficient KV cache optimization strategies and result in low acceptance rates. To address these challenges, we propose a novel self-speculative decoding framework, QuantSpec, where the draft model shares the architecture of the target model but employs a hierarchical 4-bit quantized KV cache and 4-bit quantized weights for acceleration. QuantSpec maintains high acceptance rates ($>$90%) and reliably provides consistent end-to-end speedups upto $\sim2.5\times$, outperforming other self-speculative decoding methods that use sparse KV cache for long-context LLM inference. QuantSpec also reduces the memory requirements by $\sim 1.3\times$ compared to these alternatives.

📄 PDF Abstract BibTeX arXiv:2502.10424

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

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

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

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

Self Speculative Decoding for Diffusion Large Language Models

2025-10-05 · Yifeng Gao, Ziang Ji, Yuxuan Wang, Biqing Qi 외 arxiv

Diffusion-based Large Language Models (dLLMs) have emerged as a competitive alternative to autoregressive models, offering unique advantages through bidirectional attention and parallel generation paradigms. However, the…

Overcoming Joint Intractability with Lossless Hierarchical Speculative Decoding

2026-01-09 · Yuxuan Zhou, Fei Huang, Heng Li, Fengyi Wu 외 arxiv

Verification is a key bottleneck in improving inference speed while maintaining distribution fidelity in Speculative Decoding. Recent work has shown that sequence-level verification leads to a higher number of accepted t…