arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2602.05933cs.LG
收藏

在策略镜像下降中近似对数分区函数诱导隐式正则化以提升LLM训练

Approximation of Log-Partition Function in Policy Mirror Descent Induces Implicit Regularization for LLM Post-Training

Georgia Institute of Technology(佐治亚理工学院);Amazon(亚马逊)

Zhenghao Xu, Qin Lu, Changlong Yu, Tuo Zhao

AI总结:

PMD-mean通过近似对数分区函数实现隐式正则化,提升LLM训练的稳定性和效率。

摘要:

策略镜像下降(PMD)通过迭代求解KL正则化的策略改进子问题,为强化学习(RL)提供了一个系统性的框架。尽管该方法已被应用于训练高级大语言模型(LLM)如Kimi K1.5/K2,但理想的闭式PMD更新需要可靠的分区函数估计,这在处理LLM庞大动作空间时受限于有限的回放数据。我们研究了一种实用算法,称为PMD-mean,该算法通过采样策略下的平均奖励近似对数分区项,并在对数策略空间中进行回归。具体而言,我们刻画了PMD-mean的总体解,并证明其隐式优化镜像下降子问题,使用自适应混合KL-χ²正则化器。这种额外的χ²正则化约束了大的概率变化,当预期奖励较低时产生更保守的更新,并增强对有限样本估计误差的鲁棒性。在数学推理任务上的实验表明,PMD-mean在性能、稳定性和时间效率方面均优于现有方法。这些发现加深了我们对PMD-mean的理解,并照亮了通往LLM RL算法系统性改进的路径。代码可在https://github.com/horizon-rl/OpenKimi上获取。

英文摘要:

Policy mirror descent (PMD) provides a principled framework for reinforcement learning (RL) by iteratively solving KL-regularized policy improvement subproblems. While this approach has been adopted in training advanced LLMs such as Kimi K1.5/K2, the ideal closed-form PMD updates require reliable partition function estimation, a significant challenge when working with limited rollouts in the vast action spaces of LLMs. We investigate a practical algorithm, termed PMD-mean, that approximates the log-partition term with the mean reward under the sampling policy and performs regression in log-policy space. Specifically, we characterize the population solution of PMD-mean and demonstrate that it implicitly optimizes mirror descent subproblems with an adaptive mixed KL--$χ^2$ regularizer. This additional $χ^2$ regularization constrains large probability changes, producing more conservative updates when expected rewards are low and enhancing robustness against finite-sample estimation errors. Experiments on math reasoning tasks show that PMD-mean achieves superior performance with improved stability and time efficiency. These findings deepen our understanding of PMD-mean and illuminate pathways toward principled improvements in RL algorithms for LLMs. Code is available at https://github.com/horizon-rl/OpenKimi.

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

↑