Lune

ACL Findings2025

Speculative Sampling via Exponential Races

Szymon Kobus, Deniz Gündüz

摘要

Speculative decoding accelerates large language model inference using a smaller draft model. In this paper, we establish a surprising connection between speculative sampling and the concept of channel simulation from information theory, which aims at simulating a noisy channel using as few bits as possible. This connection allows us to provide an informationtheoretic analysis of the speed up that can be achieved by speculative sampling. Leveraging this link, we derive an explicit relation between generation speed-up and the number of tokens k generated by the draft model for large k, which serves as an upper bound for all k. We also propose a novel speculative sampling method via exponential races called ERSS that matches state-of-the-art performance.

问 Lune

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

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

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification 引用了 Fast Inference from Transformers via Speculative Decoding
  • Accelerated Speculative Sampling Based on Tree Monte Carlo 引用了 SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification
  • Accelerated Speculative Sampling Based on Tree Monte Carlo 引用了 Fast Inference from Transformers via Speculative Decoding
  • SpecHub: Provable Acceleration to Multi-Draft Speculative Decoding 引用了 Accelerated Speculative Sampling Based on Tree Monte Carlo
  • SpecHub: Provable Acceleration to Multi-Draft Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper5

  1. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  2. SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and VerificationXupeng Miao, Gabriele Oliaro, Zhihao Zhang, Xinhao Cheng 等ASPLOS 2024 · 105 次引用
  3. Accelerated Speculative Sampling Based on Tree Monte CarloZhengmian Hu, Heng HuangICML 2024 · 16 次引用
  4. Algorithms for the Communication of SamplesLucas Theis, Noureldin Y. AhmedICML 2022
  5. SpecHub: Provable Acceleration to Multi-Draft Speculative DecodingRyan Sun, Tianyi Zhou, Xun Chen, Lichao SunEMNLP 2024

相关 Paper

  1. A Theoretical Perspective for Speculative Decoding AlgorithmMing Yin, Minshuo Chen, Kaixuan Huang, Mengdi WangNeurIPS 2024 · 36 次引用
  2. Speculative Decoding with CTC-based Draft Model for LLM Inference AccelerationZhuofan Wen, Shangtong Gui, Yang FengNeurIPS 2024 · 19 次引用
  3. Speculative Decoding via Early-exiting for Faster LLM Inference with Thompson Sampling Control MechanismJiahao Liu, Qifan Wang, Jingang Wang, Xunliang CaiACL Findings 2024 · 6 次引用
  4. Accelerated Diffusion Models via Speculative SamplingValentin De Bortoli, Alexandre Galashov, Arthur Gretton, Arnaud DoucetICML 2025
  5. Block Verification Accelerates Speculative DecodingZiteng Sun, Uri Mendlovic, Yaniv Leviathan, Asaf Aharoni 等ICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖