Papers › Revisiting Lossy Verification in Speculative Decoding: Mechanisms, Trade-offs, and...

Revisiting Lossy Verification in Speculative Decoding: Mechanisms, Trade-offs, and Failure Modes

29 Jul 2026arXiv:2607.26627added by Syntology

Tianyu Wang, Yuxuan Zhou, Wenbin Wang, Heng Li, Zikai Xiao, Junyuan Shang

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Speculative Decoding (SD) accelerates large language model inference by allowing a lightweight draft model to propose tokens that are subsequently verified in parallel by a larger target model. Recent approaches introduce lossy verification schemes to further improve efficiency by relaxing strict distributional matching. Yet such relaxation silently rewrites the decoding distribution, and the resulting acceleration can come at the cost of unstable, sometimes severely degraded generation quality. In this work, we present a principled analysis of the distributions induced by lossy verification methods. We show that many seemingly distinct approaches differ only superficially and can be classified into two categories: truncation-based verification and collaborative verification. We further construct a diagnostic evaluation framework across curated benchmarks. For truncation-based methods, we identify a fundamental pitfall: performance can degrade significantly compared to the true truncation sampling baseline due to distributional distortion. For collaborative verification, we uncover a key principles: controlling the overshoot of draft probabilities relative to target probabilities is essential to prevent low-quality outputs. Our code is available at https://github.com/ZhouYuxuanYX/Fast-HSD.

PaperPDFCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 17 code samples harvested from 1 repository linked to this paper: 17 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 2 violated, 5 with no contract checked; 10 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 7 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 17 samples from 1 repository, 17 ran (7 with no instrument failure; 10 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ZhouYuxuanYX/Fast-HSD found in paper text by SyntologySyntology: 17 samples, 17 ran (10 instrument-failed) · 0 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested: 17 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 2 violated, 5 with no contract checked; 10 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · violated contract
7ran · our draft was wrong
3ran; the contract check could not run
5ran

Licence: 0 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ZhouYuxuanYX/Fast-HSD. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

ZhouYuxuanYX/Fast-HSD found in paper text by Syntology 17 samples, 17 ran (10 instrument-failed) · 0 unverified
check_parallel fast_hsd/benchmarks/_bfcl_scoring.py ran · violated contract Apache-2.0 (permissive) · 6b6976449b748bbb · report fixture: signature model_calls:list/1/dict, ground_truth:list/1/dict · returned bool · level recorded 2026-09-24
check_simple fast_hsd/benchmarks/_bfcl_scoring.py ran · violated contract Apache-2.0 (permissive) · 3ea4a2a1e73508a4 · report fixture: signature model_calls:list/1/dict, ground_truth:list/1/dict · returned bool · level recorded 2026-09-24
cos_accept_prob fast_hsd/core/collaborative_verification.py ran Apache-2.0 (permissive) · c670a899ae34286a · report fixture: signature p:Tensor/1/float, q:Tensor/1/float, x:int/0/int, lam:float/0/float · returned float · level recorded 2026-09-24
eta_allowed_set fast_hsd/core/truncation_verification.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · 2f8c7cddf232700c · report fixture: signature p:Tensor/1/float, epsilon:float/0/float, delta:float/0/float · returned Tensor · level recorded 2026-09-24
extract_answer in 112 papers fast_hsd/benchmarks/_math_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 69e80a64efad173b · report fixture: signature response:str/0/str · returned str · level recorded 2026-09-24
extract_boxed_answer in 21 papers fast_hsd/benchmarks/_math_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · cd23a3bbdde761c5 · report fixture: signature solution:str/0/str · returned str · level recorded 2026-09-24
extract_code in 24 papers fast_hsd/benchmarks/_mbppplus_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 6802b1b27591fad2 · report fixture: signature response:str/0/str · returned str · level recorded 2026-09-24
extract_letter in 5 papers fast_hsd/benchmarks/_include_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b84cbed5d59e4b03 · report fixture: signature response:str/0/str · returned str · level recorded 2026-09-24
extract_ref_answer fast_hsd/benchmarks/_math_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 90d3d9ce134f7036 · report fixture: signature text:str/0/str · returned str · level recorded 2026-09-24
lenience_accept_prob fast_hsd/core/collaborative_verification.py ran Apache-2.0 (permissive) · 849ccf086024efa8 · report fixture: signature p:Tensor/1/float, q:Tensor/1/float, x:int/0/int, lenience:float/0/float · returned float · level recorded 2026-09-24
lenience_yield_distribution fast_hsd/core/collaborative_verification.py ran · our draft was wrong Apache-2.0 (permissive) · 89141c7bf97aef69 · report fixture: signature p:Tensor/1/float, q:Tensor/1/float, lenience:float/0/float · returned Tensor · level recorded 2026-09-24
min_p_allowed_set fast_hsd/core/truncation_verification.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · 5fb627688b54a339 · report fixture: signature p:Tensor/2/float, p_base:float/0/float · returned Tensor · level recorded 2026-09-24
parse_function_calls fast_hsd/benchmarks/_bfcl_scoring.py ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 458f565f4a335155 · report fixture: signature model_output:str/0/str · returned list · level recorded 2026-09-24
run_pass_at_1 fast_hsd/benchmarks/_mbppplus_scoring.py ran Apache-2.0 (permissive) · 1d38b7baaed5c39c · report fixture: signature code:str/0/str, test_list:list/1/str, test_imports:list/1/str, timeout:int/0/int · returned tuple · level recorded 2026-09-24
score_include fast_hsd/benchmarks/_include_scoring.py ran Apache-2.0 (permissive) · 391a4d80e3c9c4ff · report fixture: signature response:str/0/str, gold_letter:str/0/str, options:list/1/str, rng:Random/0/? · returned tuple · level recorded 2026-09-24
score_mbppplus fast_hsd/benchmarks/_mbppplus_scoring.py ran Apache-2.0 (permissive) · 67fb8c433b33b902 · report fixture: signature response:str/0/str, test_list:list/1/str, test_imports:list/1/str, timeout:int/0/int · returned tuple · level recorded 2026-09-24
speccascade_accepts fast_hsd/core/truncation_verification.py ran; the contract check could not run (RAISES) Apache-2.0 (permissive) · 54c8678c38c21902 · report fixture: signature p:Tensor/1/float, x:int/0/int, p_base:float/0/float · returned bool · level recorded 2026-09-24

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.26627, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections