arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.22955cs.CL
收藏

多样性还是精度?对下个token预测的深入探讨

Diversity or Precision? A Deep Dive into Next Token Prediction

Haoyuan Wu, Hai Wang, Jiajia Wu, Jinxiang Ou, Keyao Wang, Weile Chen, Zihao Zheng, Bei Yu

AI总结:

本文通过重新审视交叉熵损失,提出一种结合在线强化学习原则的预训练目标,平衡多样性与精度,优化语言模型的推理能力。

摘要:

最近的进展表明,强化学习(RL)可以显著提升大语言模型(LLMs)的推理能力。然而,RL训练的有效性取决于预训练模型的token输出分布定义的探索空间。本文重新审视标准交叉熵损失,将其视为单步回合内策略梯度优化的特定实例。为系统研究预训练分布如何影响后续RL的探索潜力,我们提出了一种通用的预训练目标,将在线RL原则适应于监督学习。通过将next-token预测视为随机决策过程,我们引入了一种奖励塑造策略,明确平衡多样性和精度。我们的方法使用正奖励缩放因子控制概率集中在ground-truth tokens上,并引入一种基于排名的机制,不对称地处理高排名和低排名的负样本tokens。这使我们能够重塑预训练的token输出分布,并研究如何提供更有利于RL的探索空间,最终提升端到端的推理性能。与直觉相反,我们发现施加一个以精度为导向的先验会获得更优的RL探索空间。

英文摘要:

Recent advancements have shown that reinforcement learning (RL) can substantially improve the reasoning abilities of large language models (LLMs). The effectiveness of such RL training, however, depends critically on the exploration space defined by the pre-trained model's token-output distribution. In this paper, we revisit the standard cross-entropy loss, interpreting it as a specific instance of policy gradient optimization applied within a single-step episode. To systematically study how the pre-trained distribution shapes the exploration potential for subsequent RL, we propose a generalized pre-training objective that adapts on-policy RL principles to supervised learning. By framing next-token prediction as a stochastic decision process, we introduce a reward-shaping strategy that explicitly balances diversity and precision. Our method employs a positive reward scaling factor to control probability concentration on ground-truth tokens and a rank-aware mechanism that treats high-ranking and low-ranking negative tokens asymmetrically. This allows us to reshape the pre-trained token-output distribution and investigate how to provide a more favorable exploration space for RL, ultimately enhancing end-to-end reasoning performance. Contrary to the intuition that higher distribution entropy facilitates effective exploration, we find that imposing a precision-oriented prior yields a superior exploration space for RL.

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

↑