SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data

Wenkai Fang, Shunyu Liu, Yang Zhou, Kongcheng Zhang, Tongya Zheng +3 more
5/25/2025
cs.CLcs.AI

Official code: wantbook-book/SeRL (26 stars, Apache-2.0, last commit 2026-01-24).

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.

View on arXivView PDF

Code Implementations(1)

wantbook-book/SeRLOfficial100%
Apache-2.0

SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data

264ANTLR, ShellMay 8, 20259 months agoApache-2.0
large-language-modelllmreinforcement-learningself-instructionself-rewarding

Similar Papers

Cite this paper

@article{fang2025serl,
  title  = {SeRL: Self-Play Reinforcement Learning for Large Language Models with Limited Data},
  author = {Wenkai Fang and Shunyu Liu and Yang Zhou and Kongcheng Zhang and Tongya Zheng and Kaixuan Chen and Mingli Song and Dacheng Tao},
  year   = {2025},
  eprint = {2505.20347},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.20347v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.20347.svg)](https://codeofpaper.com/paper/2505.20347)

Discussion