SpecPilot: Guiding Speculation with Online Adaptive Cost Prediction
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:46 UTC · 7e92ef269d54 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "82VVFrkHRi"- }- ],- "title": "SpecPilot: Guiding Speculation with Online Adaptive Cost Prediction",- "authors": [],- "abstract": "Speculative decoding speeds up autoregressive inference by having a cheap pro-\nposer draft several tokens that the target model then verifies in a single forward\npass. Whether a step pays off depends on how far acceptance holds, what verify-\ning a given tree costs on the machine at hand, and what drafting itself costs, and all\nthree change during a run. Fixed policies therefore win on some workloads and\nlose on others: the best draft length for llama.cpp’s speculative decoding is the\nworst on prose, where it runs 0.69× as fast as not speculating at all. We present\nSpecPilot, a planner that decides at every step how many drafter levels to buy and\nwhich tree to verify, judging each choice against the throughput the run has actually\nachieved. SpecPilot learns the verify cost surface online, including kernel-switch\ndiscontinuities whose direction differs between GPUs, and can pad a tree\npast one when the larger tree is cheaper. It prices each node by a path probability\ncalibrated against observed acceptance, and requests another drafter level only\nwhile its expected yield covers the measured cost of drafting. With a single untuned\nconfiguration on an RTX 3090, SpecPilot reaches a 1.78× geometric-mean\nspeedup over plain decoding across five workloads, 14.1% faster than llama.cpp's\nbuiltin speculative decoding and 3.7% faster than CAST, each tuned per cell in hindsight. CAST’s best thresh-\nold changes with the workload and the GPU: across 23 cells on three GPUs,\nSpecPilot matches CAST’s best fixed threshold (+0.5%) and is within 0.3% of\nCAST retuned for every cell, while CAST’s worst threshold falls up to 22.7%\nbelow it.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "5c54ec7a-6802-4c8b-8ebe-734c2fd7a65f"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "SpecPilot: Guiding Speculation with Online Adaptive Cost Prediction",+ "authors": [],+ "abstract": "Speculative decoding speeds up autoregressive inference by having a cheap pro-\nposer draft several tokens that the target model then verifies in a single forward\npass. Whether a step pays off depends on how far acceptance holds, what verify-\ning a given tree costs on the machine at hand, and what drafting itself costs, and all\nthree change during a run. Fixed policies therefore win on some workloads and\nlose on others: the best draft length for llama.cpp’s speculative decoding is the\nworst on prose, where it runs 0.69× as fast as not speculating at all. We present\nSpecPilot, a planner that decides at every step how many drafter levels to buy and\nwhich tree to verify, judging each choice against the throughput the run has actually\nachieved. SpecPilot learns the verify cost surface online, including kernel-switch\ndiscontinuities whose direction differs between GPUs, and can pad a tree\npast one when the larger tree is cheaper. It prices each node by a path probability\ncalibrated against observed acceptance, and requests another drafter level only\nwhile its expected yield covers the measured cost of drafting. With a single untuned\nconfiguration on an RTX 3090, SpecPilot reaches a 1.78× geometric-mean\nspeedup over plain decoding across five workloads, 14.1% faster than llama.cpp's\nbuiltin speculative decoding and 3.7% faster than CAST, each tuned per cell in hindsight. CAST’s best thresh-\nold changes with the workload and the GPU: across 23 cells on three GPUs,\nSpecPilot matches CAST’s best fixed threshold (+0.5%) and is within 0.3% of\nCAST retuned for every cell, while CAST’s worst threshold falls up to 22.7%\nbelow it.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}