
Shrenik Bhansali, Gaurav Kumar, Amol Ambardekar, Saptarshi Mitra, Karthik Vijayan, Larry P. Heck · arXiv 2026 · 2026
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Speculative decoding obtains draft tokens in diverse ways - copying from the context, n-gram lookup, a small draft model, or a learned tree drafter - and which drafter is fastest depends on both the generated text and the hardware and batch size. We introduce ReFit to separate these two factors. A 0.58M-parameter predictor reads the target model's hidden state and estimates each drafter's committed tokens; a separately calibrated cost model prices each drafter on the current hardware; only the drafter with the lowest predicted cost per committed token runs. Training needs no exploration: with deterministic drafters and greedy verification, the output is the same whichever drafter runs, so every drafter's committed length at every prefix can be computed exactly offline; under speculative sampling, its expectation follows in closed form from one target pass. We evaluate on 16 workloads with 100 held-out requests each. Averaged over workloads, ReFit speeds up decoding by on Llama-3.1-8B and on Qwen3-8B, beating EAGLE-3, the strongest fixed drafter, by 30% and 27%; with every drafter tuned on validation data, its margin over tuned EAGLE-3 is 27.5% and 24.2%. It also exceeds the best fixed drafter chosen per workload in hindsight, and its gains hold under sampling, with thinking mode enabled, and on Qwen3-32B and Llama-3.3-70B targets. Comparing costs explicitly is the largest single source of this gain. ReFit also outperforms online methods that learn drafter choice during generation, reaching
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) 2023 · 2023 · 79073 citations90% match
Journal of Machine Learning Research 2003 · 2003 · 27075 citations90% match
2014 · 24939 citations90% match
No comments yet — start the discussion below.
2001 · 21904 citations90% match
arXiv (Cornell University) 2013 · 2013 · 18054 citations95% match
arXiv (Cornell University) 2014 · 2014 · 14617 citations95% match