Lune

ICML2025顶会

QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache

Rishabh Tiwari, Haocheng Xi, Aditya Tomar, Coleman Richard Charles 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 endto-end speedups upto ∼ 2.5×, outperforming other self-speculative decoding methods that use sparse KV cache for long-context LLM inference. QuantSpec also reduces the memory requirements by ∼ 1.3× compared to these alternatives.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Efficient Streaming Language Models with Attention Sinks 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • Efficient Streaming Language Models with Attention Sinks 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Efficient Streaming Language Models with Attention Sinks
  • Efficient Streaming Language Models with Attention Sinks 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification 引用了 Efficient Streaming Language Models with Attention Sinks
  • LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification 引用了 Fast Inference from Transformers via Speculative Decoding
  • FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding 引用了 Efficient Streaming Language Models with Attention Sinks
  • Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding 引用了 LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification
  • Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • Draft-based Approximate Inference for LLMs 引用了 Efficient Streaming Language Models with Attention Sinks
  • Draft-based Approximate Inference for LLMs 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Draft-based Approximate Inference for LLMs 引用了 Fast Inference from Transformers via Speculative Decoding
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Compressive Transformers for Long-Range Sequence Modelling
  • MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models 引用了 Fast Inference from Transformers via Speculative Decoding
  • Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention 引用了 Efficient Streaming Language Models with Attention Sinks
  • Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and VerificationPenghui Yang, Cunxiao Du, Fengzhuo Zhang, Haonan Wang 等ACL 2026 · 12 次引用
  2. Draft-based Approximate Inference for LLMsKevin Galim, Ethan Ewer, Wonjun Kang, Minjae Lee 等ICLR 2026 · 5 次引用
  3. MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language ModelsNurbek Tastan, Stefanos Laskaridis, Karthik Nandakumar, Samuel HorváthICML 2026 · 3 次引用
  4. Vegas: Self-Speculative Decoding with Verification-Guided Sparse AttentionYikang Yue, Yuqi Xue, Jian HuangICML 2026 · 2 次引用
  5. Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative DecodingWen-Hung Lee, Jian-Jia Chen, Xiaolin Lin, Pei-Shuo Wang 等ICML 2026

它引用的 Paper19

  1. FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
  2. Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han 等ICLR 2024 · 1,714 次引用
  3. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  4. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen 等NeurIPS 2023 · 1,003 次引用
  5. Compressive Transformers for Long-Range Sequence ModellingJack W. Rae, Anna Potapenko, Siddhant M. Jayakumar, Chloe Hillier 等ICLR 2020 · 833 次引用

相关 Paper

  1. QSpec: Speculative Decoding with Complementary Quantization SchemesJuntao Zhao, Wenhao Lu, Sheng Wang, Lingpeng Kong 等EMNLP 2025
  2. BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV CacheDayou Du, Shijie Cao, Jianyi Cheng, Luo Mai 等HPCA 2026
  3. Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative DecodingPei-Shuo Wang, Jian-Jia Chen, Chun-Che Yang, Chi-Chih Chang 等NeurIPS 2025 · 1 次引用
  4. EdgeSpec: Distributed Speculative Decoding for Large Language Models at EdgeYulin Chen, Meng Tian, Chao Qiu, Xiaofei Wang 等INFOCOM 2026
  5. MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative DecodingRanajoy Sadhukhan, Jian Chen, Zhuoming Chen, Vashisth Tiwari 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖