arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.11912cs.LGcs.AI
收藏

Transformer 如何通过多令牌预测学习规划

How Transformers Learn to Plan via Multi-Token Prediction

University of California, Los Angeles(加州大学洛杉矶分校);Shanghai Jiao Tong University(上海交通大学);University of Pennsylvania(宾夕法尼亚大学);RIKEN Center for Advanced Intelligence Project(日本理化学研究院先进智能项目中心);The Institute of Statistical Mathematics(统计数学研究所)

Jianhao Huang, Zhanpeng Zhou, Renqiu Xia, Baharan Mirzasoleiman, Weijie Su, Wei Huang

AI总结:

本文研究多令牌预测如何促进推理,特别是规划,通过实验和理论分析展示其优于单令牌预测的性能及背后的机制。

摘要:

尽管单令牌预测(NTP)是训练语言模型的标准目标,但在推理任务中常难以捕捉全局结构。多令牌预测(MTP)最近作为一种有前途的替代方案出现,但其底层机制仍不明确。本文研究MTP如何促进推理,特别是规划。实验表明,MTP在合成图路径寻找任务和更现实的推理基准,如Countdown和布尔可满足性问题上均优于NTP。理论上,我们分析了一个简化两层Transformer在星形图任务上的表现。我们证明MTP诱导了两阶段的逆向推理过程:模型首先关注末端节点,然后通过逆向追踪中间节点重建路径。这种行为源于MTP的梯度解耦属性,相比NTP提供了更清晰的训练信号。最终,我们的结果突显了多令牌目标如何内在地偏向于稳健和可解释的推理电路。

英文摘要:

While next-token prediction (NTP) has been the standard objective for training language models, it often struggles to capture global structure in reasoning tasks. Multi-token prediction (MTP) has recently emerged as a promising alternative, yet its underlying mechanisms remain poorly understood. In this paper, we study how MTP facilitates reasoning, with a focus on planning. Empirically, we show that MTP consistently outperforms NTP on both synthetic graph path-finding tasks and more realistic reasoning benchmarks, such as Countdown and boolean satisfiability problems. Theoretically, we analyze a simplified two-layer Transformer on a star graph task. We prove that MTP induces a two-stage reverse reasoning process: the model first attends to the end node and then reconstructs the path by tracing intermediate nodes backward. This behavior arises from a gradient decoupling property of MTP, which provides a cleaner training signal compared to NTP. Ultimately, our results highlight how multi-token objectives inherently bias optimization toward robust and interpretable reasoning circuits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑