arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.19280cs.LGcs.AIcs.CL
收藏

基于组分布鲁棒优化的强化学习用于大语言模型推理

Group Distributionally Robust Optimization-Driven Reinforcement Learning for LLM Reasoning

Tencent AI Lab in Bellevue WA USA(腾讯AI实验室(西雅图华盛顿州))

Kishan Panaganti, Zhenwen Liang, Wenhao Yu, Haitao Mi, Dong Yu

AI总结:

本文提出多对手组分布鲁棒优化框架,通过动态调整训练分布提升大语言模型推理性能,实现训练后精度提升10.6%和10.1%。

摘要:

近年来,大语言模型(LLM)推理的进步越来越多地受到训练后损失函数和对齐策略的优化影响。然而,标准强化学习(RL)范式如组相对策略优化(GRPO)仍然受到静态均匀性的限制:使用均匀的提示采样和每个提示固定数量的回放。对于异质、重尾的推理数据,这会创建结构性的低效,浪费计算在已经解决的模式上,同时低估了困难问题的长尾部分。为了解决这个问题,我们提出了多对手组分布鲁棒优化(GDRO),一种以优化为核心的框架,通过动态适应训练分布,超越了均匀推理模型。我们引入了一个在线难度分类器,将提示动态地划分为动态的pass@k难度组。然后,我们提出了两个独立的GDRO游戏用于训练后:(1)提示-GDRO,它使用EMA去偏的乘法权重带抵制采样器来针对高强度难度边缘,并无偏地加重持续困难的组;(2)回放-GDRO,它使用影子价格控制器在组之间重新分配回放,从而在固定均值预算(计算中性)下最大化对困难任务的梯度方差减少。我们为这两种控制器提供了无遗憾保证,并进一步提供了方差代理分析,从而证明了回放-GDRO的平方根最优回放分配。我们验证了我们的框架在DAPO 14.1k数据集上使用Qwen3-Base模型的效果。提示-GDRO和回放-GDRO在1.7B、4B和8B规模上,分别在pass@8准确率上实现了+10.6%和+10.1%的相对增益,相比GRPO基线。定性分析显示了一种涌现的课程:对手将资源转移到不断演变的推理前沿,增强了推理模型的性能。

英文摘要:

Recent progress in Large Language Model (LLM) reasoning is increasingly driven by the refinement of post-training loss functions and alignment strategies. However, standard Reinforcement Learning (RL) paradigms like Group Relative Policy Optimization (GRPO) remain constrained by static uniformity: uniform prompt sampling and a fixed number of rollouts per prompt. For heterogeneous, heavy-tailed reasoning data, this creates structural inefficiencies that waste compute on already-solved patterns while under-training the long tail of hard problems. To address this, we propose Multi-Adversary Group Distributionally Robust Optimization (GDRO), an optimization-first framework that moves beyond uniform reasoning models by dynamically adapting the training distribution. We introduce an Online Difficulty Classifier that partitions prompts into dynamic pass@k difficulty groups. We then propose two independent GDRO games for post-training: (1) Prompt-GDRO, which employs an EMA-debiased multiplicative-weights bandit sampler to target the intensive difficulty margin and upweight persistently hard groups without frequency bias; and (2) Rollout-GDRO, which uses a shadow-price controller to reallocate rollouts across groups, maximizing gradient variance reduction on hard tasks under a fixed mean budget (compute-neutral). We provide no-regret guarantees for both controllers and additionally a variance-proxy analysis motivating a square-root optimal rollout allocation for Rollout-GDRO. We validate our framework on the DAPO 14.1k dataset using Qwen3-Base models. Prompt-GDRO and Rollout-GDRO achieve average relative gains of +10.6% and +10.1%, respectively, in pass@8 accuracy across 1.7B, 4B, and 8B scales compared to the GRPO baseline. Qualitative analysis shows an emergent curriculum: the adversaries shift resources to the evolving reasoning frontier, enhancing the reasoning model's performance.

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

↑