Reproduce “Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

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

Corrective Prefix Attention (CPA) improves speculative decoding by letting a parallel drafter choose each token using its immediate predecessor and earlier choices. It precomputes candidate interactions, so selection needs no neural-network evaluation at each step, and trains the shared drafter on clean prefixes. On tested Qwen3 models, CPA improves committed tokens per round and average speed; larger candidate sets can reduce speed, and results use Ascend hardware.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.