Manuscript Offprint

arXiv:2610.07822

Nucleus Speculative Decoding: Plausibility-Aware Verification Beyond Exact Distribution

Shuhao Li, Fanghua Ye, Wanyu Lin, Tianyu Yuan, Xiaoyu Shen

Abstract

Speculative decoding accelerates autoregressive generation by using a lightweight draft model to propose multiple tokens that are verified by a target model in parallel. However, the standard acceptance rule focuses on exact distribution correction and rejects tokens that remain highly plausible under the target model when the draft model assigns excess probability. This conservative verification limits the number of draft tokens retained after each verification forward pass. We introduce Nucleus Speculative Decoding (NSD), a relaxed verification method that incorporates target-model plausibility into speculative decoding. NSD accepts a draft token if it satisfies the standard acceptance rule or belongs to the target model's nucleus. We theoretically characterize the distributional deviation introduced by our method and show that the single-step error is exactly determined by the draft model's excess probability within the target nucleus. We further derive sequence-level fidelity bounds that quantify how local deviations accumulate over autoregressive decoding. Experiments across multiple target models and proposal mechanisms demonstrate that NSD consistently improves speculative decoding efficiency while maintaining competitive task performance. Our method achieves throughput speedups of up to 5.16×5.16\times over autoregressive decoding and up to 3.15×3.15\times over standard speculative decoding. These improvements coincide with longer accepted lengths, allowing more output tokens to share the cost of each target verification pass. Analysis shows that plausibility-aware verification provides an effective approach for relaxed verification and speculative decoding efficiency. Our code is available at https://github.com/EIT-NLP/Nucleus-Speculative-Decoding.

1 Introduction

Large language models (LLMs) have demonstrated strong capabilities across language understanding, reasoning, and code generation [6, 27], but their autoregressive decoding (AR) remains inherently sequential and computationally expensive. Speculative decoding (SD) mitigates this bottleneck by allowing a lightweight draft model to propose multiple tokens that are subsequently verified by the target model in parallel [4, 17]. The acceleration of SD depends on how many draft tokens are accepted during verification.

Despite substantial progress in improving draft models [7], target model verification remains a major component of speculative decoding cost. As shown in Figure 1(a), target verification accounts for 57.1%–78.1% of wall-clock time. For draft proposals, verification terminates at the first rejected position and all subsequent proposals are discarded. Consequently, an early rejection can substantially reduce the number of tokens accepted from a single target-model verification.

For a token x sampled from the draft model probability distribution q, speculative decoding

Nucleus Speculative Decoding

Figure

(a)

Figure

(b)

(c)

Figure 1: Execution time breakdown and rejection analysis of speculative decoding. (a) Execution time breakdown. Ratio of total time spent on drafting, verification, sampling, and overhead. (b) Target Top-K rank from rejected tokens. (c) Target Top-P distribution from rejected tokens.

accepts xx with probability min⁡{1,p(x)/q(x)}\min\{1, p(x)/q(x)\}, where pp denotes the target model probability distribution. This acceptance rule is determined by the relative probability assigned to xx by the target and draft models, rather than by an explicit measure of the token's plausibility under the target distribution. So rejection under speculative decoding does not necessarily indicate that a proposal is implausible under target model. Consequently, when q(x)>p(x)q(x) > p(x), a proposal may be rejected even if xx is highly ranked or lies within the target model's high-probability region.

Experiments reveal that this distinction appears frequently in practice. Figure 1(b) shows that 81.5% of these rejected tokens still rank within the target's top ten tokens. At the commonly used setting Top-P=0.95, Figure 1(c) shows that 52.6% of the rejected tokens still belong to this region. Thus, a substantial fraction of proposals rejected by SD remain within the target nucleus.

Together, these observations expose an inefficiency in speculative decoding: target model verification is the main bottleneck, yet it still rejects many proposals that remain plausible for target model. To fix this issue, we introduce Nucleus Speculative Decoding (NSD), a simple but effective method that supplements standard speculative decoding with a target-nucleus acceptance condition. At each proposed position, the target nucleus contains the highest-probability tokens whose cumulative probability mass reaches a threshold [16]. NSD accepts a proposal if it either passes the speculative verification or belongs to target nucleus.

Although NSD relaxes the exact distribution guarantee of speculative decoding, we prove that its distributional deviation is exactly determined by the draft model's excess probability within the target nucleus. We further establish sequence-level fidelity guarantees that characterize the deviation. Across evaluations on five benchmarks with backbones from the Nemotron and Qwen families, NSD achieves throughput improvements of up to 416% over AR and up to 215% over SD.

References (26)