Lune

ICML2024顶会

Accelerated Speculative Sampling Based on Tree Monte Carlo

Zhengmian Hu, Heng Huang

摘要

Speculative Sampling (SpS) has been introduced to speed up the inference of large language models (LLMs) by generating multiple tokens in a single forward pass under the guidance of a reference model, while preserving the original distribution. We observe that SpS can be derived through maximum coupling on the token distribution. However, we find that this approach is not optimal as it applies maximum coupling incrementally for each new token, rather than seeking a global maximum coupling that yields a faster algorithm, given the tree-space nature of LLM generative distributions. In this paper, we shift our focus from distributions on a token space to those on a tree space. We propose a novel class of Tree Monte Carlo (TMC) methods, demonstrating their unbiasedness and convergence. As a particular instance of TMC, our new algorithm, Accelerated Speculative Sampling (ASpS), outperforms traditional SpS by generating more tokens per step on average, achieving faster inference, while maintaining the original distribution. This challenge has prompted the exploration of methods

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Annealed Relaxation of Speculative Decoding for Faster Autoregressive Image Generation 引用了 Fast Inference from Transformers via Speculative Decoding
  • Towards Optimal Multi-draft Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • Global Resolution: Optimal Multi-Draft Speculative Sampling via Convex Optimization 引用了 Towards Optimal Multi-draft Speculative Decoding
  • Global Resolution: Optimal Multi-Draft Speculative Sampling via Convex Optimization 引用了 Fast Inference from Transformers via Speculative Decoding
  • CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Drafter 引用了 SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification
  • CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative Drafter 引用了 Fast Inference from Transformers via Speculative Decoding
  • SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification 引用了 Fast Inference from Transformers via Speculative Decoding
  • Traversal Verification for Speculative Tree Decoding 引用了 Towards Optimal Multi-draft Speculative Decoding
  • Traversal Verification for Speculative Tree Decoding 引用了 SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and Verification
  • Traversal Verification for Speculative Tree Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • Speculative Decoding with Big Little Decoder 引用了 Fast Inference from Transformers via Speculative Decoding
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Traversal Verification for Speculative Tree DecodingYepeng Weng, Qiao Hu, Xujie Chen, Li Liu 等NeurIPS 2025 · 11 次引用
  2. CORAL: Learning Consistent Representations across Multi-step Training with Lighter Speculative DrafterYepeng Weng, Dianwen Mei, Huishi Qiu, Xujie Chen 等ACL 2025 · 6 次引用
  3. Global Resolution: Optimal Multi-Draft Speculative Sampling via Convex OptimizationRahul Krishna Thomas, Arka PalICLR 2026 · 2 次引用
  4. Annealed Relaxation of Speculative Decoding for Faster Autoregressive Image GenerationXingyao Li, Fengzhuo Zhang, Cunxiao Du, Hui JiAAAI 2026
  5. Towards Optimal Multi-draft Speculative DecodingZhengmian Hu, Tong Zheng, Vignesh Viswanathan, Ziyi Chen 等ICLR 2025

它引用的 Paper3

  1. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  2. Speculative Decoding with Big Little DecoderSehoon Kim, Karttikeya Mangalam, Suhong Moon, Jitendra Malik 等NeurIPS 2023 · 212 次引用
  3. SpecInfer: Accelerating Large Language Model Serving with Tree-based Speculative Inference and VerificationXupeng Miao, Gabriele Oliaro, Zhihao Zhang, Xinhao Cheng 等ASPLOS 2024 · 105 次引用

相关 Paper

  1. EAGLE-2: Faster Inference of Language Models with Dynamic Draft TreesYuhui Li, Fangyun Wei, Chao Zhang, Hongyang ZhangEMNLP 2024 · 16 次引用
  2. Speculative Sampling via Exponential RacesSzymon Kobus, Deniz GündüzACL Findings 2025
  3. Re-SpS: A Reinforcement Learning Approach to Speculative SamplingChenan Wang, Daniel H. Shi, Haipeng ChenAAAI 2026
  4. Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative SamplingYongchang Hao, Lili MouICLR 2026 · 3 次引用
  5. Dynamic-Width Speculative Beam Decoding for LLM InferenceZongyue Qin, Zifan He, Neha Prakriya, Jason Cong 等AAAI 2025 · 10 次引用
黄昏的海面,两侧是细线勾勒的悬崖