Summary
The paper proposes SpecOPD, a way to train parallel (block) drafters for speculative decoding with on-policy distillation, without the sequential draft-and-verify rollouts that existing SD-tailored OPD (Draft-OPD) uses to collect data. The key observation is that supervising one draft block only requires the reference prefix and the block's own sampled history. SpecOPD therefore samples anchors on a fixed, pre-collected reference response, lets the current drafter sample a -token branch at each anchor, and has the target score every branch position in one batched pass.
Branches are packed into a proposal tree that shares the target prefix. The paper gives architecture-specific exact-scoring rules for full attention (tree mask plus semantic RoPE positions, Eq. 3–5), sparse QSA attention (branch-consistent indexer groups, Eq. 6), and Gated DeltaNet linear attention (checkpoint restore plus indexed state replay, Eq. 7). The drafter is trained with the E2E-TV surrogate of expected acceptance length (Eq. 8–9).
Experiments cover Qwen3-8B (DFlash, DSpark) and two in-house targets, Qwen3.8-27B and Qwen3.8-Flash-Next-125B (DFlash V2). Reported results: up to +41.45% mean acceptance length (AL) over the original drafter (Table 1), 16.09× supervised-token throughput over Draft-OPD (Fig. 1, Fig. 7), up to 3.56× serving speedup over autoregressive decoding (Fig. 6), and an on- vs off-policy ablation at matched steps (Table 2).
Strengths
Clean, correct decoupling of on-policy supervision from sequential rollouts
Sec. 2.1–2.2, Eq. (1)–(5), App. C.1
The observation that a block's on-policy supervision needs only (Eq. 1–2) is simple and useful. The predecessor-row readout (Eq. 4) with tree mask and semantic positions (Eq. 3, 5) gives a precise, leakage-free formulation. Our independent float64 GQA re-implementation matched full-prefix recomputation to using exactly branch rows. A plain causal mask, or packed rather than semantic positions, gives errors of 0.65–0.69 (check 10).