Google 为 Gemma 4 内置多 token 预测 drafter,共享草稿头直接读取主干激活与现有 KV cache,省去独立 drafter 的预填充步骤。大模型在服务器上提速达 3.1x,小模型在 H100 上达 2.3x、手机 GPU 上达 2.2x。领域微调时蒸馏 drafter 比单独调主干最多少 1.83x 目标前向传播,适配代码已公开。
Brilliant work from Google on speculative decoding for Gemma 4.
This matters a lot if your agents generate long outputs, because faster decoding lowers both latency and serving cost.
The team built a multi-token prediction drafter directly into the model. It uses one shared drafting head that reads the backbone's own activations and its existing KV cache. That removes the separate prefill step a standalone drafter needs.
A clustered vocabulary projection also cuts the cost of each draft step, which helps most on small devices.
The speedups reach 3.1x for large models on servers. Small models get up to 2.3x on an H100 and up to 2.2x on a smartphone GPU.
They also tested fine-tuning.
When the backbone is adapted to a new domain, distilling the drafter with it needs up to 1.83x fewer target forward passes than tuning the backbone alone.
The code for the domain adaptation recipes is public.
https://arxiv.org/abs/2611.25813
Chat with Paper: https://academy.dair.ai/papers/efficient-and-robust-drafting-with-multi-token-prediction-2611.25813
来源:DAIR.AI · x.com