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

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

TL;DR

AReaL is a fully asynchronous reinforcement learning (RL) training system designed specifically for Large Reasoning Models (LRMs). By completely decoupling generation from training and introducing a staleness-enhanced PPO algorithm, AReaL eliminates the severe GPU underutilization caused by variable-length reasoning chains, delivering up to a 2.77× training speedup over traditional synchronous systems without sacrificing final model accuracy.

What Problem Does This Paper Address?

Reinforcement learning has become the go-to paradigm for training Large Reasoning Models (like DeepSeek-R1) that generate long "chain-of-thought" tokens before outputting a final answer. However, the length of these reasoning paths varies drastically from prompt to prompt.

Existing distributed RL frameworks (such as VeRL) operate synchronously, strictly alternating between generation (rollout) and training. Because of this, generation workers must wait for the absolute longest sequence in a batch to finish before any model updates can occur. This "straggler effect" leads to massive GPU underutilization and poor scalability across large clusters.

Figure 1: Execution timeline of a synchronous (left) and a one-step overlap (right) RL system showing underutilized inference devices.

Methods

AReaL solves this bottleneck through an algorithm-system co-design that completely unlinks generation from training. Rollout workers continuously stream out generations, while trainer workers execute model updates in parallel as soon as a training batch is collected.

Figure 2: The AREAL architecture featuring asynchronous generation and training components.

To make this asynchronous pipeline stable and mathematically sound, the authors introduced several key innovations:

  1. Decoupled PPO Objective: Standard PPO requires on-policy data (generated by the absolute latest model). AReaL utilizes a decoupled objective that separates the behavior policy (used for sampling) from the proximal policy (used as a regularization target). This allows the system to safely train on older or mixed-version data.
  2. Staleness-Aware Control: A hyperparameter ($\eta$) dynamically rate-limits generation requests to ensure that the training data doesn't become too stale, balancing system throughput with training stability.
  3. Interruptible Rollout Workers: When a trainer updates the model weights, rollout workers don't discard their current in-flight generations. Instead, they quickly drop the old KV caches, recompute them using the new weights, and seamlessly continue decoding.
Figure 3: Illustration of generation management in AREAL. Vertical lines show the ready time for the next step training. Blue crosses show the interrupted requests when new parameters arrive.
  1. Dynamic Microbatch Allocation: A padding-free sequence packing strategy that dynamically balances token distribution across micro-batches under fixed memory constraints, maximizing GPU memory utilization.

Datasets

The system was validated using the distilled Qwen2 model series (from 1.5B up to 32B parameters) and a DeepSeek-Distilled-Llama-8B model across several rigorous benchmarks:

  • Mathematical Reasoning: Evaluated on AIME24, AIME25, AMC23, and MATH 500 using open-source training data from DeepScaleR.
  • Code Generation: Evaluated on LiveCodeBench, Codeforces, and CodeContests using open-source training data from DeepCoder.

Key Insights and Ideas

  • Moderate Staleness is Free: Conventional wisdom dictates that RL for LLMs must be strictly on-policy. AReaL demonstrates that with a decoupled PPO objective, the system can tolerate moderately stale data ($\eta \le 8$) with virtually zero impact on final evaluation accuracy, while unlocking massive hardware efficiencies.
  • Mid-Generation Weight Updates are Mathematically Valid: The authors provide a formal proof (Proposition 1) showing that a trajectory generated by a sequence of changing policies (due to mid-generation weight updates) is mathematically equivalent to sampling entirely from a single valid behavior policy.
  • Breaking the Memory-IO Bottleneck: By moving away from batched, synchronous generation, AReaL keeps the decoding batch size optimal, preventing the system from falling into memory-IO-bound regimes where adding more GPUs fails to improve throughput.

Key Results

  • Massive Speedups: AReaL achieved up to a 2.77× training speedup over synchronous baselines. For instance, training the 1.5B model took just 14.8 hours with AReaL compared to 33.6 hours with VeRL.
  • Maintained or Improved Accuracy: The acceleration did not degrade performance. On the challenging AIME24 math benchmark, AReaL matched or slightly exceeded the synchronous baselines across 1.5B and 7B models. On LiveCodeBench, AReaL achieved an accuracy of 58.1% compared to VeRL's 57.9%.
Table 1: End-to-End Performance Comparison. We evaluate on the AIME24 benchmark for math and LiveCodeBench (8/1/24-2/1/25) for coding. We limit the maximum generation length to 32K tokens and sample 32 responses per question, reporting the average pass@1 accuracy. * represents the best known reproducible results obtained via RL, as cited from DeepScaler [25] and DeepCoder [24] respectively. AReaL achieves comparable performance with 2× fewer training hours.
  • Linear Scalability: AReaL demonstrated near-ideal linear scaling efficiency up to 512 GPUs, whereas synchronous configurations struggled to scale efficiently due to the straggler effect on long context lengths (32k tokens).
Figure 4: The strong scaling trend. Dotted lines indicate ideal linear scaling. verl consistently encounters OOM with 32k context length and the 32B model so the data points are missing.

Limitations and Future Work

  • Static Resource Partitioning: AReaL currently uses a fixed, heuristic ratio between inference and training devices (allocating 75% of devices to inference). Dynamically adjusting this ratio during training based on real-time workloads could yield further efficiency gains.
  • Task Scope: The framework was evaluated solely on single-step mathematical and coding tasks. Exploring how this asynchronous architecture handles multi-turn interactions and complex agentic environments is left for future research.

Summary updated

BibTeX
@inproceedings{fu2025areal,
  author = {Wei Fu and Jiaxuan Gao and Xujie Shen and Chen Zhu and Zhiyu Mei and Chuyi He and Shusheng Xu and Guo Wei and Jun Mei and Jiashu Wang and Tongkai Yang and Binhang Yuan and Yi Wu},
  title = {{AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=X9diEuva9R},
}
Figure