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

多任务GRPO:跨任务的可靠大语言模型推理

Multi-Task GRPO: Reliable LLM Reasoning Across Tasks

UCL Department of EEE(伦敦大学学院电子工程系);UCL Centre for AI(伦敦大学学院人工智能中心);Huawei Noah’s Ark Lab(华为诺亚实验室);UNIST Graduate School of AI(延世大学人工智能研究生院);University of Edinburgh(爱丁堡大学);University of Basel(巴塞尔大学)

Shyam Sundhar Ramesh, Xiaotong Ji, Matthieu Zimmer, Sangwoong Yoon, Zhiyong Wang, Haitham Bou Ammar, Aurelien Lucchi, Ilija Bogunovic

AI总结:

本文提出MT-GRPO算法,通过动态调整任务权重和比例保持采样器,提升多任务场景下大语言模型的可靠推理性能。

摘要:

基于强化学习的后训练方法结合GRPO被广泛用于提高大语言模型在单个推理任务上的表现。然而,现实世界部署需要在多样化任务上具有可靠的性能。直接进行多任务适应的GRPO往往导致不平衡的结果,某些任务主导优化,而其他任务停滞不前。此外,任务在提示产生零优势(从而零梯度)的频率上差异很大,这进一步扭曲了它们对优化信号的有效贡献。为了解决这些问题,我们提出了一种新的多任务GRPO(MT-GRPO)算法,该算法(i)动态调整任务权重以显式优化最差任务的性能并促进任务之间的平衡进步,(ii)引入了比例保持采样器以确保任务级的策略梯度反映调整后的权重。在3任务和9任务设置上的实验表明,MT-GRPO在最差任务准确性上始终优于基线。特别是,MT-GRPO在标准GRPO和DAPO上分别实现了16-28%和6%的绝对改进,同时保持了具有竞争力的平均准确性。此外,MT-GRPO在3任务设置中达到50%最差任务准确性所需训练步骤比标准GRPO少了50%,这表明在实现跨任务可靠性能方面有显著的效率提升。

英文摘要:

RL-based post-training with GRPO is widely used to improve large language models on individual reasoning tasks. However, real-world deployment requires reliable performance across diverse tasks. A straightforward multi-task adaptation of GRPO often leads to imbalanced outcomes, with some tasks dominating optimization while others stagnate. Moreover, tasks can vary widely in how frequently prompts yield zero advantages (and thus zero gradients), which further distorts their effective contribution to the optimization signal. To address these issues, we propose a novel Multi-Task GRPO (MT-GRPO) algorithm that (i) dynamically adapts task weights to explicitly optimize worst-task performance and promote balanced progress across tasks, and (ii) introduces a ratio-preserving sampler to ensure task-wise policy gradients reflect the adapted weights. Experiments on both 3-task and 9-task settings show that MT-GRPO consistently outperforms baselines in worst-task accuracy. In particular, MT-GRPO achieves 16-28% and 6% absolute improvement on worst-task performance over standard GRPO and DAPO, respectively, while maintaining competitive average accuracy. Moreover, MT-GRPO requires 50% fewer training steps to reach 50% worst-task accuracy in the 3-task setting, demonstrating substantially improved efficiency in achieving reliable performance across tasks.

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

↑