组自适应裁剪策略优化
研究论文 · 2026/09/07
针对基于可验证奖励的强化学习(RLVR)中的组相对策略优化(GRPO)方法,我们指出固定重要性采样(IS)比率裁剪边界在所有轨迹上统一应用的问题:在较难问题上稀有的正确轨迹与在较易问题上丰富的正确轨迹被以相近的比率裁剪,尽管它们携带的学习信号差异很大。低组成功率的轨迹具有较大的IS比率,携带更强的梯度信号用于探索和解决新问题,但被固定裁剪不成比例地抑制。为此,我们提出组自适应裁剪策略优化(GAPO),作为GRPO方法的即插即用修改,根据轨迹优势自适应调整裁剪边界。GAPO受逆向KL信任区域视角启发,认为学习信号较大的轨迹应获得更大的更新空间。GAPO无需奖励塑形,仅调整裁剪阈值,同时保留标准PPO/GSPO代理目标。在Qwen和Llama模型上,对于基础模型通过率相对较低的数学推理和编程基准,GAPO在Pass@1和Pass@k上均持续优于固定裁剪和优势塑形基线。
该论文针对GRPO中固定裁剪边界的问题提出了一种简单有效的自适应方法,具有理论动机和广泛的实验验证,对强化学习领域有实际贡献。
Group relative policy optimization for reinforcement learning with verifiable rewards (RLVR) typically uses a fixed importance-sampling (IS) ratio clipping boundary across all rollouts. We identify a key limitation: rare correct rollouts on harder problems and abundant correct rollouts on easier problems are clipped at comparable rates, despite contributing very different learning signals. Rollouts with low group success exhibit larger IS ratios and carry stronger gradient signal for exploration and solving new problems, yet are disproportionately suppressed by fixed clipping. To address this, we propose Group Adaptive Clipping Policy Optimization (GAPO), a plug-in modification to GRPO methods that adapts the clipping boundary to the rollout advantage. GAPO is motivated by a reverse-KL trust-region perspective, which suggests that rollouts with larger learning signal should receive proportionally greater update headroom. GAPO requires no reward shaping and preserves the standard PPO/GSPO surrogate while adapting only the clipping threshold. Across Qwen and Llama models, GAPO consistently improves both Pass@1 and Pass@k over fixed clipping and advantage-shaping baselines on math reasoning and coding benchmarks where the pass rates by the base model are relatively low.