arXiv:2611.27217v1 Announce Type: new 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.
CoPyro: Feeding Copy Proposals to Parallel Drafters
CoPyro, a speculative-decoding method that feeds n-gram-retrieved copy proposals into parallel drafters in place of masks, improved overall acceptance length for all four parallel drafters tested across eight benchmarks on Qwen3-4B, with gains of 2.19-5.08% when trained on 100K samples, according to the arXiv paper 2611.27217v1. With DFlash trained on 710K samples, overall gains ranged from 1.08% to 2.00% across the tested model sizes and temperatures, and code generation benefited most in both settings. On Qwen3-8B, processing the proposals added an average of 0.24 ms per decoding round in Transformers.
When using a parallel speculative drafter, seed the draft block with n-gram-retrieved copy proposals instead of masks and let the drafter revise them; the source measured 2.19-5.08% acceptance-length gains on Qwen3-4B.
more in playbook: Inference and self-hostingRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.