Google 提出共享草稿头 G-MTP,Gemma 4 31B 推理提速最高 3.14 倍
手机上跑大模型提速这事有新解法了,Google 把草稿器直接挂进主模型的 KV cache,省掉独立模型的内存开销,31B 模型实测比 EAGLE-3 快一半。做端侧推理或自己维护 speculative decoding 的团队重点看微调后要重新蒸馏草稿器这条。
Google 的一篇论文提出 G-MTP,一种共享的多 token 预测草稿头,在 H100 上让 Gemma 4 31B 解码速度提升 3.14 倍,而对比方法 DFlash 和 EAGLE-3 分别只达到 2.60 倍和 2.07 倍。它的做法是让一个 4 层的草稿头直接读取主模型最终激活值和已有的 KV cache,跳过 prefill 阶段,也不需要单独的草稿模型内存,这正是独立草稿模型在手机等设备上难以部署的原因。
技术机制上,speculative decoding 由草稿模型猜测多个 token,主模型并行验证,从而摊薄每次解码成本。G-MTP 的关键区别是与主模型共享缓存,在 8 个草稿 token 的配置下达到最高加速。
论文还给出一个实用结论:如果只微调主模型,草稿头在 SciQA 上的块效率会下降 36.3%,对草稿器做蒸馏可以恢复大部分甚至全部损失。对同时维护推理加速和后续微调的团队来说,微调后重新蒸馏草稿器是必要步骤。
New Google paper shows that a small drafter that reads the main model's KV cache speeds up Gemma 4 by up to 3.14 times.
Speculative decoding speeds up LLMs by having a small model guess tokens that the big model checks in parallel. Separate draft models reprocess the whole prompt and need their own memory, which rules out phones.
G-MTP is a shared 4-layer head that reads the main model's final activations and existing KV cache, so it skips prefill.
On H100s with 8 draft tokens, Gemma 4 31B ran 3.14 times faster, versus 2.60 and 2.07 times for DFlash and EAGLE-3. Fine-tuning only the main model cut drafter block efficiency by 36.3% on SciQA, and distilling the drafter recovered most or all of it.
If you fine-tune a model served with a drafter, distill the drafter on the new model too.
– arxiv. org/abs/2611.25813
Title: "Efficient and Robust Drafting with Multi-Token Prediction"
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Gemma 4, G-MTP, speculative decoding, inference optimization.
Source attribution: curated from rohanpaul_ai (@rohanpaul_ai).