cs.CLNov 23, 2026

Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding

Authors: Mohammad Mahdi Moradi, Ali Pourranjbar, Zongzuo Wang, Mingming Zhu, Ben Feng, Boxing Chen

Organizations: Ascend Team Toronto Research Center Huawei Technologies

Abstract

Parallel speculative decoders propose an entire token block at once, yet one early inconsistency can cause the target to reject its remaining suffix. We introduce Corrective Prefix Attention (CPA), which combines prefix-aware selection with autoregressive supervision to improve these parallel drafts. CPA lets each candidate attend to earlier choices within the block. Fixed candidate shortlists allow all pairwise interactions to be computed before selection, reducing the sequential walk to table lookups, accumulation and lightweight scoring rather than repeated neural evaluations. An auxiliary autoregressive loss trains the shared backbone on clean prefixes without adding an inference pass. Across eight math, code and dialogue benchmarks with Qwen3-4B and Qwen3-8B targets on Ascend NPUs, CPA commits 13--15% more tokens per verification round than DSpark and 25--26% more than DFlash. Its mean speedups reach 3.35×3.35\times and 3.37×3.37\times under greedy decoding and 2.86×2.86\times under sampling for both targets. Ablations support both components, while capacity sweeps demonstrate that greater acceptance alone does not guarantee faster decoding. These results motivate correcting parallel proposals with causal information while keeping sequential computation inexpensive.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Contextual Correction of Parallel Draftsfor Speculative Decoding

    Oct 8, 2026Roy Eisenstadt, Harel Lidar, Tal Gonen +5Speculative DecodingLLM Inference Acceleration

  2. When Parallel Drafter Meets Parallel Speculative Decoding

    Sep 23, 2026Fuliang Liu, Xue Li, Kun Qian +4Parallel Speculative DecodingSpeculative Decoding

  3. Give the Drafter a Second Chance to Guess: Parallel Reconsideration for Speculative Decoding

    Nov 3, 2026Hoang Anh Duy Le, Huibing Dong, Alireza Khadem +6Speculative DecodingLLM Inference Acceleration