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

Wei Fu, Jiaxuan Gao, Xu Shen, Chen Zhu, Zhiyu Mei, Chuyi He, Shusheng Xu, Guoyizhe Wei, Jun Mei, Jiashun Wang, Tongkai Yang, Binhang Yuan, Yi Wu

arXiv:2505.24298 · 2026-09-12 공개 · arXiv · PDF

llm-training math-reasoning asynchronous-rl code-reasoning large-scale-rl gpu-utilization language-reasoning staleness-enhanced-ppo

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. 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/.

한국어 요약

한 줄 요약

AReaL은 대규모 언어 모델의 강화 학습을 위한 비동기식 시스템으로, 동기식 시스템 대비 최대 2.77×의 학습 가속을 달성한다.

핵심 기여도

핵심 아이디어

기존 강화 학습 시스템은 생성과 학습을 **동기식 방식**으로 수행하여, 가장 긴 샘플이 완료될 때까지 기다려야 하므로 **GPU 활용률 저하** 문제가 발생한다. AReaL은 이 문제를 해결하기 위해 **완전히 비동기식 아키텍처**를 도입한다. 생성 워커는 지속적으로 샘플을 생성하며, 학습 워커는 데이터 배치가 수집될 때마다 즉시 모델을 업데이트한다. 이로 인해 **GPU 대기 시간을 최소화**하고, **생성과 학습을 병렬화**할 수 있다. 또한, 샘플의 **staleness**(데이터 낡음 정도)를 제어하기 위해 **staleness-aware PPO 알고리즘**을 설계하여, 과거 모델 버전의 샘플도 안정적으로 학습에 활용할 수 있도록 했다.

기술적 접근법

주요 결과

의의 및 한계

AReaL은 대규모 언어 모델의 강화 학습을 위한 **비동기식 시스템 설계의 새로운 기준**을 제시한다. 기존 동기식 시스템의 **GPU 활용률 저하 문제**를 해결하고, **학습 처리량과 확장성**을 동시에 향상시켰다. 또한, 샘플 낡음 문제를 해결한 **staleness-aware PPO 알고리즘**은 비동기 환경에서의 안정적인 학습을 가능하게 한다. 그러나, **최적의 인퍼런스-트레이닝 장비 비율**(75-25)은 특정 설정에 따라 달라질 수 있으며, **동적 조정**이 필요할 수 있다. 또한, **모든 작업에서 동일한 성능 향상을 보장하지는 않으며**, 작업 종류에 따라 최적화가 달라질 수 있다.

실용적 활용

AReaL은 **대규모 언어 모델의 강화 학습**이 필요한 산업 및 연구 분야에서 활용 가능하다. 특히, **수학 문제 해결, 코드 생성, 로직 퍼즐, 에이전트 기반 작업** 등에서 높은 효율성과 정확도를 요구하는 상황에 적합하다. 또한, **GPU 클러스터를 활용한 대규모 학습 시스템** 설계에 있어 중요한 참고 자료가 될 수 있다.