Recovering Off-Policy Supervision for Speculative Decoding
Abstract
Block drafters for speculative decoding are commonly trained on corpora written by external models, where a single off-policy token invalidates supervision for all subsequent slots in a block. Existing approaches discard these divergent slots, resulting in severe supervision loss. To resolve this problem while preserving the training corpus, we propose a rollout-based training framework that recovers full supervision through two complementary components. The first component, Anchor-Label Relabelling (ALR), replaces corpus labels with distributions from greedy target rollouts, restoring valid supervision across all predicted slots. The second component, In-Rollout Anchors (IRA), places draft blocks directly inside these rollouts to expose the drafter to target-generated context, reusing precomputed rollout features at no additional target cost. Across fixed vision-language and text corpora, our framework increases greedy accepted length by up to 36.5% over DFlash and consistently outperforms erasing baselines. Notably, a single epoch of our method surpasses the best erase schedules. After three epochs, it matches the acceptance length of training on target-regenerated responses. These results show that our framework provides an effective and compute-efficient approach for training speculative drafters on fixed corpora without modifying the original text. Code is available at https://github.com/js-lee-AI/ALR-IRA.
Create a lesson
Metadata
- Categories
- cs.CL, cs.CV, cs.LG
- Comments
- 22 pages, 4 figures, 17 tables
Related papers
Look Back, Draft Ahead: Corrective Prefix Attention for Parallel Speculative Decoding
Shared title terminologycs.CLMohammad Mahdi Moradi, Ali Pourranjbar, Zongzuo Wang et al.
AgSpec: Pushing the Limits of Retrieval-Based Speculative Decoding in Coding Agent Pipelines
Shared title terminologycs.CLSumin Lee, Sukmin Cho, Seungjae Lim et al.
UBTree: Parallel Tree Drafting via Unigram and Bigram Models for Speculative Decoding
Shared title terminologycs.CLChumeng Liang, Linxuan Wang, Xinyu Peng et al.
Better Supervision Is Nearby: Neighborhood On-Policy Self-Distillation
Shared title terminologycs.CLXincheng Wei, Yifan Ding, Yoshua Li et al.
Pitfalls of Dependency-Ready Decoding for Masked Diffusion Language Models
Shared title terminologycs.CLLina Berrayana, Christopher Malon, Yoichi Ishibashi et al.
CoT-Proxy: Cross-Format Transfer for Distilling Long-Horizon Policies
Shared title terminologycs.CLDawid J. Kopiczko, Tijmen Blankevoort, Yuki M. Asano