arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.04670cs.LG
收藏

在语言模型中学习动态的强化学习后训练

Learning Dynamics in RL Post-Training for Language Models

Department of Computer Science, The University of Tokyo(东京大学计算机科学系)

Akiyoshi Tomihari

AI总结:

本文提出分类器优先强化学习(CF-RL),通过优先更新分类器来提升语言模型的对齐性和推理能力,揭示了RL后训练中学习动态的机制。

摘要:

强化学习(RL)后训练是现代语言模型开发中的关键阶段,在提高对齐性和推理能力方面起着关键作用。然而,仍然存在一些现象尚未被充分理解,包括输出多样性减少。为了更全面地理解RL后训练的学习动态,我们从在监督学习中已被研究但尚未在RL中深入探索的视角出发,分析RL后训练的学习动态。我们采用经验神经切线核(NTK)框架,并将NTK分解为两个组成部分,以表征RL更新如何在训练样本之间传播。我们的分析揭示,特征表示中的有限变化可能导致RL更新系统性地增加模型置信度,从而解释了RL后训练后通常观察到的输出多样性减少现象。此外,我们还表明,在这种情况下有效学习取决于快速塑造分类器,这直接影响了NTK的梯度部分。受这些见解的启发,我们提出了分类器优先强化学习(CF-RL),这是一种简单的两阶段训练策略,优先进行分类器更新,然后再进行标准RL优化。实验结果通过在CF-RL下展示增加的模型置信度和加速的优化过程,验证了我们的理论分析。此外的分析显示,CF-RL背后的机制与监督学习中的线性探测后再微调不同。总体而言,我们的研究正式化了RL后训练的学习动态,并激发了进一步的分析和改进。

英文摘要:

Reinforcement learning (RL) post-training is a critical stage in modern language model development, playing a key role in improving alignment and reasoning ability. However, several phenomena remain poorly understood, including the reduction in output diversity. To gain a broader understanding of RL post-training, we analyze the learning dynamics of RL post-training from a perspective that has been studied in supervised learning but remains underexplored in RL. We adopt an empirical neural tangent kernel (NTK) framework and decompose the NTK into two components to characterize how RL updates propagate across training samples. Our analysis reveals that limited variability in feature representations can cause RL updates to systematically increase model confidence, providing an explanation for the commonly observed reduction in output diversity after RL post-training. Furthermore, we show that effective learning in this regime depends on rapidly shaping the classifier, which directly affects the gradient component of the NTK. Motivated by these insights, we propose classifier-first reinforcement learning (CF-RL), a simple two-stage training strategy that prioritizes classifier updates before standard RL optimization. Experimental results validate our theoretical analysis by demonstrating increased model confidence and accelerated optimization under CF-RL. Additional analysis shows that the mechanism underlying CF-RL differs from that of linear-probing-then-fine-tuning in supervised learning. Overall, our study formalizes the learning dynamics of RL post-training and motivates further analysis and improvement.

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

↑