Back to AI News
arxiv

Vega-Fafnir: Rounding Noise Makes Greedy Decoding Non-Interchangeable Under Speculative Verification

The paper measures how finite-precision rounding causes supposedly equivalent greedy decoding paths to diverge. On Qwen3-0.6B in bfloat16 with 128 new tokens, verifying four guessed tokens per pass changed 60% of 150 GSM8K and ARC prompts, while padding changed 68%; every first divergence had a top-1 minus top-2 logit gap of 0.375 or less. A margin gate that fell back to one-token decoding but reused the multi-token cache did not help, leaving 58 of 100 prompts different versus 61 of 100 for plain verification. Rebuilding the cache with one-token passes eliminated divergence on 100 prompts but cost 7.2 model passes per token, whereas fixed-width decoding was identical on 100 prompts at 0.75 passes per token.

AI Brief

It shows that common serving optimizations can silently change greedy model outputs and quantifies the cost of exact alternatives, which matters to anyone relying on reproducible inference.

arXiv:2611.27554v1 Announce Type: new 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!