SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data
Wenkai Fang, Shunyu Liu, Yang Zhou, Kongcheng Zhang, Tongya Zheng, Kaixuan Chen, Mingli Song, Dacheng Tao
TL;DR
SeRL introduces a data-efficientRL framework for LLMs in data-scarce domains by coupling self-instruction (with online filtering for quality, diversity, and difficulty) and majority-vote based self-rewarding (no external labels). The method enables iterative unsupervised RL over generated data, yielding performance competitive with or superior to baselines trained on high-quality rewards, across math-centric benchmarks and multiple backbones. Key contributions include a dual-end difficulty filter to prevent reward hacking, and empirical evidence that majority-vote rewards align closely with rule-based rewards while maintaining training stability. The approach proves practical for domains where labeled data are expensive or unavailable, and code is released for reproducibility.
Abstract
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.
