Bundling the drafter into the model eliminates an entire prefill stage, which changes how cheaply long-output agents can be served. Engineers deploying Gemma 4 on edge devices or phone GPUs get a concrete 2.2x speedup without extra infrastructure, while server operators see up to 3.1x. The published domain-adaptation recipes, with their 1.83x reduction in target forward passes, are directly reusable for teams fine-tuning on their own verticals.
#speculative decoding
推理 VLM 太慢的话可以看看这篇:Raptor 不用训练,靠拒绝反馈动态调树深度和分支宽度,实测平均加速到 2.39 倍。做推理优化的工程师值得把方法搬进自己的 pipeline 里试。
sciforium 用客户流量微调推测解码的 drafter,让 7-token 草拟通过验证,DeepSeek-V4.1-Flash 在 4 张 AMD MI355X 上跑到 1,129 tok/s,权重还是原版没动过。做推理优化的工程师值得看,他们连失败的尝试都写出来了。
Bounded draft KV memory removes the main scaling blocker for speculative decoding on million-token contexts, where draft caches previously grew with sequence length. Teams serving Kimi K3.1 Pro on vLLM, especially with P/D disaggregated deployments, can swap in the released weights and config for immediate throughput gains. Compared with the preview draft model, the 30% acceptance-length improvement compounds with the fixed 2K window into a materially cheaper long-context serving setup.
搞推理优化的可以看看这篇:LoopFill 把两种草稿器合到一棵树里,免训练就在 Ouro-2.6B 上跑到 5.85 倍加速,比 LoopAhead 快 25%-40%。做 Looped 模型部署或推测解码研究的都该读读原文。
跑智能体服务的朋友应该看看这篇。上下文一改缓存就作废,vLLM 只能干等重算,Callo 拿废弃 KV 先投机生成再验证,实测对 vLLM 提速 1.05-1.19 倍。做推理服务优化的工程师和智能体平台团队都能直接参考。
Draft-model engineering is quietly becoming a competitive lever: the gain comes from a better-matched draft model rather than the target model itself, so teams running Qwen3 27B can swap this in and roughly double effective throughput with no accuracy trade-off. Inference engineers and startups serving Qwen at scale should benchmark it against their current MTP setup, ideally on Hopper cards where FlashAttention 3 is available. Comparable accelerations typically require paid inference providers; this one is a free HuggingFace download.
The notable part is that a 816B MoE model now runs end-to-end as one Pallas program on a single TPU host through SGLang and TorchTPU, not through a closed inference stack. Teams building long-context agent products should study the deep dive for fp8 KV and session-aware cache strategies they can replicate. Compared with CUDA-only megakernel efforts, this demonstrates the PyTorch-to-TPU path has matured enough for production serving.
投机解码在高并发下常被草稿树拖慢,这篇论文给出一个只学 2H+2 个参数的小头来判断哪些节点值得验证,64 路并发还能比自回归快 1.3-1.8 倍。做推理服务、部署块扩散模型的人应该看看,72 个负载设置里 70 个拿了最快。
投机解码的 drafter 训练一直缺一个对齐接受长度的目标函数,这篇论文把它做成了无偏梯度估计器。在 Qwen3-8B 上十个基准验证,一个 epoch 就有 9.4% 吞吐提升。做推理优化的工程师值得照着复现。
复旦团队新出的 D3D,让扩散草稿不用等目标模型的隐藏状态,解码比 DFlash 快一截,GSM8K 上能到 7.48 倍,做推理加速的可以看看。
训练 diffusion drafter 的人可以看看,Split-KV 在 CP 64 下最高加速 3.67 倍,负载均衡还快三个数量级,代码已开源在 GitHub。
Speculative decoding is usually tuned for speed, so the finding that acceptance choices can silently shift reasoning accuracy across long agent runs is a practical surprise. Developers building multi-step agents can adopt this training trick to improve reliability without touching the target model's weights or outputs. The parameter cost — under 0.3% — makes it feasible even for teams serving open-weight models.
The ABI-stable libtorch build and CUDA 13.0-only wheels mean teams pinned to older CUDA versions must plan their upgrade path before pulling this release. Serving operators running NVIDIA GB300 or AMD GPUs gain measurable latency and throughput wins, and inference engineers can adopt the new OCR and reasoning models immediately. Step-5 Preview support also signals tighter integration with Chinese frontier models for self-hosted deployments.
研究投机解码的可以看看:把草稿模型训练目标换成 TVP,接受长度比 CE 高 9.8%,比 DFlash2 配方高最多 12.9%。
Practitioners running low-batch MoE inference, especially agent workloads with single-request traffic, can now justify benchmarking speculative decoding on their own hardware instead of ruling it out based on older cost models. The expert-reuse finding changes how inference engineers should estimate verification costs for open-weight models like Qwen3-235B on H100-class GPUs. Teams serving MoE models at low batch sizes should rerun their own latency tests before committing to a serving strategy.
这篇论文解决了一个实际问题:水印遇到投机解码就失效,TextSeal2 让草稿 token 也带上同样的密钥,检测率还比前作高出 8-22 个百分点。
The KL gradient-recovery trick recovers exact KL divergence gradients from cross-entropy gradients without vocabulary-sized logit matrices, staying compatible with standard fused kernels — a practical detail most MTP implementations overlook. Teams pre-training models with MTP, including DeepSeek-style architectures, can adopt it as a drop-in change with no parameter or throughput cost. The repo offers a direct starting point for replication.
Princeton 那边搞了个 FlashMap,一次能猜 16 个 token,Qwen3-8B 解码快了 6.14 倍,推理提速可以看看
Deduplicating expert reads sounds appealing for MoE inference, but the measured bandwidth numbers show it rarely helps at practical draft lengths, which saves practitioners from engineering it blindly. Inference engineers and MoE serving teams can reuse the fitted-bandwidth method, which takes under an hour per model, to predict whether deduplication wins on their own hardware. The tested stacks — llama.cpp CUDA and Metal plus MLX-LM — cover the common Mac and NVIDIA deployment paths.
RL 训练里 rollout 生成最耗时,这篇论文把它提速到原来的近 2 倍,还不用额外模型,做训练的可以看看实现思路。
The finding overturns the widely repeated narrative that acceptance rate falls as chains grow, which has driven draft-model co-design and position-aware training spending. Teams building inference acceleration should redirect effort from positional engineering toward entropy at decision points, where the paper localizes the real failure. The MATH-500 baseline and open diagnostic protocol are directly reusable for benchmarking any draft-target pairing.
A permissively licensed drop-in alternative to Eagle 4 matters because Eagle's licensing can block commercial local-inference deployments. Developers running small models on Apple Silicon can benchmark Woodcock against their current speculative decoding setup to see if the 2.5x gain holds on their workloads. It competes directly with Eagle 4 rather than a hosted service.
Speculative decoding delivers speedups without changing model outputs, so teams can adopt it without revalidating answer quality. Inference engineers running 27B-class models on limited hardware can treat EAGLE-4 as a drop-on layer rather than a model swap, and its measured edge over DFlash 2 and DSpark gives a concrete baseline for benchmarking their own stacks. The gains come purely from the drafting side, a direction worth watching in the decoding literature.
做 LLM 部署的可以看看,EAGLE-4 开源了,推测解码能自适应硬件和负载,Qwen3.8-27B 实测跑到 961.6 tokens/s。
Hugging Face 开了节 Local AI 202 直播,教你用投机解码让本地跑模型快一大截,喜欢折腾本地部署的别错过。
LlamaIndex 给 OpenDocRouter 上的 OCR 模型加了投机解码,LightOnOCR-3-1B 跑得更快了,做文档识别的可以去测速。
Faster training and halved storage lower the cost of building custom speculative decoding models, which speed up inference without changing model weights. Teams running vLLM can now train draft models on their own workloads and deploy them in the same stack. The FP8 backend matters most for those serving large models on memory-constrained GPUs.
用循环层的早期状态提前起草 token,解码最高快 7.82 倍,输出分布不变,研究解码优化的可以看看
This removes a practical blocker to speculative decoding: teams no longer need head-equipped drafters or per-workload tuning to get adaptive verification benefits. Developers serving MTP or EAGLE drafts in vLLM can enable it via a single flag, provided their attention backend supports variable-length verification. Built by Giancarlo Delfin (inferact) on work by Red Hat AI and NVIDIA contributors.
Hugging Face 开直播讲推测解码怎么落地,vLLM 官方也在推,想给本地 LLM 提速的可以跟着练一遍。
CoreWeave 讲了个真事:优化 Kimi K2.6 推理速度靠工程师熬夜手动切换训练和评估,现在 Forge 把这套投机解码流程自动化了。
This approach solves a critical bottleneck in long-context AI serving by enabling more efficient memory usage while maintaining high throughput. The technology allows models to handle significantly larger contexts without hitting memory limits, which directly impacts real-world applications requiring extensive context windows. Developers working with large language models should consider this optimization technique to improve performance in production environments.
Training parallel drafters has been stuck with block-local surrogates that ignore cross-round coupling; EDR closes that gap with an objective that provably matches global decoding cost. Teams running LLM inference can apply it to existing drafters like DSpark and DFly to cut round counts without adding hyperparameters. The offline evaluator also lets researchers compare drafters on shared rollouts without running full speculative decoding.
用小模型加速大模型推理的投机解码原来有安全漏洞,这篇论文定位到问题出在前几个 token,SecureSD 只需对早期 token 加严验证就能补上,做推理部署的可以看看。
The deck compresses hardware-level tradeoffs that usually take weeks of trial and error into one reusable resource, and attribution-based reuse makes it usable directly for internal team training or meetup talks. Anyone deploying local inference on constrained hardware can use it to pick between quantization levels or memory setups. Pair it with a llama.cpp install to follow the examples hands-on.