Lune

EMNLP Findings2024

Draft on the Fly: Adaptive Self-Speculative Decoding using Cosine Similarity

Michael R. Metel, Peng Lu, Boxing Chen, Mehdi Rezagholizadeh, Ivan Kobyzev

摘要

We present a simple on the fly method for faster inference of large language models. Unlike other (self-)speculative decoding techniques, our method does not require fine-tuning or black-box optimization to generate a fixed draft model, relying instead on simple rules to generate varying draft models adapted to the input context. We show empirically that our lightweight algorithm is competitive with the current SOTA for self-speculative decoding, while being a truly plug-and-play method.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding 引用了 EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
  • Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding 引用了 Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads
  • Speculate Deep and Accurate: Lossless and Training-Free Acceleration for Offloaded LLMs via Substitute Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack Problem 引用了 Fast Inference from Transformers via Speculative Decoding
  • polybasic Speculative Decoding Through a Theoretical Perspective 引用了 Fast Inference from Transformers via Speculative Decoding
  • EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty 引用了 Fast Inference from Transformers via Speculative Decoding
  • Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads 引用了 Fast Inference from Transformers via Speculative Decoding
  • The Unreasonable Ineffectiveness of the Deeper Layers 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. 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 次引用
  2. KnapSpec: Self-Speculative Decoding via Adaptive Layer Selection as a Knapsack ProblemSeongjin Cha, Gyuwan Kim, Dongsu Han, Tao Yang 等ICML 2026
  3. polybasic Speculative Decoding Through a Theoretical PerspectiveRuilin Wang, Huixia Li, Yuexiao Ma, Xiawu Zheng 等ICML 2025

它引用的 Paper6

  1. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  2. Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding HeadsTianle Cai, Yuhong Li, Zhengyang Geng, Hongwu Peng 等ICML 2024 · 669 次引用
  3. EAGLE: Speculative Sampling Requires Rethinking Feature UncertaintyYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangICML 2024 · 424 次引用
  4. Transformer Layers as PaintersQi Sun, Marc Pickett, Aakash Kumar Nain, Llion JonesAAAI 2025 · 49 次引用
  5. The Unreasonable Ineffectiveness of the Deeper LayersAndrey Gromov, Kushal Tirumala, Hassan Shapourian, Paolo Glorioso 等ICLR 2025

相关 Paper

  1. A Drop-In Solution for On-the-Fly Adaptation of Speculative Decoding in Large Language ModelsJiesong Liu, Brian Park, Xipeng ShenACL 2025 · 2 次引用
  2. SWIFT: On-the-Fly Self-Speculative Decoding for LLM Inference AccelerationHeming Xia, Yongqi Li, Jun Zhang, Cunxiao Du 等ICLR 2025
  3. Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact MatchJinze Li, Yixing Xu, Guanchen Li, Shuo Yang 等ICLR 2026 · 12 次引用
  4. Speculative Decoding with CTC-based Draft Model for LLM Inference AccelerationZhuofan Wen, Shangtong Gui, Yang FengNeurIPS 2024 · 19 次引用
  5. Block Verification Accelerates Speculative DecodingZiteng Sun, Uri Mendlovic, Yaniv Leviathan, Asaf Aharoni 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖