paper-with-me

Papers

Alignment-Augmented Speculative Decoding with Alignment Sampling and Conditional Verification

2025-05-19 · Jikai Wang, Zhenxu Tian, Juntao Li, Qingrong Xia, Xinyu Duan, Zhefeng Wang, Baoxing Huai, Min Zhang

Recent works have revealed the great potential of speculative decoding in accelerating the autoregressive generation process of large language models. The success of these methods relies on the alignment between draft candidates and the sampled outputs of the target model. Existing methods mainly achieve draft-target alignment with training-based methods, e.g., EAGLE, Medusa, involving considerable training costs. In this paper, we present a training-free alignment-augmented speculative decoding algorithm. We propose alignment sampling, which leverages output distribution obtained in the prefilling phase to provide more aligned draft candidates. To further benefit from high-quality but non-aligned draft candidates, we also introduce a simple yet effective flexible verification strategy. Through an adaptive probability threshold, our approach can improve generation accuracy while further improving inference efficiency. Experiments on 8 datasets (including question answering, summarization and code completion tasks) show that our approach increases the average generation score by 3.3 points for the LLaMA3 model. Our method achieves a mean acceptance length up to 2.39 and speed up generation by 2.23.

📄 PDF Abstract BibTeX arXiv:2505.13204

Code (0)

등록된 구현이 없습니다.

Tasks

Code CompletionQuestion Answering

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 제목 키워드 기반

Boosting Lossless Speculative Decoding via Feature Sampling and Partial Alignment Distillation

2024-08-28 · Lujun Gui, Bin Xiao, Lei Su, WeiPeng Chen

Lossless speculative decoding accelerates target large language model (LLM) inference by employing a lightweight draft model for generating tree-structured candidates, which are subsequently verified in parallel by the t…

Knowledge DistillationLanguage ModellingLarge Language ModelMathematical Reasoning+2

Learning Harmonized Representations for Speculative Sampling

2024-08-28 · Lefan Zhang, Xiaodan Wang, Yanhua Huang, Ruiwen Xu

Speculative sampling is a promising approach to accelerate the decoding stage for Large Language Models (LLMs). Recent advancements that leverage target LLM's contextual information, such as hidden states and KV cache, h…

Multi-Scale Local Speculative Decoding for Image Generation

2026-01-08 · Elia Peruzzo, Guillaume Sautière, Amirhossein Habibian arxiv

Autoregressive (AR) models have achieved remarkable success in image synthesis, yet their sequential nature imposes significant latency constraints. Speculative Decoding offers a promising avenue for acceleration, but ex…

Image Generation

Steering Pretrained Drafters during Speculative Decoding

2025-11-13 · Frédéric Berdoz, Peer Rheinboldt, Roger Wattenhofer arxiv

Speculative decoding accelerates language model inference by separating generation into fast drafting and parallel verification. Its main limitation is drafter-verifier misalignment, which limits token acceptance and red…

Bridging Draft Policy Misalignment: Group Tree Optimization for Speculative Decoding

2025-09-26 · Shijing Hu, Jingyang Li, Zhihui Lu, Pan Zhou arxiv

Speculative decoding accelerates large language model (LLM) inference by letting a lightweight draft model propose multiple tokens that the target model verifies in parallel. Yet existing training objectives optimize onl…