SSSD: Simply-Scalable Speculative Decoding

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Marzollo, Michele, Zhuang, Jiawei, Roemer, Niklas, Zwingenberger, Niklas, Müller, Lorenz K., Cavigelli, Lukas
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918275923836928
author Marzollo, Michele
Zhuang, Jiawei
Roemer, Niklas
Zwingenberger, Niklas
Müller, Lorenz K.
Cavigelli, Lukas
author_facet Marzollo, Michele
Zhuang, Jiawei
Roemer, Niklas
Zwingenberger, Niklas
Müller, Lorenz K.
Cavigelli, Lukas
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05894
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SSSD: Simply-Scalable Speculative Decoding
Marzollo, Michele
Zhuang, Jiawei
Roemer, Niklas
Zwingenberger, Niklas
Müller, Lorenz K.
Cavigelli, Lukas
Computation and Language
Artificial Intelligence
Machine Learning
I.2.7
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.
title SSSD: Simply-Scalable Speculative Decoding
topic Computation and Language
Artificial Intelligence
Machine Learning
I.2.7
url https://arxiv.org/abs/2411.05894