SeRL:基于有限数据的大型语言模型自我对抗强化学习
SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data
AI总结:
SeRL通过自我指令和自我奖励机制,在有限数据条件下提升大型语言模型的推理能力。
摘要:
近期的研究表明,强化学习(RL)在提升大型语言模型(LLM)推理能力方面表现出色。然而,现有方法不可避免地依赖高质量的指令和可验证的奖励进行有效训练,而这两者在专业领域往往难以获得。本文提出自我对抗强化学习(SeRL)来利用有限的初始数据启动LLM训练。具体而言,SeRL包含两个互补模块:自我指令和自我奖励。前者模块基于可用数据在每个训练步骤中生成额外指令,采用稳健的在线过滤策略确保指令质量、多样性和难度。后者模块引入一种简单但有效的多数投票机制来估计响应奖励,从而避免外部标注的需求。最后,SeRL基于生成的数据进行传统RL,促进迭代的自我对抗学习。在各种推理基准和不同LLM基础架构上的广泛实验表明,所提出的SeRL在结果上优于其替代方案,并在可验证奖励的数据上实现了相当的性能。我们的代码可在https://github.com/wantbook-book/SeRL上获得。
英文摘要:
Recent advances have demonstrated the effectiveness of Reinforcement Learning (RL) in improving the reasoning capabilities of Large Language Models (LLMs). However, existing works inevitably rely on high-quality instructions and verifiable rewards for effective training, both of which are often difficult to obtain in specialized domains. In this paper, we propose Self-play Reinforcement Learning (SeRL) to bootstrap LLM training with limited initial data. Specifically, SeRL comprises two complementary modules: self-instruction and self-rewarding. The former module generates additional instructions based on the available data at each training step, employing robust online filtering strategies to ensure instruction quality, diversity, and difficulty. The latter module introduces a simple yet effective majority-voting mechanism to estimate response rewards for additional instructions, eliminating the need for external annotations. Finally, SeRL performs conventional RL based on the generated data, facilitating iterative self-play learning. Extensive experiments on various reasoning benchmarks and across different LLM backbones demonstrate that the proposed SeRL yields results superior to its counterparts and achieves performance on par with those obtained by high-quality data with verifiable rewards. Our code is available at https://github.com/wantbook-book/SeRL.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。