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

迈向大规模语言模型后训练的统一视角

Towards a Unified View of Large Language Model Post-Training

Tsinghua University(清华大学);Shanghai AI Laboratory(上海人工智能实验室);WeChat AI Code(微信AI代码)

Xingtai Lv, Yuxin Zuo, Youbang Sun, Hongyi Liu, Yuntian Wei, Zhekai Chen, Xuekai Zhu, Kaiyan Zhang, Bingning Wang, Ning Ding, Bowen Zhou

AI总结:

本文提出混合后训练算法,通过统一的优化过程整合在线与离线数据,实现稳定探索与有效利用演示,提升大规模语言模型的推理能力。

摘要:

现代语言模型后训练的训练数据主要来自两个来源:在线(模型生成的回放)数据和离线(人类或其他模型演示)数据。这两种数据通常分别被强化学习(RL)和监督微调(SFT)等方法使用。在本文中,我们表明这些方法并不矛盾,而是单个优化过程的实例。我们推导出一个统一的策略梯度估计器,并展示了各种后训练方法的计算作为在不同数据分布假设和各种偏差-方差权衡下的共同目标的梯度。该梯度估计器由四个可互换的部分组成:稳定掩码、参考策略分母、优势估计和似然梯度。受我们理论发现的启发,我们提出了一种名为混合后训练(HPT)的算法,该算法动态选择不同的训练信号。HPT被设计为在不牺牲学习推理模式的情况下,既有效地利用演示又保持稳定的探索。我们提供了广泛的实验和消融研究来验证我们统一的理论框架和HPT的有效性。在六个数学推理基准和两个分布外套件上,HPT在不同规模和家族的模型上均一致超越了强大的基线。

英文摘要:

Two major sources of training data exist for post-training modern language models: online (model-generated rollouts) data, and offline (human or other-model demonstrations) data. These two types of data are typically used by approaches like Reinforcement Learning (RL) and Supervised Fine-Tuning (SFT), respectively. In this paper, we show that these approaches are not in contradiction, but are instances of a single optimization process. We derive a Unified Policy Gradient Estimator, and present the calculations of a wide spectrum of post-training approaches as the gradient of a common objective under different data distribution assumptions and various bias-variance tradeoffs. The gradient estimator is constructed with four interchangeable parts: stabilization mask, reference policy denominator, advantage estimate, and likelihood gradient. Motivated by our theoretical findings, we propose Hybrid Post-Training (HPT), an algorithm that dynamically selects different training signals. HPT is designed to yield both effective exploitation of demonstration and stable exploration without sacrificing learned reasoning patterns. We provide extensive experiments and ablation studies to verify the effectiveness of our unified theoretical framework and HPT. Across six mathematical reasoning benchmarks and two out-of-distribution suites, HPT consistently surpasses strong baselines across models of varying scales and families.

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

↑