AIAny
AI Train2025
Icon for item

AReaL

Trains LLM reasoning and agentic models with fully asynchronous reinforcement learning, decoupling rollout generation from policy updates for a 2.77x speedup over synchronous RL. Covers GRPO, PPO and DAPO across Megatron, FSDP, vLLM and SGLang backends.

Introduction

Most RL pipelines for LLMs stall in lockstep: a batch of prompts is generated, then training waits for the slowest rollout before it can update, leaving accelerators idle on both sides. The premise here is that generation and policy updates don't need to share a clock at all — decouple them into fully asynchronous processes and the idle time disappears, without the instability that usually follows.

What Sets It Apart
  • Full asynchrony delivers a measured 2.77x training speedup over comparable synchronous systems while matching or beating their final quality — the gain comes from architecture, not from trading away accuracy.
  • Algorithm coverage is unusually wide: GRPO, PPO, DAPO, REINFORCE, RLOO, GSPO, DR-GRPO and DPO are all first-class, so switching objectives is a config change rather than a rewrite.
  • It is backend-agnostic by design — Megatron, PyTorch FSDP and Archon for training, vLLM and SGLang for inference — and pointing rollouts at a live agent is a single base_url swap.
  • AReaL-lite is a deliberate counterweight: roughly 80% less code while retaining about 90% of full AReaL's performance, aimed at teams who want to read and modify the training loop.
Who It's For

Great fit if you are training reasoning or agentic models at scale and the synchronous rollout-update cycle is your throughput ceiling, or if you need to wire RL into a live tool-using agent. Look elsewhere if you want a turnkey fine-tuning script or only run small single-GPU jobs — the asynchronous, multi-backend design assumes distributed clusters and adds operational complexity you won't recoup at that size.

Information

  • Websitegithub.com
  • OrganizationsAnt Group, Institute for Interdisciplinary Information Sciences, Tsinghua University
  • AuthorsinclusionAI (AReaL Team), Institute for Interdisciplinary Information Sciences, Tsinghua University, Ant Group
  • Published date2025/02/24

Categories

More Items

GitHub
AI Train2019

Train and experiment with multi-billion to trillion-parameter transformer models on large GPU clusters using GPU-optimized building blocks and reference training scripts; offers advanced parallelism and mixed-precision support for research teams and ML engineers.

GitHub
AI Train2026

Provides a one-command CLI to fine-tune and post-train LLMs, with layer streaming that lets an 8B model be fine-tuned on a 4 GB laptop GPU. Auto-configures quantization, LoRA adapters, batching and evaluation gates, and supports export and serving workflows.

GitHub
AI Train2025

A PyTorch DTensor-native SPMD library for training and fine-tuning LLMs, VLMs, diffusion and retrieval models. Integrates with Hugging Face for day-0 model support, provides YAML-driven recipes, DTensor/FSDP2 parallelism and NVIDIA-optimized kernels (Transformer Engine, DeepEP, FlexAttn).