基础设施 4.0 · 优秀 2026-10-20 · 论文

Adaptive Multi-Token Prediction: How far should we go?

MTP 用一次目标模型前向起草多 token 再验证来加速解码,但最佳投机视野随上下文变化:草稿长摊销好,被拒的后缀却浪费算力;且 MTP 所有头在同一次前向触发,必须在起草前定死视野,无法像 AR drafting 那样逐 token 决定停不停论文把视野选择形式化为在线控制问题,用验证反馈学习每个上下文草稿可信多远;用 acceptance survival(草稿前缀被完整接受的概率)刻画各视野的期望提交 token 数,每轮预测存活距离选期望 token/s 最高的视野理论上任何在线学习者的预测误差都转化为相对逐上下文最优视野的吞吐 regret,进而约束 wall-clock 完成时间...

打开原文回到归档

Adaptive Multi-Token Prediction: How far should we go?

  • ID: b8b187e5
  • 原文链接: https://arxiv.org/abs/2610.28619
  • PDF: https://arxiv.org/pdf/2610.28619v1
  • 作者: Emile Anand, Mohammed Rehan Parwani, Xinyuan Cao
  • 日期: 2026-10-20
  • 更新: 2026-10-20
  • 分类: infra
  • 来源类型: paper
  • 标签: multi-token-prediction, speculative-decoding, online-control, inference-optimization
  • 质量评分: 4/5
  • 抓取时间: 2026-10-22T04:21:44Z

中文导读

MTP 用一次目标模型前向起草多 token 再验证来加速解码,但最佳投机视野随上下文变化:草稿长摊销好,被拒的后缀却浪费算力;且 MTP 所有头在同一次前向触发,必须在起草前定死视野,无法像 AR drafting 那样逐 token 决定停不停论文把视野选择形式化为在线控制问题,用验证反馈学习每个上下文草稿可信多远;用 acceptance survival(草稿前缀被完整接受的概率)刻画各视野的期望提交 token 数,每轮预测存活距离选期望 token/s 最高的视野理论上任何在线学习者的预测误差都转化为相对逐上下文最优视野的吞吐 regret,进而约束 wall-clock 完成时间;在线梯度下降下 regret 次线性基于 Llama-3.1-8B-Instruct(Medusa 头Meta MTPQwen3-4B-Inst-2507-MTP)的五对 draft-target 在 AIME 2025 与 GSM8K 上解码至多 4.1x 加速,10 个设定中 8 个持平或优于固定窗口,吞吐增益至多 10%;控制器轻量免重训练验证器保持不变

为什么值得关注

MTP 投机视野应随上下文在线调整:AMTP 用接受存活率选视野,免重训练验证器不动,Llama-3.1-8B 解码至多 4.1x

论文于 2026-10-20 提交 arXiv(cs.AI, cs.LG, eess.SY),摘要与元数据均来自 arXiv 官方页面。

关键信息

  • 论文标题:Adaptive Multi-Token Prediction: How far should we go?
  • 作者:Emile Anand, Mohammed Rehan Parwani, Xinyuan Cao
  • arXiv:https://arxiv.org/abs/2610.28619
  • 发布时间:2026-10-20
  • arXiv 分类:cs.AI, cs.LG, eess.SY
  • 关联标签:multi-token-prediction, speculative-decoding, online-control, inference-optimization

English Abstract

Multi-token prediction (MTP) can accelerate language-model decoding by drafting several tokens and verifying them in a single target-model pass. However, the best speculation horizon changes with context: longer drafts offer greater amortization when reliable, but can waste compute on suffixes discarded after a rejection. Unlike autoregressive drafting, where a stopping rule can decide token by token, MTP must fix the horizon before drafting, as all heads fire in the same forward pass. We therefore formulate horizon selection as an online control problem, using verification feedback to learn how far the draft can be trusted in each context, and introduce Adaptive Multi-Token Prediction (AMTP): a lightweight controller that requires no retraining and leaves the exact verifier unchanged. To guide horizon selection, we characterize the expected number of tokens committed at each horizon via acceptance survival, the probability that a draft prefix is fully accepted. Before each round, AMTP predicts how far the draft is likely to survive and picks the horizon with the highest expected tokens per second, learning freely from every verification pass. Theoretically, we show that any online learner's prediction error translates into throughput regret against the best horizon for each context, and in turn into a bound on wall-clock completion time. With online gradient descent, this regret is sublinear. Across five draft-target pairings built on Llama-3.1-8B-Instruct with Medusa heads, Meta's MTP models, and Qwen3-4B-Inst-2507-MTP, evaluated on AIME 2025 and GSM8K, AMTP decodes up to 4.1x faster than standard decoding and matches or outperforms the fixed window in 8 of 10 settings, with throughput gains of up to 10%.

English Summary

Multi-token prediction accelerates decoding by drafting several tokens verified in one target-model pass, but the best speculation horizon changes with context, and MTP must fix the horizon before drafting since all heads fire in the same forward pass. The paper formulates horizon selection as an online control problem: characterize expected committed tokens per horizon via acceptance survival, predict survival distance before each round, and pick the horizon with the highest expected tokens per second. Any online learner's prediction error translates into throughput regret against the per-context best horizon and a bound on wall-clock completion time; online gradient descent gives sublinear regret....

Obsidian Notes

  • 内容由 opencli arxiv paper 拉取 arXiv 元数据与摘要生成。
  • 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。