SecondSourceAI 產業的第二來源

分析 · 根據兩個以上獨立來源 · 寫於 2026-11-26

投機解碼的「每輪接受 token 數」(以及 token 吞吐)只有在無損驗證下才是有效的速度代理:無損驗證保留目標模型的輸出分布,completion 長度不變。改用 training-free 寬鬆(lossy)驗證後,輸出分布會變,completion 常常變長,用接受率或吞吐算出的「N× 加速」會高估真正省下的時間。兩個不同實驗室讀全文後的量測都看到這件事。Graphcore 團隊(arXiv 2607.08690)用弱語言模型或 MTP 模組當草稿時,token 吞吐的提升遠大於長度校正後的加速,許多情況甚至比嚴格版更慢。Waterloo 團隊(arXiv 2610.23818)量了 5 條規則、6 個 benchmark、12 組模型對,共 360 格:248 格的 completion 變長,長度比中位數 1.08×、平均 1.54×,平均接受增益 1.34×;多出來的主要是推理軌跡,抵掉了大部分驗證輪數與實測時間的節省。真正變快的設定通常會掉準確度;保住準確度的設定省得很少,後一篇在保準確度的最佳設定下,驗證輪數中位數只省約 4%。幅度高度依設定而定。後一篇在 Qwen3-8B 的建議採樣設定(溫度 0.6)下,三條溫和規則不再拉長輸出,省 4–7% 輪數,也保住準確度。在無損回答很短、接近線上服務的 SPEED-Bench 上,除一條規則外,接受增益都大於長度膨脹,但這個 benchmark 不評準確度。前一篇發現強草稿模型有時能近乎無損。同一組實驗的耗時比還會隨伺服器不同而變。因此,評估或採購「用寬鬆驗證換速度」的推理加速方案時,不應接受只報接受率或吞吐的倍數;應要求在自己實際上線的模型、採樣設定與伺服器上,用同一批 prompt 對比無損基線,同時報出每任務的 completion 長度、驗證輪數、wall-clock 與準確度。適用範圍只限 training-free 寬鬆規則;帶訓練的接受判準(如 judge head)兩篇都沒測。

這不是預測,所以沒有排定哪一天對答案。

什麼會推翻它

各條行尾若有日期,那是相反的證據要在那天前出現才算數的期限,不是對答案的日子。

兩篇作者團隊以外的第三方(其他實驗室、推理服務商或獨立評測機構)公開的端到端評測:在生產級推理模型上,用該模型的建議採樣設定與實際服務硬體,以同一批 prompt 對比無損投機解碼,報出 training-free 寬鬆驗證規則的每任務 completion 長度、wall-clock 與準確度 — 多數(≥2/3)受測任務上:completion 長度增幅 <10%,每任務 wall-clock 加速達每輪接受增益的 80% 以上,準確度落在無損的 2 個百分點內 — 達到即推翻「接受率會系統性高估寬鬆驗證的有效加速」;判斷改寫為:在建議採樣設定下,接受率可以當有效加速的近似 — 2027-11-30

Waterloo 團隊論文(arXiv 2610.23818)的正式發表版,或他人用其公開程式重跑的結果:改用各目標模型的建議採樣設定(不是溫度 1.0)重做多數模型對與資料集 — 長度比中位數 ≤1.02;五條規則中至少三條在最寬鬆設定下,驗證輪數比中位數 ≤0.90;掉準確度(低於無損 2 點以上)的格 <20% — 達到即削弱:長度膨脹改判為高溫採樣下的現象,判斷收窄到溫度 1.0 以上的設定 — 2027-06-30

寫下判斷時的出處

A Practical Investigation of Training-free Relaxed Speculative Decoding · arXiv (Guoxuan Xia, Luka Ribar, Paul Balanca)
「Fig. 4 (D) actually shows slowdowns vs strict spec-dec in many cases, even though relaxation should increase l¯accept and token throughput.」
「Figure 5: Left: (spec-casc-opt) drafters that are weak language models improve token throughput much more than length-adjusted speed-up. Right: relaxation into an MTP drafter increases generation length with rambling responses.」
「relaxation can require considerable capability evaluation unlike lossless speculative decoding」
「Using a small general language model (Qwen3 0.6B+32B) gives more useful trade-offs than MTP across evaluated methods, but still shows consistent clear capability degradation, a far cry from the near-lossless capability demonstrated in many relaxed spec-dec papers.」
「Our investigation suggests that the achievable results are highly setting-dependent.」
「Relaxation can be useful, especially with stronger drafters or methods that tightly control deviation from the verifier, but it should be treated by practitioners as a deployment-specific optimisation potentially requiring further capability evaluation and tuning, rather than a drop-in replacement for strict standard speculative decoding.」
「we find that for separate draft models, vLLM has crel much higher than what could be ideally achieved (see Tab. 1).」
「Fig. 4 (E) actually shows, on the other hand, that the strong drafter (Qwen3 8B+32B) is able to provide much better (sometimes lossless up to measurement noise) trade-offs with relaxation, aligning much closer with results presented in the literature.」
「As described in the main body, speed-up values in the figures are reported with the response-length-aware proxy in Eq. 4, rather than as direct end-to-end wall-clock serving benchmarks.」

Acceptance Is Not Speed: Length Inflation in Training-Free Lossy Speculative Decoding · arXiv (Chiatzen Wang, Bill Xu, Haochen Gu, Hongyang Zhang)
「Relaxation does raise the number of draft tokens accepted per round, but the model spends that gain on longer outputs: across the 360 cells the mean length inflation (1.54×) exceeds the mean acceptance gain (1.34×).」
「Relaxation lengthens completions in 248 of the 360 cells (Tables 1 and 3): λ has median 1.08 and mean 1.54, with the 95% interval above 1 in 172 cells and below 1 in 67.」
「We identify a length inflation phenomenon: relaxed verification lengthens completions, primarily by extending reasoning traces, largely offsetting apparent gains in accepted tokens per round.」
「showing that relaxation inflates completion length, that the inflation cancels most of the promised reduction in verifier rounds and in measured time」
「Where a rule does decode faster, accuracy drops; the one rule that keeps accuracy close to lossless, spec_casc_tok, is also the one that relaxes least.」
「The median best round ratio over the 29 qualifying cells is 0.96.」
「Acceptance gain is not a measure of speed for a relaxed rule, because relaxation changes what the model generates and not only how fast it is verified; completion length and verifier rounds have to be reported next to it.」
「On the 28 GPT-OSS-20B cells with three seeds, λ and the round ratio replicate across the first two servers (mean λ 1.49, 1.44, 1.48 and mean round ratio 1.04, 1.01, 1.03 for seeds 0, 1, 2); the time ratio does not (1.17, 1.01, 1.03): it is lower on the second server in 23 and 24 of the 28 cells.」
「the picture changes for the gentle rules: mentored_dec, cactus, and spec_casc_tok no longer lengthen completions (λ 1.01 to 1.04), save 4 to 7% of the rounds, and keep accuracy.」
「Lossless completions are short here, and the acceptance gain of every rule but one exceeds its inflation, so rounds fall (Table E1)」
「it again has a time ratio below 1 and accuracy within two points in 15 of the 24 cases (released tables).」
「rules that train a component, such as a judge head (Bachmann et al., 2025; Garipov et al., 2025) or a learned ensemble weight (Wang et al., 2026b), expose no α to sweep.」