Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Reverse Speculative Decoding Explained

Updated 12 July 2026
  • Reverse Speculative Decoding is defined as a training-free relaxed speculative decoding method where the drafter q is preferred and only defers to the verifier p upon divergence or low confidence.
  • It introduces a relaxed target distribution π that blends q and p, with variants like r-fuzzy, spec-casc-opt, and ens offering distinct trade-offs in bias and acceptance rate.
  • The method highlights critical performance and cost trade-offs, emphasizing that improved acceptance may come with longer generation spans and relies heavily on the alignment between q and p.

Searching arXiv for papers and terminology around “Reverse Speculative Decoding” and related RSD usages. arXiv search: "Reverse Speculative Decoding" Reverse speculative decoding is not a standardized formal name in the recent speculative-decoding literature. In the most technically precise usage available in current arXiv sources, it denotes a family of training-free relaxed speculative decoding methods that make the drafter qq the default source of tokens and only defer to the verifier pp under divergence- or confidence-based criteria, thereby replacing the lossless target pp with a relaxed target π\pi that is equal to, or closer to, qq unless a trigger says otherwise (Xia et al., 9 Jul 2026). At the same time, the acronym RSD is used in other papers for Reward-Guided Speculative Decoding, Recursive Speculative Decoding, and Retrieval-based Speculative Decoding, none of which the authors describe as “Reverse Speculative Decoding” (Liao et al., 31 Jan 2025, Jeon et al., 2024, Chen et al., 14 Apr 2026). This suggests that the topic is best understood as a terminological ambiguity centered on a specific relaxed-decoding design pattern rather than as a single universally named algorithm.

1. Terminology and scope

The central terminological fact is that papers do not agree on “RSD.” In the unified study of training-free relaxed speculative decoding, the paper does not use the name “Reverse Speculative Decoding,” but explicitly states that several methods implement the behavior most people mean by “reverse”: rely on the drafter qq for generation and replace the verifier target pp by a relaxed target π\pi that privileges qq unless a trigger says otherwise (Xia et al., 9 Jul 2026). By contrast, the paper titled “Reward-Guided Speculative Decoding” states that its method is Reward-Guided, not Reverse; the paper titled “Recursive Speculative Decoding” states that its method is Recursive, not Reverse; and the SENSE paper states that throughout that work, RSD = Retrieval-based Speculative Decoding, with no methodological connection to outside uses of “Reverse Speculative Decoding” (Liao et al., 31 Jan 2025, Jeon et al., 2024, Chen et al., 14 Apr 2026).

Source Meaning of “RSD” Relation to “reverse”
(Xia et al., 9 Jul 2026) Informal “RSD-style” relaxed SD Closest match
(Liao et al., 31 Jan 2025) Reward-Guided Speculative Decoding Not reverse
(Jeon et al., 2024) Recursive Speculative Decoding Not reverse
(Chen et al., 14 Apr 2026) Retrieval-based Speculative Decoding Not reverse

This ambiguity matters because speculative decoding papers use very different objects as the locus of acceleration: a draft model, a draft tree, a datastore, or a reward model. Conflating these under a single “reverse” label obscures whether the method remains lossless, whether it preserves the verifier distribution exactly, and whether its acceptance rule is ratio-based, reward-gated, or retrieval-conditioned.

2. From lossless speculative decoding to “reverse” behavior

Standard lossless speculative decoding targets the verifier distribution pp and uses rejection/resampling to preserve pp exactly. In the formulation summarized by the relaxed-SD survey, drafted tokens are proposed from qq, accepted with

a∼Ber ⁣(min⁡{1,p(x)/q(x)}),a \sim \mathrm{Ber}\!\left(\min\{1, p(x)/q(x)\}\right),

and, when rejected, corrected by residual sampling from

pres(⋅)=norm⁡ ⁣(max⁡{0,p(⋅)−q(⋅)}).p^{\mathrm{res}}(\cdot)=\operatorname{norm}\!\left(\max\{0,p(\cdot)-q(\cdot)\}\right).

This makes the procedure lossless with respect to pp (Xia et al., 9 Jul 2026).

“Reverse” behavior, in that same framework, changes the target of correction from pp to a relaxed distribution π\pi. Drafting is still done by qq, and verification still evaluates pp in parallel, but the acceptance rule becomes

a∼Ber ⁣(min⁡{1,πrej(x)/q(x)}),a \sim \mathrm{Ber}\!\left(\min\{1,\pi^{\mathrm{rej}}(x)/q(x)\}\right),

with correction from

norm⁡ ⁣(max⁡{0,πres−q}).\operatorname{norm}\!\left(\max\{0,\pi^{\mathrm{res}}-q\}\right).

The reversal lies in the stance toward qq: strict speculative decoding insists on exact correction to pp, whereas reverse-style relaxed decoding accepts more of qq’s tokens and uses pp only when a criterion indicates that trust in qq should be withdrawn (Xia et al., 9 Jul 2026).

The paper’s terminology is explicit about which methods fit this pattern. Reducible Fuzzy Speculative Decoding (r-fuzzy) and Speculative Cascades (spec-casc-opt) are identified as the clearest RSD-style methods because they “accept qq as the target when a criterion holds; otherwise they use pp.” The simple Ensemble (ens) method is also RSD-style because it sets π=αq+(1−α)p\pi=\alpha q+(1-\alpha)p, moving the effective target closer to qq than to pp (Xia et al., 9 Jul 2026).

3. Principal reverse-style formulations

The divergence-triggered form is r-fuzzy. Its relaxed targets are

πrej[q,p](v)=πres={q(v),if Div(p,q)<α,p(v),otherwise.\pi^{\mathrm{rej}}[q,p](v)=\pi^{\mathrm{res}}= \begin{cases} q(v), & \text{if } \mathrm{Div}(p,q)<\alpha,\\ p(v), & \text{otherwise}. \end{cases}

The paper uses Jensen–Shannon Divergence for Div\mathrm{Div} to avoid divide-by-zero issues with top-pp/kk supports. Operationally, this means that when the drafter and verifier are sufficiently close, the system simply treats the drafter as the target; otherwise it falls back to verifier-centric correction (Xia et al., 9 Jul 2026).

The confidence-triggered form is spec-casc-opt. It is defined through the per-token loss

Lspec(d;q,p)=Ev∼p⋆ ⁣[(1−d)ℓ(v,q)+d{ℓ(v,p)+αTV⁡(p,q)}],\mathcal L_{\mathrm{spec}}(d;q,p)= \mathbb E_{v\sim p_\star}\!\left[(1-d)\ell(v,q)+d\left\{\ell(v,p)+\alpha\operatorname{TV}(p,q)\right\}\right],

with deferral rule

d⋆(q,p)=1{max⁡uq(u)<max⁡up(u)−αTV⁡(p,q)}.d^\star(q,p)=\mathbf{1}\{\max_u q(u)<\max_u p(u)-\alpha\operatorname{TV}(p,q)\}.

Its relaxed target is

πrej[q,p,α](v)=πres={q(v),if max⁡uq(u)≥max⁡up(u)−αTV⁡(p,q),p(v),otherwise.\pi^{\mathrm{rej}}[q,p,\alpha](v)=\pi^{\mathrm{res}}= \begin{cases} q(v), & \text{if } \max_u q(u)\ge \max_u p(u)-\alpha\operatorname{TV}(p,q),\\ p(v), & \text{otherwise}. \end{cases}

This formulation makes “reverse” trust depend not on a generic divergence threshold but on whether the drafter’s confidence is high enough relative to the verifier after accounting for a deferral cost (Xia et al., 9 Jul 2026).

The softest form is ens, which uses

πrej[q,p](v)=πres=αq(v)+(1−α)p(v).\pi^{\mathrm{rej}}[q,p](v)=\pi^{\mathrm{res}}=\alpha q(v)+(1-\alpha)p(v).

The paper states that this is pareto-optimal for trading off deviation from pp, measured by TV⁡(π,p)\operatorname{TV}(\pi,p), against expected rejection rate TV⁡(q,π)\operatorname{TV}(q,\pi). In reverse-style terms, ens does not switch discretely between trusting qq and trusting pp; it continuously interpolates between them (Xia et al., 9 Jul 2026).

At runtime, all three variants share the same high-level procedure. The drafter samples NdraftN_{\mathrm{draft}} tokens from qq; the verifier evaluates pp in parallel over the drafted span; method-specific πrej\pi^{\mathrm{rej}}, πres\pi^{\mathrm{res}}, and πbonus\pi^{\mathrm{bonus}} are constructed; drafted tokens are accepted against πrej\pi^{\mathrm{rej}}; the process stops at the first rejection; and the correction token is drawn from norm⁡(max⁡{0,πres−q})\operatorname{norm}(\max\{0,\pi^{\mathrm{res}}-q\}). If no rejection occurs, a bonus token is sampled, with πbonus=p\pi^{\mathrm{bonus}}=p for these RSD-style methods (Xia et al., 9 Jul 2026).

4. Theoretical properties and distributional consequences

The defining theoretical distinction is between lossless and relaxed decoding. Reverse-style speculative decoding is lossless only when π=p\pi=p everywhere. The relaxed-SD paper gives concrete examples: r-fuzzy is lossless when α\alpha is so small that Div(p,q)≥α\mathrm{Div}(p,q)\ge \alpha always, spec-casc-opt is lossless as α→−∞\alpha\to -\infty, and ens is lossless when α=0\alpha=0 (Xia et al., 9 Jul 2026). Otherwise the method is biased away from pp by construction.

Acceptance behavior can be written in total-variation form. For strict speculative decoding, the paper states

Pr⁡(accept draft token)=E[a]=1−TV⁡(q,p)=1−12∑x∣p(x)−q(x)∣.\Pr(\text{accept draft token})=\mathbb E[a]=1-\operatorname{TV}(q,p) =1-\tfrac{1}{2}\sum_x |p(x)-q(x)|.

Under reverse-style relaxed decoding, pp is replaced by π\pi, so the acceptance probability becomes 1−TV⁡(q,π)1-\operatorname{TV}(q,\pi). This is the formal expression of the central mechanism: by moving the target closer to qq, acceptance increases (Xia et al., 9 Jul 2026).

For r-fuzzy, the paper proves an equivalence result. If

πtfuzzy(v)={qt(v),Rt,pt(v),otherwise,\pi^{\mathrm{fuzzy}}_t(v)= \begin{cases} q_t(v), & R_t,\\ p_t(v), & \text{otherwise}, \end{cases}

with Rt≡Div(pt,qt)<αR_t \equiv \mathrm{Div}(p_t,q_t)<\alpha, then Algorithm 2 with πrej=πres=πtfuzzy\pi^{\mathrm{rej}}=\pi^{\mathrm{res}}=\pi^{\mathrm{fuzzy}}_t and πbonus=pt\pi^{\mathrm{bonus}}=p_t yields

Kr-fuzzy(⋅∣x<t)=Kfuzzy(⋅∣x<t)=πtfuzzy(⋅).K_{\mathrm{r\text{-}fuzzy}}(\cdot\mid x_{<t}) = K_{\mathrm{fuzzy}}(\cdot\mid x_{<t}) = \pi^{\mathrm{fuzzy}}_t(\cdot).

Moreover, when the fuzzy predicate fails and the method defers to ptp_t, the acceptance probability equals

Pr⁡(Ar-fuzzy∣x<t)=∑vmin⁡{pt(v),qt(v)}=1−TV⁡(pt,qt).\Pr(A_{\mathrm{r\text{-}fuzzy}}\mid x_{<t}) = \sum_v \min\{p_t(v),q_t(v)\} = 1-\operatorname{TV}(p_t,q_t).

This connects reverse-style correction directly to classical rejection-sampling structure: acceptance ratio min⁡{1,ρ(v)/q(v)}\min\{1,\rho(v)/q(v)\}, residual correction to ρ\rho, and ρ∈{q,p}\rho\in\{q,p\} depending on the predicate (Xia et al., 9 Jul 2026).

A related but distinct form of controlled bias appears in Reward-Guided Speculative Decoding, whose authors note that “Reverse Speculative Decoding” is a misnomer for their method. There, the draft model is favored when a process reward model assigns high reward to an intermediate step. The method defines a dynamic mixture

PRSD(yt∣zt)=w(yt∣zt) pd(yt∣zt)+ν pt(yt∣zt),P_{\mathrm{RSD}}(y_t\mid z_t)=w(y_t\mid z_t)\,p_d(y_t\mid z_t)+\nu\,p_t(y_t\mid z_t),

with threshold policy ω(rt)=1\omega(r_t)=1 if rt≥τr_t\ge \tau and $0$ otherwise. The paper proves that a threshold rule is optimal under a compute-budget constraint and characterizes the compute objective

J(τ)=Eyt∼PRSD[rt]−λC(τ).J(\tau)=\mathbb E_{y_t\sim P_{\mathrm{RSD}}}[r_t]-\lambda C(\tau).

Although this mechanism also relaxes strict unbiasedness, its accurate name is Reward-Guided Speculative Decoding, not Reverse Speculative Decoding (Liao et al., 31 Jan 2025).

5. Performance, complexity, and practical constraints

The practical behavior of reverse-style relaxed decoding depends heavily on drafter quality and serving overhead. The 2026 practical study reports that many relaxed approaches rely on a drafter that is a good LLM, making them unsuited for lightweight dedicated multi-token-prediction drafters (Xia et al., 9 Jul 2026). With a weak drafter, RSD-style methods such as r-fuzzy, spec-casc-opt, and ens show clear capability degradation and, in many cases, slowdowns compared to strict speculative decoding, even though acceptance and token throughput increase. The slowdown is attributed to longer generation lengths, described in the paper as “rambling” or repetition in thinking traces (Xia et al., 9 Jul 2026).

The paper proposes two speed proxies. The token-throughput proxy is

S≈lˉaccept+11+Ndraftcrel,S \approx \frac{\bar l_{\mathrm{accept}}+1}{1+N_{\mathrm{draft}}c_{\mathrm{rel}}},

and the response-length-aware relaxed proxy is

Srelax≈LˉARLˉrelaxlˉaccept+11+Ndraftcrel.S_{\mathrm{relax}} \approx \frac{\bar L_{\mathrm{AR}}}{\bar L_{\mathrm{relax}}} \frac{\bar l_{\mathrm{accept}}+1}{1+N_{\mathrm{draft}}c_{\mathrm{rel}}}.

The second expression is crucial for reverse-style methods because acceptance improvements can be offset by longer outputs. The same study emphasizes that the optimal NdraftN_{\mathrm{draft}} depends on crelc_{\mathrm{rel}}, so draft-length tuning should precede relaxation tuning (Xia et al., 9 Jul 2026).

Serving overhead can be substantial. Using vLLM 0.20.1 on NVIDIA GH200, the paper gives the diagnostic example

Qwen3 0.6B drafter + 32B verifier: CAR=19.53 ms/token;\text{Qwen3 0.6B drafter + 32B verifier: } C_{\mathrm{AR}}=19.53\ \text{ms/token;}

Cdrafter=5.19 ms/token in AR mode (crel=0.266);C_{\mathrm{drafter}}=5.19\ \text{ms/token in AR mode } (c_{\mathrm{rel}}=0.266);

Cdrafter=16.54 ms/token in spec-dec mode (crel=0.847).C_{\mathrm{drafter}}=16.54\ \text{ms/token in spec-dec mode } (c_{\mathrm{rel}}=0.847).

The conclusion is that stock separate-drafter speculative decoding in vLLM is under-optimized and can erase theoretical gains if crelc_{\mathrm{rel}} is too high (Xia et al., 9 Jul 2026).

When the drafter is strong, the picture changes. The same study reports that reverse-style methods can perform much better, sometimes close to lossless capability with meaningful speed-ups, because stronger qq unlocks longer accepted spans. But this improvement is constrained by the increased cost of running a strong drafter, so capability gains and speed gains do not necessarily rise together (Xia et al., 9 Jul 2026). This trade-off aligns with the reward-guided literature, which also accepts controlled bias in exchange for efficiency and reports up to 4.4x fewer FLOPs together with average gains of up to +3.5 over SD/BoN baselines, but under a different mechanism based on a process reward model rather than a relaxed target π\pi (Liao et al., 31 Jan 2025).

6. Relation to other methods and recurring misconceptions

One recurring misconception is to treat every method that departs from strict verifier matching as “reverse speculative decoding.” The recent literature distinguishes at least three unrelated uses of the acronym RSD.

Reward-Guided Speculative Decoding uses a lightweight draft model, a target model, and a process reward model RR that scores partial trajectories rt=R(x,y1:t)∈[0,1]r_t=R(x,y_{1:t})\in[0,1]. High-reward steps are accepted from the draft, low-reward steps invoke the target, and the method departs from standard speculative decoding by admitting controlled bias toward high-reward intermediate tokens or segments. The authors explicitly state that “Reverse Speculative Decoding” is a misnomer for this method (Liao et al., 31 Jan 2025).

Recursive Speculative Decoding is a tree-based, unbiased extension of speculative decoding. It builds draft trees by sampling without replacement, either through Gumbel-Top-kk or Stochastic Beam Search, and verifies them with recursive rejection sampling. Its defining property is that the final distribution exactly matches the target LLM’s distribution. The authors explicitly state that the method is Recursive, not Reverse (Jeon et al., 2024).

Retrieval-based Speculative Decoding in the SENSE paper replaces a draft model with retrieved suffixes from a datastore. That paper emphasizes that conventional RSD means retrieval-based speculative decoding, not reverse, and that some outside sources use “Reverse Speculative Decoding” for different ideas such as target-guided drafting or reverse verification, with no methodological connection to SENSE (Chen et al., 14 Apr 2026). SENSE itself is training-free and accelerates inference by anchoring retrieval on target-model hidden states and verifying semantic equivalence rather than surface forms, reporting mean acceptance length up to 4.09, speedup up to 3.26x, and generation quality preserved at approximately 98.02% relative to vanilla decoding (Chen et al., 14 Apr 2026).

The other recurring misconception is to assume that “reverse” necessarily means a capability improvement. The practical relaxed-SD study shows that RSD-style methods can degrade capability and even slow down with weak drafters, despite higher acceptance. Conversely, strong capability–speed trade-offs are more reliably obtained when qq is itself a strong standalone LLM and the serving stack supports a separate drafter with low crelc_{\mathrm{rel}} (Xia et al., 9 Jul 2026). A plausible implication is that the “reverse” idea is not a universally superior substitute for strict speculative decoding, but a relaxation regime whose value depends on verifier–drafter alignment, response-length effects, and systems-level implementation costs.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Reverse Speculative Decoding (RSD).