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

基于比率方差正则化的策略优化用于高效的LLM微调

Ratio-Variance Regularized Policy Optimization for Efficient LLM Fine-tuning

Department of Foundation Model, 2012 Labs, Huawei(华为2012实验室基础模型部门);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学院)

Yu Luo, Shuo Han, Yihan Hu, Dong Li, Jianye Hao

AI总结:

R²VPO通过正则化策略比率的方差,提升LLM微调的稳定性和数据效率。

摘要:

在策略性强化学习(RL)中,特别是近端策略优化(PPO)和群体相对策略优化(GRPO),已成为微调大语言模型(LLMs)的主导范式。尽管策略比率截断稳定了训练,但这种启发式硬约束带来了根本性的成本:它无差别地截断了高回报但高发散动作的梯度,压制了复杂推理中罕见但高度信息的“顿悟时刻”。此外,一旦数据变得略微过时,硬截断使其变得无法使用,导致严重的样本效率低下。在本工作中,我们重新审视了策略优化中的信任区域目标,并证明显式约束策略比率的方差(第二中心矩)提供了一种原则性和平滑的硬截断放松。这种分布约束稳定了策略更新,同时保留了有价值轨迹的梯度信号。基于这一见解,我们提出了R²VPO(比率方差正则化策略优化),一种新的对偶框架,支持稳定的在线学习,并通过动态重新加权过时样本而不是丢弃它们,实现了原理上的离线数据重用。我们广泛评估了R²VPO在微调最先进的LLMs上的表现,包括DeepSeek-Distill-Qwen-1.5B和开放Pangu-Embedded系列(1B和7B),在具有挑战性的数学推理基准上。实验结果表明,R²VPO在渐近性能上始终优于强大的截断基线,平均相对收益高达17%,同时在达到收敛时仅需约50%的rollouts。这些发现确立了比率方差控制作为改进基于RL的LLM对齐的稳定性和数据效率的有前途方向。

英文摘要:

On-policy reinforcement learning (RL), particularly Proximal Policy Optimization (PPO) and Group Relative Policy Optimization (GRPO), has become the dominant paradigm for fine-tuning large language models (LLMs). While policy ratio clipping stabilizes training, this heuristic hard constraint incurs a fundamental cost: it indiscriminately truncates gradients from high-return yet high-divergence actions, suppressing rare but highly informative "eureka moments" in complex reasoning. Moreover, once data becomes slightly stale, hard clipping renders it unusable, leading to severe sample inefficiency. In this work, we revisit the trust-region objective in policy optimization and show that explicitly constraining the \emph{variance (second central moment) of the policy ratio} provides a principled and smooth relaxation of hard clipping. This distributional constraint stabilizes policy updates while preserving gradient signals from valuable trajectories. Building on this insight, we propose $R^2VPO$ (Ratio-Variance Regularized Policy Optimization), a novel primal-dual framework that supports stable on-policy learning and enables principled off-policy data reuse by dynamically reweighting stale samples rather than discarding them. We extensively evaluate $R^2VPO$ on fine-tuning state-of-the-art LLMs, including DeepSeek-Distill-Qwen-1.5B and the openPangu-Embedded series (1B and 7B), across challenging mathematical reasoning benchmarks. Experimental results show that $R^2VPO$ consistently achieves superior asymptotic performance, with average relative gains of up to 17% over strong clipping-based baselines, while requiring approximately 50% fewer rollouts to reach convergence. These findings establish ratio-variance control as a promising direction for improving both stability and data efficiency in RL-based LLM alignment.

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

↑