Lune

ICLR2025顶会

Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment

Gregor Bachmann, Sotiris Anagnostidis, Albert Pumarola, Markos Georgopoulos, Artsiom Sanakoyeu, Yuming Du, Edgar Schönfeld, Ali K. Thabet, Jonas Kohler

摘要

The performance of large language models (LLMs) is closely linked to their underlying size, leading to ever-growing networks and hence slower inference. Speculative decoding has been proposed as a technique to accelerate autoregressive generation, leveraging a fast draft model to propose candidate tokens, which are then verified in parallel based on their likelihood under the target model. While this approach guarantees to reproduce the target output, it incurs a substantial penalty: many high-quality draft tokens are rejected, even when they represent objectively valid continuations. Indeed, we show that even powerful draft models such as GPT-4o, as well as human text cannot achieve high acceptance rates under the standard verification scheme. This severely limits the speedup potential of current speculative decoding methods, as an early rejection becomes overwhelmingly likely when solely relying on alignment of draft and target. We thus ask the following question: Can we adapt verification to recognize correct, but non-aligned replies? To this end, we draw inspiration from the LLMas-a-judge framework, which demonstrated that LLMs are able to rate answers in a versatile way. We carefully design a dataset to elicit the same capability in the target model by training a compact module on top of the embeddings to produce "judgements" of the current continuation. We showcase our strategy on the Llama-3.1 family, where our 8b/405B-Judge achieves a speedup of 9× over Llama-405B, while maintaining its quality on a large range of benchmarks. These benefits remain present even in optimized inference frameworks, where our method reaches up to 141 tokens/s for 8B/70B-Judge and 129 tokens/s for 8B/405B on 2 and 8 H100s respectively. -8b/ -405b Judge Verification: User Question: Chenny is 10 years old. Alyana is 4 years younger than Chenny. How old is Anne if she is 2 years older than Alyana? To find Alyana's age, we need to subtract 4 from Chenny's age. Chenny's age: 10 years Alyana's age: 10 -4 = 6 years To find Anne's age, we need to add 2 to Alyana's age.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification 引用了 EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
  • LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification 引用了 Fast Inference from Transformers via Speculative Decoding
  • Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact Match 引用了 AutoJudge: Judge Decoding Without Manual Annotation
  • Dynamic Speculative Agent Planning 引用了 Fast Inference from Transformers via Speculative Decoding
  • STree: Speculative Tree Decoding for Hybrid State Space Models 引用了 EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
  • STree: Speculative Tree Decoding for Hybrid State Space Models 引用了 Fast Inference from Transformers via Speculative Decoding
  • EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty 引用了 Fast Inference from Transformers via Speculative Decoding
  • AutoJudge: Judge Decoding Without Manual Annotation 引用了 EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty
  • AutoJudge: Judge Decoding Without Manual Annotation 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper23

  1. AutoJudge: Judge Decoding Without Manual AnnotationRoman Garipov, Fedor Velikonivtsev, Ivan Ermakov, Ruslan Svirschevski 等NeurIPS 2025 · 14 次引用
  2. LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and VerificationPenghui Yang, Cunxiao Du, Fengzhuo Zhang, Haonan Wang 等ACL 2026 · 12 次引用
  3. Training-Free Loosely Speculative Decoding: Accepting Semantically Correct Drafts Beyond Exact MatchJinze Li, Yixing Xu, Guanchen Li, Shuo Yang 等ICLR 2026 · 12 次引用
  4. Dynamic Speculative Agent PlanningYilin Guan, Qingfeng Lan, Fei Sun, Dujian Ding 等ICLR 2026 · 10 次引用
  5. STree: Speculative Tree Decoding for Hybrid State Space ModelsYangchao Wu, Zongyue Qin, Alex Wong, Stefano SoattoNeurIPS 2025 · 8 次引用

它引用的 Paper25

  1. Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
  2. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  3. EAGLE: Speculative Sampling Requires Rethinking Feature UncertaintyYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangICML 2024 · 424 次引用
  4. Confident Adaptive Language ModelingTal Schuster, Adam Fisch, Jai Gupta, Mostafa Dehghani 等NeurIPS 2022 · 394 次引用
  5. Language Models Represent Space and TimeWes Gurnee, Max TegmarkICLR 2024 · 303 次引用

相关 Paper

  1. SelfJudge: Faster Speculative Decoding via Self-Supervised Judge VerificationKanghoon Yoon, Minsub Kim, Sungjae Lee, Joonhyung Lee 等ICML 2026 · 4 次引用
  2. Speculative Decoding with CTC-based Draft Model for LLM Inference AccelerationZhuofan Wen, Shangtong Gui, Yang FengNeurIPS 2024 · 19 次引用
  3. Talon: Breaking the Synchronization Barrier in Speculative Decoding with Hybrid Model-based and Retrieve-based DraftingXiangxiang Gao, Weisheng Xie, Lixin, Xuwei Fang 等AAAI 2026
  4. polybasic Speculative Decoding Through a Theoretical PerspectiveRuilin Wang, Huixia Li, Yuexiao Ma, Xiawu Zheng 等ICML 2025
  5. Draft& Verify: Lossless Large Language Model Acceleration via Self-Speculative DecodingJun Zhang, Jue Wang, Huan Li, Lidan Shou 等ACL 2024
黄昏的海面,两侧是细线勾勒的悬崖