SpecSearch: Towards Hardware-Aware Efficient Speculative Decoding
Selin Yildirim, Ali Zeyrek, Deming Chen
Key points
From the paper's conclusion- We present SpecSearch, a hardware-aware search engine that jointly optimizes decoding strategy, draft length, and precision across workload--GPU pairs.
Abstract
Speculative decoding (SD) accelerates large language model (LLM) inference, but its optimal configuration depends jointly on workload characteristics, GPU hardware, and available memory. For example, on the RTX~5090, the state-of-the-art speculative drafter DFlash achieves $3.50\times$ the throughput of autoregressive (AR) decoding at low concurrency, but only $0.76\times$ at high concurrency with short outputs. We present SpecSearch, a hardware-aware search engine that jointly optimizes decoding strategy, draft length, and precision across workload--GPU pairs. Its analytical cost model captures memory and compute constraints to identify feasible configurations and narrow the search space for throughput optimization. Guided by this model, calibration measurements are collected from multiple GPUs. Using the measurements, a Jev-based predictor learns to select high-throughput decoding configurations on held-out GPUs without requiring deployment-GPU calibration. The predictor is parameter-efficiently trained on calibration data, while adapting a frozen Qwen3-4B using LoRA adapters and a linear correction layer. Across NVIDIA RTX~5090, H100, L40 and AMD MI300X GPUs, SpecSearch with full calibration achieves an average of $2.01\times$ the throughput of AR and $1.36\times$ the throughput of SD, both served by vLLM. The proposed Jev-based predictor closely matches this search performance with $1.30\times$ throughput improvement over SD with vLLM, while eliminating the need for held-out GPU calibration. Additionally, it retains $97.36\%$ of the throughput achieved by SpecSearch that utilizes full calibration.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SpecPilot: Autonomous Algorithm Discovery and Systems Optimization for Speculative DecodingarXiv · 2026
- Draft Calibration for Speculative Decoding: Accelerating LLM Serving by Matching Draft and Target DistributionsarXiv · 2026
- Training Parallel Speculative Draft Models by Directly Minimizing Expected Decoding RoundsarXiv · 2026
- Hybrid Spark: Adaptive Speculative Decoding That Lets the Content Choose the DrafterarXiv · 2026
- Factorization-Guided Training and Inference for Diffusion-Drafted Speculative DecodingarXiv · 2026
- NarrowSpec: Draft Hidden Width Need Not Match the Target in Speculative DecodingarXiv · 2026