AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning

Wei Fu, Jia-Xuan Gao, Xu Shen, Chen Zhu, Zhi-Yu Mei +8 more
5/1/2025
rl

No confident code implementation found for this paper.

Abstract

Reinforcement learning (RL) has become a dominant paradigm for training large language models (LLMs), particularly for reasoning tasks. Effective RL for LLMs requires massive parallelization and poses an urgent need for efficient training systems.

Show full abstract

Most existing large-scale RL systems for LLMs are synchronous, alternating generation and training in a batch setting where rollouts in each training batch are generated by the same model. This approach stabilizes RL training but suffers from severe system-level inefficiency: generation must wait until the longest output in the batch is completed before model updates, resulting in GPU underutilization. We present AReaL, a fully asynchronous RL system that completely decouples generation from training. Rollout workers in AReaL continuously generate new outputs without waiting, while training workers update the model whenever a batch of data is collected. AReaL also incorporates a collection of system-level optimizations, leading to substantially higher GPU utilization. To stabilize RL training, AReaL balances the workload of rollout and training workers to control data staleness, and adopts a staleness-enhanced PPO variant to better handle outdated training samples. Extensive experiments on math and code reasoning benchmarks show that AReaL achieves up to 2.77$\times$ training speedup compared to synchronous systems with the same number of GPUs and matched or improved final performance. The code of AReaL is available at https://github.com/inclusionAI/AReaL/.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{fu2025areal,
  title  = {AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning},
  author = {Wei Fu and Jia-Xuan Gao and Xu Shen and Chen Zhu and Zhi-Yu Mei and Chuyi He and Shusheng Xu and Guoyizhe Wei and Jun Mei and Jiashun Wang and Tong-Kai Yang and Bin-Hang Yuan and Yi Wu},
  year   = {2025},
  eprint = {2505.24298},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.24298},
  url    = {https://doi.org/10.48550/arXiv.2505.24298},
  journal = {Neural Information Processing Systems}
}

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.24298.svg)](https://codeofpaper.com/paper/2505.24298)

Discussion