arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.19178cs.LGcs.AI
收藏

多任务LLM强化学习后训练中的梯度不平衡

Imbalanced Gradients in RL Post-Training of Multi-Task LLMs

Meta AI;Meta Superintelligence Labs(Meta 超智能实验室);Columbia University(哥伦比亚大学);Tel Aviv University(特拉维夫大学)

Runzhe Wu, Ankur Samanta, Ayush Jain, Scott Fujimoto, Jeongyeol Kwon, Ben Kretzu, Youliang Yu, Kaveh Hassani, Boris Vidolov, Yonathan Efroni

AI总结:

本文发现多任务LLM强化学习后训练中梯度不平衡现象,且大梯度任务未必带来更高学习收益,呼吁进行原则性的梯度级校正。

摘要:

大型语言模型(LLMs)的多任务后训练通常通过混合不同任务的数据集并联合优化来实现。这种方法隐含地假设所有任务贡献的梯度幅度相似;当这一假设不成立时,优化会偏向于产生大梯度的任务。然而,在本文中,我们表明这一假设在强化学习(RL)后训练中并不成立:某些任务会产生显著更大的梯度,从而将更新偏向这些任务。这种梯度不平衡只有在较大梯度意味着任务上更大的学习收益(即更大的性能提升)时才合理——但我们发现事实并非如此。大梯度任务所能获得的学习收益可能与小梯度任务相当,甚至远低于后者。进一步的分析揭示,这些梯度不平衡无法用典型的训练统计量(如训练奖励或优势)来解释,这表明它们源于任务之间的固有差异。这警示我们不要天真地进行数据集混合,并呼吁未来在LLMs的梯度级校正方面开展有原则的研究工作。

英文摘要:

Multi-task post-training of large language models (LLMs) is typically performed by mixing datasets from different tasks and optimizing them jointly. This approach implicitly assumes that all tasks contribute gradients of similar magnitudes; when this assumption fails, optimization becomes biased toward large-gradient tasks. In this paper, however, we show that this assumption fails in RL post-training: certain tasks produce significantly larger gradients, thus biasing updates toward those tasks. Such gradient imbalance would be justified only if larger gradients implied larger learning gains on the tasks (i.e., larger performance improvements) -- but we find this is not true. Large-gradient tasks can achieve similar or even much lower learning gains than small-gradient ones. Further analyses reveal that these gradient imbalances cannot be explained by typical training statistics such as training rewards or advantages, suggesting that they arise from the inherent differences between tasks. This cautions against naive dataset mixing and calls for future work on principled gradient-level corrections for LLMs.

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

↑