arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.29748

ReTrace: Rejected-Trajectory Conditioning for Speculative Decoding

Luxi Lin, Zhanpeng Zeng, Shuang Peng, Songwei Liu, Rongrong Ji

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Speculative decoding accelerates autoregressive language model inference by having a lightweight draft model propose multiple candidate tokens, which are then verified in parallel by a larger target model. However, after the first rejection, standard prefix-based verification discards the remaining draft suffix, so the computation spent generating and verifying those positions does not contribute to decoding progress. Focusing on DFlash, we show that rejected positions in a rejected suffix may still align with the target continuation, indicating that the draft model can retain useful semantic and structural information despite local token-level errors. Motivated by this observation and inspired by conditional diffusion, we introduce ReTrace, a rejected-trajectory conditioning method that conditions each draft block on the rejected suffix from the previous round rather than generating it from fresh mask placeholders alone. ReTrace retains the hidden representations of the rejected suffixes, aligns them with the next draft block, refines them using target-aware correction signals from the same verification pass, and admits them into the drafter's input embeddings through gated residual fusion. Because rejected tokens are never committed and target-side verification remains unchanged, ReTrace preserves the lossless property of speculative decoding without requiring an additional model forward pass. Experiments with Qwen3 models across mathematical reasoning, code generation, and open-ended dialogue demonstrate that ReTrace consistently improves average acceptance length and end-to-end decoding speed over its DFlash backbone. By introducing cross-round conditioning without modifying within-round proposal generation, ReTrace is largely orthogonal to existing drafting improvements and might be combined with them for further gains.

Date: September 1, 2026

Correspondence: Songwei Liu at 21831068@zju.edu.cn, Rongrong Ji at rrji@xmu.edu.cn

Introduction

The inference efficiency of large language models [1, 20, 22] is fundamentally constrained by autoregressive decoding. During standard generation, each token requires a new forward pass conditioned on the entire previously generated context, causing latency to grow with output length. This sequential process is particularly costly for long-form tasks such as mathematical reasoning, code generation,

multi-turn dialogue, and agentic workflows, and it also prevents modern GPUs from fully exploiting their parallel computing capacity. Reducing sequential computation during decoding without degrading generation quality has therefore become a central problem in efficient large language model inference.

Speculative decoding [12] addresses this bottleneck through a draft-then-verify paradigm. A lightweight draft model first proposes multiple candidate tokens, which are then verified in parallel by a larger target

Figure

Figure 1 An MT-Bench example with Qwen3-4B as the target model. Although verification stops at the first mismatch, later draft tokens realign with the target, suggesting that the rejected suffix retains useful predictive information.

model. When the proposed sequence agrees with the target model, multiple tokens can be committed in a single verification step, reducing the number of expensive target-model forward passes. Under standard verification, the final output remains controlled by the target model. However, the resulting speedup depends heavily on draft-target agreement. A long accepted prefix allows each verification step to advance multiple tokens, whereas an early mismatch causes the remaining candidates to be rejected and prevents the computation spent on drafting them from translating into actual decoding progress.

Existing studies primarily improve draft quality while controlling drafting overhead through better drafter architectures, candidate organization, and verification strategies [2, 3, 13, 16]. Representative directions include multi-head prediction [2], feature-level drafting [13], and tree-structured candidate construction [14]. More recently, diffusion-based parallel drafters such as DFlash [3] generate an entire candidate block in a single drafting pass without autoregressively conditioning on previously sampled draft tokens, achieving strong end-to-end speedups.

Despite these advances, a fundamental inefficiency remains in the draft-then-verify paradigm: each draft is used only for its current verification round. After the first mismatch, the remaining tokens and their hidden representations are discarded, even though the computation required to produce and verify them has already been incurred. This raises a natural question: does the rejected computation retain information about the target continuation, and can it be reused to condition the next draft?

In this work, we study this question using DFlash, whose diffusion-based parallel decoding provides a clean setting for examining information retained beyond the first mismatch. Figure 1 provides an illustrative example. Verification terminates at the first mismatch, resulting in a short accepted prefix. Nevertheless, despite local repetitions, omissions, and

incorrect predictions, later draft positions realign with the target continuation. This qualitative observation suggests that an early token-level error does not necessarily render all subsequent draft computation uninformative. Beyond this example, our quantitative analysis further shows that rejected-suffix representations retain predictive information about the target continuation.

To this end, we introduce ReTrace, a rejected-trajectory conditioning method for speculative decoding. ReTrace preserves the standard draft-then-verify paradigm while extending information flow across rounds. Instead of discarding the rejected trajectory after verification, it carries the corresponding hidden representations forward as auxiliary conditioning for the next proposal. Since all required draft and target representations are already available from standard drafting and verification, ReTrace requires no additional forward pass through either model. Our contributions are twofold. First, we identify and quantitatively analyze the predictive signal retained in rejected trajectories of DFlash, showing that representations beyond the first mismatch can remain informative about the target continuation. Second, we introduce ReTrace, a rejected-trajectory conditioning method that extends information flow across drafting rounds and improves speculative decoding with marginal drafting overhead.

References (22)