paper-with-me

Papers

Multi-Candidate Speculative Decoding

2024-01-12 · Sen yang, ShuJian Huang, Xinyu Dai, Jiajun Chen

Large language models have shown impressive capabilities across a variety of NLP tasks, yet their generating text autoregressively is time-consuming. One way to speed them up is speculative decoding, which generates candidate segments (a sequence of tokens) from a fast draft model that is then verified in parallel by the target model. However, the acceptance rate of candidate tokens receives limitations from several factors, such as the model, the dataset, and the decoding setup. This paper proposes sampling multiple candidates from a draft model and then organising them in batches for verification. We design algorithms for efficient multi-candidate verification while maintaining the distribution of the target model. Our approach shows significant improvements in acceptance rates on multiple datasets and models, consistently outperforming standard speculative decoding.

📄 PDF Abstract BibTeX arXiv:2401.06706

Code (1)

njunlp/mcsd 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

AMUSD: Asynchronous Multi-Device Speculative Decoding for LLM Acceleration

2024-10-22 · Bradley McDanel

Large language models typically generate tokens autoregressively, using each token as input for the next. Recent work on Speculative Decoding has sought to accelerate this process by employing a smaller, faster draft mod…

SpecMemo: Speculative Decoding is in Your Pocket

2025-05-16 · Selin Yıldırım, Deming Chen

Recent advancements in speculative decoding have demonstrated considerable speedup across a wide array of large language model (LLM) tasks. Speculative decoding inherently relies on sacrificing extra memory allocations t…

Large Language Model

Improving Multi-candidate Speculative Decoding

2024-09-16 · Xiaofan Lu, Yixiao Zeng, Feiyang Ma, Zixu Yu 외

Speculative Decoding (SD) is a technique to accelerate the inference of Large Language Models (LLMs) by using a lower complexity draft model to propose candidate tokens verified by a larger target model. To further impro…

Greedy Multi-Path Block Verification for Faster Decoding in Speculative Sampling

2026-02-18 · Rahul Thomas, Arka Pal arxiv

The goal of $L$-step speculative decoding is to accelerate autoregressive decoding of a target model by using a cheaper draft model to generate a candidate path of $L$ tokens. Based on a verification algorithm involving …

Jakiro: Boosting Speculative Decoding with Decoupled Multi-Head via MoE

2025-02-10 · Haiduo Huang, Fuwei Yang, Zhenhua Liu, Yixing Xu 외

Speculative decoding (SD) accelerates large language model inference by using a smaller draft model to predict multiple tokens, which are then verified in parallel by the larger target model. However, the limited capacit…

DiversityLanguage ModelingLanguage ModellingLarge Language Model+1