CoPyro: Feeding Copy Proposals to Parallel Drafters
Hong-Kai Zheng, Piji Li
Abstract
Speculative decoding accelerates language generation by letting a target model verify several draft tokens in one forward pass. Earlier neural drafters such as EAGLE extend each candidate sequence one token at a time. Recent work has turned to parallel drafters such as DFlash, which predict a whole block at once. Another approach uses n-gram retrieval to find an earlier occurrence of the current context suffix and copy the tokens that followed it directly into the draft. We introduce CoPyro, which feeds these copied tokens into a parallel drafter in place of masks. The drafter learns from context which tokens to keep and which to revise as it predicts the block in its usual forward pass. Across eight benchmarks on Qwen3-4B, CoPyro improves overall acceptance length for all four parallel drafters tested, with gains of 2.19-5.08% when trained on 100K samples. With DFlash trained on 710K samples, overall gains range from 1.08% to 2.00% across the tested model sizes and temperatures. Code generation benefits most in both settings. On Qwen3-8B, processing the proposals adds an average of 0.24 ms per decoding round in Transformers.
Create a lesson
Recent in the same category
Hy-MT3: More Accurate, Robust and Practical Multilingual Translation Models in the Wild
Recent in the same category · Mao Zheng, Zheng Li, Fangxu Liu et al.
Auditing Post-Training Unlearning in Diffusion Language Models using Sparse Autoencoders
Recent in the same category · Yunha Seo, Changhoon Kim
Tasklets: A Unit-Test Benchmark for Language Model Architectures
Recent in the same category · Zayd Muhammad Kawakibi Zuhri, Munachiso Samuel Nwadike, Kentaro Inui et al.
Alliance Rupture and Repair in Simulating Cognitive Behavioral Therapy Dialogues
Recent in the same category · Jian Chai, Yitian Yang, Siqi Liu et al.
Open CDLM: A Benchmark and Library for Continuous Diffusion Language Models
Recent in the same category · Hao Jiang, Ruixi Chen, Jiayi Han et al.
How Many Bytes Has a BPE Model Seen? Estimating Byte-Token Exposure in Pretraining from Corpus Statistics and Embedding Norms
Recent in the same category · Liwei Zhang, ZhiMing Tong, Mochen Guan et al.