Lune

AAAI2025顶会

Adaptive Draft-Verification for Efficient Large Language Model Decoding

Xukun Liu, Bowen Lei, Ruqi Zhang, Dongkuan Xu

摘要

Large language model (LLM) decoding involves generating a sequence of tokens based on a given context, where each token is predicted one at a time using the model's learned probabilities.

The typical autoregressive decoding method requires a separate forward pass through the model for each token generated, which is computationally inefficient and poses challenges for deploying LLMs in latency-sensitive scenarios.

The main limitations of current decoding methods stem from their inefficiencies and resource demands. Existing approaches either necessitate fine-tuning smaller models, which is resource-intensive, or relying on fixed retrieval schemes to construct drafts for the next tokens, which lack adaptability and fail to generalize across different models and contexts.

To address these issues, we introduce a novel methodology called Adaptix, which accelerates LLM decoding without requiring fine-tuning. Our approach involves an adaptive draft-verification process that evolves over time to improve efficiency. We utilize a tri-gram matrix-based LLM representation to dynamically approximate the output distribution of the LLM, allowing the model to adjust to changing token probabilities during the decoding process. Additionally, we implement a draft construction mechanism that effectively balances exploration and exploitation, ensuring that the drafts generated are both diverse and close to the true output distribution of the LLM.

The importance of this design lies in its ability to optimize the draft distribution adaptively, leading to faster and more accurate decoding. Through extensive experiments on various benchmark datasets and LLM architectures, we demonstrate that Adaptix significantly accelerates the decoding process while maintaining high accuracy, making it suitable for deployment in a wide range of practical applications.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • CopySpec: Accelerating LLMs with Speculative Copy-and-Paste 引用了 Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
  • CopySpec: Accelerating LLMs with Speculative Copy-and-Paste 引用了 Fast Inference from Transformers via Speculative Decoding
  • FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU 引用了 Language Models are Few-Shot Learners
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Language Models are Few-Shot Learners
  • Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads 引用了 Language Models are Few-Shot Learners
  • Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads 引用了 Fast Inference from Transformers via Speculative Decoding
  • Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance 引用了 DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative Decoding
  • Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance 引用了 Language Models are Few-Shot Learners
  • Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence Acceptance 引用了 Fast Inference from Transformers via Speculative Decoding
  • Fast Inference from Transformers via Speculative Decoding 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. DREAM: Drafting with Refined Target Features and Entropy-Adaptive Cross-Attention Fusion for Multimodal Speculative DecodingYunhai Hu, Tianhua Xia, Zining Liu, Rahul Raman 等NeurIPS 2025 · 15 次引用
  2. Variational Speculative Decoding: Rethinking Draft Training from Token Likelihood to Sequence AcceptanceXiandong Zou, Jianshu Li, Jing Huang, Pan ZhouICML 2026 · 2 次引用
  3. CopySpec: Accelerating LLMs with Speculative Copy-and-PasteRazvan-Gabriel Dumitru, Minglai Yang, Vikas Yadav, Mihai SurdeanuEMNLP 2025

它引用的 Paper11

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  3. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  4. FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUYing Sheng, Lianmin Zheng, Binhang Yuan, Zhuohan Li 等ICML 2023 · 683 次引用
  5. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding HeadsTianle Cai, Yuhong Li, Zhengyang Geng, Hongwu Peng 等ICML 2024 · 669 次引用

相关 Paper

  1. Multi-Branch Self-Drafting for LLM Inference AccelerationZipeng Gao, Qingrong Xia, Tong Xu, Xinyu Duan 等AAAI 2025 · 2 次引用
  2. FractalLLM: Lossless Self-Speculative Decoding with Layer Embedded Self-CompressionJuhyeong Kim, Sangyeon Yu, Gyunyeop Kim, Sangwoo KangEMNLP Findings 2025
  3. AdaDecode: Accelerating LLM Decoding with Adaptive Layer ParallelismZhepei Wei, Wei-Lin Chen, Xinyu Zhu, Yu MengICML 2025
  4. SpecBound: Adaptive Bounded Self-Speculation with Layer-wise Confidence CalibrationZhuofan Wen, Yang FengACL Findings 2026
  5. Accelerating Diffusion LLMs via Adaptive Parallel DecodingDaniel Israel, Guy Van den Broeck, Aditya GroverNeurIPS 2025 · 114 次引用
黄昏的海面,两侧是细线勾勒的悬崖