Skip to content

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

optionalextendedfrontierpaperrubric 8/122025 · ~35 min

Wei Fu, Jiaxuan Gao, Xujie Shen, …, Yi Wu

Status

TL;DR. AReaL makes reasoning RL fully asynchronous. Rollout workers generate continuously; trainers update as soon as a batch is ready; new weights interrupt in-flight generations, which then continue under the new weights. A staleness bound η and a decoupled PPO objective keep learning stable, and the paper reports the same AIME24/LiveCodeBench accuracy as synchronous training in up to 2.77× less wall-clock time.

Synchronous RL waits for the longest response in every batch, which is very wasteful when reasoning traces vary from 1K to 32K tokens. AReaL removes the wait:

  • Interruptible rollouts. An update_weights request interrupts all generations; workers discard KV caches computed with old weights, recompute them with the new weights, and keep decoding. One trajectory can therefore contain tokens from several versions.
  • Staleness control. The rollout controller rejects generation requests that would violate floor((N_r − 1)/B) ≤ i + η, so no batch is more than η versions behind.
  • Decoupled PPO. The objective is (π_prox/π_behav)·min(u·Â, clip(u, 1−ε, 1+ε)·Â) with u = π_θ/π_prox. Importance weights correct for the behaviour policy, while the trust region is centred on a recent proximal policy (the parameters before the current update).

Generation runs on SGLang and training on Megatron, with roughly a 75/25 split of GPUs between them.

All numbers are paper-reported (Tables 1–2, R1-Distill-Qwen base models, 32K max generation, 32 samples per question). At 1.5B, AIME24 is 42.2 for AReaL in 14.8 h versus 42.0 for synchronous AReaL in 41.0 h (2.77×) and 43.1 (best known) for verl in 33.6 h. At 7B it is 63.1 in 25.4 h versus 63.0 in 57.7 h. On LiveCodeBench, 14B reaches 58.1 in 21.9 h versus 56.7 in 48.8 h, and 32B reaches 61.0 in 31.1 h versus 61.2 in 51.1 h. Effective training throughput is up to 2.5× that of verl (§7.3; the v5 abstract states 2.57×), with near-linear scaling up to 512 GPUs, while verl ran out of memory at 32K context with the 32B model. In the staleness ablation, the decoupled objective holds AIME24 at the oracle level up to η = 4 (42.2), whereas the plain objective collapses to 23.3 at η = 4.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    AReaL only admits a new generation request if floor((N_r − 1)/B) ≤ i + η, where N_r is the number of trajectories generated so far, B the batch size and i the current policy version. With B = 512, η = 4 and i = 10, how many trajectories may exist in total, and what does this imply about the oldest data the trainer can see?

    What a strong answer covers
    • The condition floor((N_r − 1)/B) ≤ 14 holds up to N_r − 1 = 15B − 1, so N_r ≤ 15 × 512 = 7,680 trajectories.
    • By version 10 the trainer has consumed 10 batches (5,120 trajectories), so at most (η + 1)·B = 2,560 more can be buffered or in flight.
    • A batch consumed at version i was requested no earlier than version i − η, so the staleness of any whole trajectory is bounded by η (the paper also prefers older trajectories when forming batches).
    • η = 0 recovers synchronous-like behaviour; η = ∞ removes the bound and maximises throughput at the cost of more stale data.
  2. Mechanism

    Explain why AReaL's decoupled PPO objective uses three policies (behaviour, proximal and current) and why it remains valid when a single trajectory was produced by several weight versions after interrupted rollouts.

    What a strong answer covers
    • The behaviour policy π_behav is whatever produced the tokens; the importance weight π_prox/π_behav corrects for sampling from it.
    • The clip is centred on π_prox (the parameters just before the current update), not on π_behav. Clipping toward an old behaviour policy would pull π_θ back toward low-quality versions.
    • Proposition 1: a trajectory whose segments come from versions θ, θ+1, …, θ+k is equivalent to a sample from one composite behaviour policy, so the importance weighting is still well defined token by token.
    • AReaL recomputes token probabilities under π_prox when each global batch arrives, which costs an extra forward pass but avoids keeping an EWMA of parameters.
  3. What if…

    Using Table 2 (1.5B math, AIME24 with/without the decoupled objective) and Table 1, argue what the decoupled objective buys and what the 2.77× headline is measured against.

    What a strong answer covers
    • Without the decoupled objective, AIME24 drops from the 42.0 oracle to 23.3 at η = 4; with it, η = 4 gives 42.2. With η = ∞ the scores are 34.0 vs 36.9, so even the decoupled objective cannot absorb unbounded staleness.
    • The non-decoupled column is not monotone (η = 4 scores 23.3 but η = 8 scores 35.7), which suggests single-run noise and argues for seeds.
    • 2.77× is 41.0 h / 14.8 h against Sync.AReaL, the authors' own synchronous system. Against the reported verl run (33.6 h) the 1.5B saving is about 2.3×.
    • Accuracy is matched rather than improved (42.2 vs 42.0; 63.1 vs 63.0 at 7B), so the claim is about wall-clock, not final quality.

Done with this page?

Status