paper-with-me

Papers

Constrained Decoding with Speculative Lookaheads

2024-12-09 · Nishanth Nakshatri, Shamik Roy, Rajarshi Das, Suthee Chaidaroon, Leonid Boytsov, Rashmi Gangadharaiah

Constrained decoding with lookahead heuristics (CDLH) is a highly effective method for aligning LLM generations to human preferences. However, the extensive lookahead roll-out operations for each generated token makes CDLH prohibitively expensive, resulting in low adoption in practice. In contrast, common decoding strategies such as greedy decoding are extremely efficient, but achieve very low constraint satisfaction. We propose constrained decoding with speculative lookaheads (CDSL), a technique that significantly improves upon the inference efficiency of CDLH without experiencing the drastic performance reduction seen with greedy decoding. CDSL is motivated by the recently proposed idea of speculative decoding that uses a much smaller draft LLM for generation and a larger target LLM for verification. In CDSL, the draft model is used to generate lookaheads which is verified by a combination of target LLM and task-specific reward functions. This process accelerates decoding by reducing the computational burden while maintaining strong performance. We evaluate CDSL in two constraint decoding tasks with three LLM families and achieve 2.2x to 12.15x speedup over CDLH without significant performance reduction.

📄 PDF Abstract BibTeX arXiv:2412.10418

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

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

Speculative Streaming: Fast LLM Inference without Auxiliary Models

2024-02-16 · Nikhil Bhendawade, Irina Belousova, Qichen Fu, Henry Mason 외

Speculative decoding is a prominent technique to speed up the inference of a large target language model based on predictions of an auxiliary draft model. While effective, in application-specific settings, it often invol…

Language ModelingLanguage Modelling

Overcoming Joint Intractability with Lossless Hierarchical Speculative Decoding

2026-01-09 · Yuxuan Zhou, Fei Huang, Heng Li, Fengyi Wu 외 arxiv

Verification is a key bottleneck in improving inference speed while maintaining distribution fidelity in Speculative Decoding. Recent work has shown that sequence-level verification leads to a higher number of accepted t…

Cactus: Accelerating Auto-Regressive Decoding with Constrained Acceptance Speculative Sampling

2026-04-05 · Yongchang Hao, Lili Mou arxiv

Speculative sampling (SpS) has been successful in accelerating the decoding throughput of auto-regressive large language models by leveraging smaller draft models. SpS strictly enforces the generated distribution to matc…

Spec-LLaVA: Accelerating Vision-Language Models with Dynamic Tree-Based Speculative Decoding

2025-09-15 · Mingxiao Huo, Jiayi Zhang, Hewei Wang, Jinfeng Xu 외 arxiv

Vision-Language Models (VLMs) enable powerful multimodal reasoning but suffer from slow autoregressive inference, limiting their deployment in real-time applications. We introduce Spec-LLaVA, a system that applies specul…

Multimodal Reasoning