One score per token suffices for optimal irrevocable verification of iid drafts in speculative decoding

In multi-draft speculative decoding, a verifier must output a token whose law is exactly the target p, and it gains when that token is one of k drafts. Recursive rejection sampling and its relatives decide on each draft as it arrives. For k independent drafts with a common law q, we show that an optimal irrevocable verifier needs only one number per token, the score pi/qi: at slot j it accepts a draft whose score exceeds a fresh uniform threshold on an interval [Sj+1, Sj]. The endpoints come from one scalar root, computed exactly with O(V log 2V + kV) rational operations for V tokens. Being optimal on every instance, it accepts at least the exact worst case A − Dk(A), where A is the offline optimum and Dk solves a scalar backward recursion; for two drafts the worst ratio to A is 0.93256, against 23/27 ≈ 0.852 for recursive rejection sampling. The worst case comes from linear-programming duality, which turns verification into a prophet inequality in which a zero reward has a minimum probability; we give its sharp constants for Bernoulli and Poisson arrivals. For dependent drafts the sharp fraction is 1 − (1 − 1/k)k; a stopping inequality of Hill and Kertz gives the lower bound, and we give a verifier with one score per token that guarantees it. The record includes the paper, its LaTeX source, and the code and exact checks that reproduce every computed result. This paper merges and supersedes the preprints 10.5281/zenodo.24330785, 10.5281/zenodo.24330784 and 10.5281/zenodo.24330789.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-22
DOI
https://doi.org/10.5281/zenodo.24448634
Citations
1
Primary Topic
Optimization and Search Problems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

One score per token suffices for optimal irrevocable verification of iid drafts in speculative decoding

Kundan Baliga, Aditya Byju, Aiden Xie
1 citations
Zenodo (CERN European Organization for Nuclear Research)
Optimization and Search Problems
preprint

One score per token suffices for optimal irrevocable verification of iid drafts in speculative decoding

Kundan Baliga, Aditya Byju, Aiden Xie
preprint en
1 citations

Abstract

In multi-draft speculative decoding, a verifier must output a token whose law is exactly the target p, and it gains when that token is one of k drafts. Recursive rejection sampling and its relatives decide on each draft as it arrives. For k independent drafts with a common law q, we show that an optimal irrevocable verifier needs only one number per token, the score pi/qi: at slot j it accepts a draft whose score exceeds a fresh uniform threshold on an interval [Sj+1, Sj]. The endpoints come from one scalar root, computed exactly with O(V log 2V + kV) rational operations for V tokens. Being optimal on every instance, it accepts at least the exact worst case A − Dk(A), where A is the offline optimum and Dk solves a scalar backward recursion; for two drafts the worst ratio to A is 0.93256, against 23/27 ≈ 0.852 for recursive rejection sampling. The worst case comes from linear-programming duality, which turns verification into a prophet inequality in which a zero reward has a minimum probability; we give its sharp constants for Bernoulli and Poisson arrivals. For dependent drafts the sharp fraction is 1 − (1 − 1/k)k; a stopping inequality of Hill and Kertz gives the lower bound, and we give a verifier with one score per token that guarantees it. The record includes the paper, its LaTeX source, and the code and exact checks that reproduce every computed result. This paper merges and supersedes the preprints 10.5281/zenodo.24330785, 10.5281/zenodo.24330784 and 10.5281/zenodo.24330789.

Zenodo (CERN European Organization for Nuclear Research)
Georgia Institute of Technology (US), University of Illinois Urbana-Champaign (US)
Optimization and Search Problems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon