Reproduce “The “Lossless” Illusion: How Speculative Decoding Silently Changes What LLMs Say” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hanyu Yang
The authors test whether speculative-decoding implementations preserve the target model’s output distribution. They use lookup-table models with known probabilities to compare live engine outputs against the intended distribution and predicted bug behavior. Tests identify seven implementation bugs in vLLM and SGLang. In a controlled vLLM test, a token’s probability shifted from 1/2 to 5/12; prevalence in ordinary use remains unknown.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.