Osprey: Target-agnostic Pre-training Makes Stronger Drafters in Speculative Decoding
- Source
- arxiv.org
- Author
- Fengxiang Bie, Yuqing Jian, Yifan Yu, Zhongzhu Zhou, Zelei Shao, Ben Athiwaratkun, Shuaiwen Leon Song, Chenfeng Xu, Xiaoxia Wu, Tianyi Zhang
- Date

Context
Osprey aims to make the small models used to accelerate text generation more reusable. It builds on speculative decoding: a small model drafts several pieces of text, and a larger model checks them together. The original method gains speed by letting the larger model verify proposed text in parallel.
Osprey starts with an already pretrained small , removes layers to make it faster, then retrains the shortened model before adapting it to a particular larger model. The shared preparation can be reused, although each deployed drafter still needs target-specific adaptation. The researchers report improved acceptance of drafted text across three target models, with the largest gains on unfamiliar task distributions and multilingual data.
- speculative decoding — A speed trick where a small model drafts several tokens ahead and the big model verifies them in one pass, often doubling generation speed.
- LLM — A large language model — the neural network behind tools like Claude and ChatGPT, trained on huge amounts of text to predict what comes next.
- pretraining — The first, biggest phase of building a model: training it on enormous amounts of text so it learns language, facts, and reasoning in general.
“This is a striking inversion of modern LLM development, where target models are valued precisely for the broad generalization they acquire through large-scale pretraining.”
“Osprey addresses both by pruning to a shallow backbone, restoring its language-modeling capability with target-agnostic next-token pretraining, and adapting it to each target through vocabulary alignment, zero-initialized QKV expansion, and distillation from the target model's output distribution.”
articleMargins, Not Windows: Training-Free Per-Step Lossy Speculative DecodingOszk\'ar Urb\'an, Young D. Kwon, Stylianos I. Venieris, Cecilia Mascolo
articleCo-Designing AI Models Using Speculative Decoding for Faster LLM InferenceTanya Lenz
articleTreeSpark: Calibrated, Load-Adaptive Draft Trees for Semi-Autoregressive Speculative DecodingHuapeng Zhou, Huayu Wang, Xinyu Wang
Checking sign-in…
Loading comments…