Speculative Sampling via Exponential Races

Szymon Kobus, Deniz Gündüz
4/21/2025
cs.CLcs.IT

No confident code implementation found for this paper.

Abstract

Speculative decoding accelerates large language model inference using a smaller draft model. In this paper, we establish a surprising connection between speculative decoding and channel simulation, which aims at simulating a noisy channel using as few bits as possible. This connection allows us to provide an information-theoretic analysis of the speed up that can be achieved by speculative decoding. Leveraging this link, we derive an explicit relation between generation speed-up and the number of tokens $k$ generated by the draft model for large $k$, which serves as an upper bound for all $k$. We also propose a novel speculative decoding method via exponential race ERSD that matches state-of-the-art performance.

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{kobus2025speculative,
  title  = {Speculative Sampling via Exponential Races},
  author = {Szymon Kobus and Deniz Gündüz},
  year   = {2025},
  eprint = {2504.15475},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.15475v1}
}

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/2504.15475.svg)](https://codeofpaper.com/paper/2504.15475)

Discussion