跳到正文
arXiv cs.AI· Mohammed Nayeem Khan, Navin Kumar R·· 57 分钟前AI 评分38

Vega-Fafnir:贪婪解码为何因舍入噪声而不再相同?投机验证中舍入噪声的来源与消除代价

Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It Costs

AI 导读

论文测量贪婪解码在有限精度下因缓存、填充、批量与投机验证产生的舍入噪声:Qwen3-0.6B(bfloat16,128 个新 token,GSM8K 与 ARC 提示)每轮验证 4 个猜测 token 时 150 条提示中 60% 文本改变,填充则改变 68%,所有首次分歧的 top-1 与 top-2 logit 差均不高于 0.375。

正文 · 原文

View PDF

Abstract:Serving engines treat the ways of running a greedy language model as interchangeable: cached or not, padded or not, alone or batched, one token or several verified at once (speculative decoding). In finite precision they round differently. We measure how often the greedy text of Qwen3-0.6B (bfloat16, 128 new tokens, GSM8K and ARC prompts) differs from a reference that decodes one token per pass. Verifying 4 guessed tokens per pass changes 60% of 150 prompts and padding changes 68%; every first divergence has a top-1 minus top-2 logit gap of 0.375 or less. A split of the noise shows that cache entries written by multi-token passes are about as noisy as the multi-token pass itself. A margin gate (fall back to one token when the gap is below a bound calibrated on separate GSM8K prompts) whose fallback reads that cache does not help: 58 of 100 prompts differ, against 61 of 100 for plain verification. Rebuilding the cache with one-token passes leaves 0 of 100 different but costs 7.2 model passes per token, against 1.0 for the reference. Fixed-width decoding makes drafted and plain decoding identical (0 of 100 prompts differ) at 0.75 passes per token. On shifted MMLU and HellaSwag prompts the rebuild gate leaves 0 of 60 different, plain verification 48 of 60. On 138 further and shifted prompts the bound was exceeded at 0.6% of positions and missed 0 of 309 flips. One GPU, one drafter, small models.
Comments: 27 pages, 26 figures, 11 tables
Subjects: Artificial Intelligence (cs.AI)
Cite as: arXiv:2611.27554 [cs.AI]
  (or arXiv:2611.27554v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.27554

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Navin Kumar Rekhchand [view email]
[v1] Fri, 20 Nov 2026 12:51:06 UTC (1,728 KB)

来源:arXiv cs.AI · arxiv.org