Training Large Reasoning Models (LRMs)—models capable of complex internal deliberation before generating a response—represents a significant advancement in artificial intelligence. However, the reinforcement learning (RL) processes required to develop these capabilities are often computationally inefficient. Traditional RL frameworks suffer from significant idle time due to the variable length of reasoning sequences. To address this, researchers from Tsinghua University, Ant Group, and HKUST have introduced AReaL, a fully asynchronous RL system designed to maximize hardware utilization and accelerate training.
The Straggler Problem in Reasoning Models
Most state-of-the-art RL systems for large language models, such as verl or DeepSpeed-Chat, operate synchronously. These systems follow a strict loop: they generate a batch of responses (rollout), wait for every sequence in that batch to complete, and then update the model weights (training).
In the context of reasoning models, this creates a "straggler problem." Because reasoning tasks vary wildly in complexity—one prompt may require 100 tokens while another requires 10,000—GPUs that finish shorter sequences early must sit idle until the longest sequence in the batch is finalized. This lack of synchronization leads to massive computational waste.
The AReaL Architecture
AReaL overcomes these bottlenecks by decoupling the generation and training processes into two independent, continuous streams. The system architecture consists of several key components working in parallel:
- Decoupled Workers: Rollout workers continuously generate data and stream it into a centralized replay buffer. Simultaneously, trainer workers pull data from this buffer to update model weights as soon as a training batch is ready.
- Rollout Controller and Parameter Service: These components manage the flow of data and model updates, ensuring that rollout workers are always acting on relatively recent model versions without being blocked by the training loop.
Key Innovations
Beyond simple decoupling, AReaL introduces several algorithmic and system-level innovations to maintain training stability and efficiency:
- Interruptible Rollout: To prevent the "acting" model from becoming too stale, AReaL can interrupt a rollout worker mid-generation to update its weights with the latest parameters. This ensures the generated data remains relevant to the current learning objective.
- Staleness-Aware PPO Objective: Standard Proximal Policy Optimization (PPO) assumes all data in a batch is generated by the same model version. AReaL utilizes a modified objective that accounts for "stale" data (data generated by slightly older model versions), allowing the system to tolerate updates that are 8-16 steps behind without diverging.
- System-Level Packing: To handle variable-length sequences without memory-intensive padding, AReaL employs a dynamic micro-batch allocation strategy. This "packing" approach fits sequences into GPU memory with high precision, improving throughput by approximately 30%.
Experimental Results
The authors evaluated AReaL using models ranging from 1.5B to 32B parameters (Qwen2 and DeepSeek-R1-Distill series) across math and coding benchmarks like AIME24 and LiveCodeBench.
- Massive Speedups: AReaL achieved up to a 2.77× training speedup compared to synchronous baselines. For instance, training a 1.5B model on math tasks was reduced from 33.6 hours to 14.8 hours.
- Linear Scaling: The system demonstrates near-linear scaling up to 512 GPUs, as workers are never blocked by inter-node synchronization delays common in synchronous loops.
- Performance Parity: Despite the asynchronous nature and the use of stale data, AReaL matched or exceeded the reasoning performance of synchronous systems. On the AIME24 benchmark, an AReaL-trained 7B model achieved 63.1% accuracy, slightly outperforming its synchronous counterpart.
Conclusion and Future Work
AReaL effectively breaks the efficiency ceiling for training large reasoning models by embracing asynchronicity. While the current implementation uses a static partition of GPUs (finding a 75/25 split between inference and training to be optimal), future iterations may explore dynamic resource allocation. By solving the straggler problem and mitigating the overhead of mode switching, AReaL provides a high-performance blueprint for the next generation of reasoning-capable AI.
Summary updated