概述
实现方式不同:引用的Meta研究使用并行预测头,而DeepSeek-V3描述了顺序辅助模块。
深入探讨
Ordinary next-token training predicts the token following a supplied prefix. Better and Faster Large Language Models via Multi-token Prediction extends the target horizon: several future tokens are predicted from each training position. Its architecture uses a shared transformer trunk and independent output heads for different offsets. These heads include transformer layers and use a shared unembedding matrix, so calling every additional head merely a lightweight linear layer is not the paper’s exact architecture. The training loss combines future-token cross-entropy terms. For a four-target design, the first head predicts the token at t+1 and the fourth predicts t+4 from the available prefix representation. Those targets do not mean that inference can accept four arbitrary guesses without checking them. The paper’s basic inference mode retains next-token prediction and discards the other heads. It also investigates greedy self-speculative decoding that proposes and verifies additional tokens. Its measured gains and speedups belong to particular code and language experiments, model sizes, batch sizes, and decoding procedures. DeepSeek-V3’s report presents another MTP implementation. It sequentially predicts additional tokens through auxiliary modules, preserving a causal chain across prediction depths rather than using the same independent parallel-head design. This distinction matters when describing how each module receives its inputs. Both works study additional prediction targets, but sharing an objective label does not make their architectures identical. Neither report establishes that MTP is a default ingredient in every frontier model or guarantees a fixed speedup for every deployment.
现实世界的实施
在匹配评估条件下比较下一个词和多词训练。
检查在明确声明的序列偏移处的未来词目标。
仅使用下一个词头在Meta研究的基本推理设置中。
研究验证的自我推测解码与辅助预测。
多令牌预测训练的未来
实验可以改变预测视野、辅助损失权重、架构和解码策略,同时测量质量和资源成本。更深的预测视野是需要评估的假设,而非证明模型在更长任务上正确规划。报告应将改进与额外监督的提升与因特定推理实现带来的收益区分开来。编码基准、文本预测和算法任务可以揭示不同行为。对所选系统的有用问题是其测试的质量、内存和延迟是否在预期工作负载下证明额外训练或推理组件的合理性。
付诸实践
为什么这很重要
- 速度与规模. 语言工作流程可以在不牺牲一致性的情况下更快地移动。
- 交通与覆盖范围. 它扩展了跨语言和沟通方式的访问。
- 更清晰的判决. 团队可以花更多时间进行判断,而自动化则可以处理重复。
留意
- 幻觉的事实可以悄悄地进入报告、支持流程或研究成果。
- 及时的敏感性可能会在类似的请求中产生不一致的结果。
- 如果访问控制薄弱,敏感文本数据可能会暴露。
后续步骤
- 在推出之前定义输出格式、语气和质量标准。
- 当准确性很重要时,请使用可信来源进行地面响应。
- 为高风险输出保留人工审查检查点。
- 跟踪故障模式并定期重新训练提示或工作流程。
不断探索
常见问题
什么是多令牌预测训练?
多词预测训练模型时,目标不止紧随其后的下一个词。实现方式不同:引用的Meta研究使用并行预测头,而DeepSeek-V3描述了顺序辅助模块。
在引用的Meta研究中,哪种架构在训练位置预测多个未来词?
头部针对共享前缀表示的不同偏移;这就是指定的并行头设计。
哪个模型在预训练中特别使用了多标记预测目标?
DeepSeek-V3 采用 MTP 训练目标来提高数据效率并实现推测解码。
多词训练在前缀位置提供了哪些额外监督?
多个目标在所述目标下贡献预测损失。
Meta论文的自我推测推理实验中,辅助预测如何使用?
报告的实验使用验证的贪婪自我推测;任意解码策略需要自己的保证。
如果不需要加速,训练后辅助头会怎样?
额外的头在部署时是可选的;丢弃它们可以使模型的大小与标准的下一个令牌模型相同。