Reproduce “Osprey: Target-agnostic Pre-training Makes Stronger Drafters in 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

Fengxiang Bie, Yuqing Jian, Yifan Yu, Zhongzhu Zhou, Zelei Shao, Ben Athiwaratkun, Shuaiwen Leon Song, Chenfeng Xu and 2 more

Osprey separates reusable language-model pretraining from target-specific drafter adaptation for speculative decoding. A shallow, target-agnostically pretrained backbone followed by interface conversion and distillation improves token acceptance and serving throughput over EAGLE-3 across domain shifts, model families, tokenizers, and both dense and mixture-of-experts targets, while requiring a substantial upfront training cost.

Key insights

  • Broad language pretraining provides a reusable prior that complements, rather than replaces, target-specific distillation; removing this stage reduces both in-domain and out-of-domain acceptance.
  • The benefit is especially evident under distribution shift: on Qwen3-8B, Osprey’s out-of-domain accepted-length improvement over EAGLE-3 is 17.3%, compared with 12.4% in-domain.
  • A shallow pretrained drafter can transfer across Qwen3, Llama 3.3, and MiniMax-M2.5, including a mixture-of-experts target and multilingual evaluations, despite differences in target representations and vocabularies.

Summary by alphaXiv.

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