SSSD: Simply-Scalable Speculative Decoding

Michele Marzollo, Jiawei Zhuang, Niklas Roemer, Lorenz K. Müller, Lukas Cavigelli
11/8/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Over the past year, Speculative Decoding has gained popularity as a technique for accelerating Large Language Model inference. While several methods have been introduced, most struggle to deliver satisfactory performance at batch sizes typical for data centers ($\geq 8$) and often involve significant deployment complexities. In this work, we offer a theoretical explanation of how Speculative Decoding can be effectively utilized with larger batch sizes. We also introduce a method that integrates seamlessly into existing systems without additional training or the complexity of deploying a small LLM. In a continuous batching setting, we achieve a 4x increase in throughput without any latency impact for short context generation, and a 1.7-2x improvement in both latency and throughput for longer contexts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{marzollo2024sssd,
  title  = {SSSD: Simply-Scalable Speculative Decoding},
  author = {Michele Marzollo and Jiawei Zhuang and Niklas Roemer and Lorenz K. Müller and Lukas Cavigelli},
  year   = {2024},
  eprint = {2411.05894},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.05894v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.05894.svg)](https://codeofpaper.com/paper/2411.05894)

Discussion