Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

SpecPilot: an agent loop that tunes speculative decoding per deployment, reporting up to 10.9x speedup

SpecPilot is an autonomous agentic loop that uses a cost model to find the biggest gaps between a speculative-decoding system and its theoretical ceiling, then has parallel agents explore and merge optimizations. It discovered a lossless 12-bit weight format…

Published Read the original
SpecPilot: an agent loop that tunes speculative decoding per deployment, reporting up to 10.9x speedup

Why it matters

Teams serving LLMs may be leaving a large share of speculative-decoding speedup on the table with stock implementations.

What happened

1 min read

SpecPilot is an autonomous agentic loop that uses a cost model to find the biggest gaps between a speculative-decoding system and its theoretical ceiling, then has parallel agents explore and merge optimizations. It discovered a lossless 12-bit weight format, tree verification for hybrid recurrent targets, two-level verification and three batching mechanisms. Across four target models, three drafters and two GPU platforms, it raised speedup over autoregressive decoding from 4.46x to 10.87x for single requests and from 1.94x to 3.93x with batching, without training or quality loss.

inscraper analysis

Our analysis

The headline numbers are the authors' own and compare against released 'stock' systems, so the gain partly reflects how under-optimized those baselines were. The token-forcing check against stock outputs is a sensible guard against agents reward-hacking a speed metric, and is worth copying in any agent-driven optimization work. A lossless 12-bit weight format is the most broadly reusable finding if it holds outside this setup. The abstract does not say whether code is released, which decides whether inference engineers can use this now.

More in Research