SSSD: Simply-Scalable Speculative Decoding
Michele Marzollo, Jiawei Zhuang, Niklas Roemer, Niklas Zwingenberger, Lorenz K. Müller, Lukas Cavigelli
TL;DR
SSSD tackles the deployment bottleneck of speculative decoding by removing the need for training or pre-built draft models. It couples a CPU-based n-gram matcher over the prompt and self-output with a continuously updatable datastore (suffix-array backed) to propose draft tokens, while aligning with hardware via a roofline-informed speculation budget. Across multilingual, long-context, and batching scenarios, SSSD achieves up to $2.9\\times$ latency reduction and competitive end-to-end speedups compared to training-based approaches, with minimal adoption effort. This training-free, data-driven approach broadens practical deployment of speculative decoding, reducing maintenance overhead and improving robustness to distribution shifts in real-world serving workloads.
Abstract
Speculative Decoding has emerged as a popular technique for accelerating inference in Large Language Models. However, most existing approaches yield only modest improvements in production serving systems. Methods that achieve substantial speedups typically rely on an additional trained draft model or auxiliary model components, increasing deployment and maintenance complexity. This added complexity reduces flexibility, particularly when serving workloads shift to tasks, domains, or languages that are not well represented in the draft model's training data. We introduce Simply-Scalable Speculative Decoding (SSSD), a training-free method that combines lightweight n-gram matching with hardware-aware speculation. Relative to standard autoregressive decoding, SSSD reduces latency by up to 2.9x. It achieves performance on par with leading training-based approaches across a broad range of benchmarks, while requiring substantially lower adoption effort--no data preparation, training or tuning are needed--and exhibiting superior robustness under language and domain shift, as well as in long-context settings.
