TL;DR
Laminar is a fully decoupled, asynchronous reinforcement learning (RL) post-training framework for LLMs that eliminates the massive pipeline bubbles caused by long-tail trajectory generation. By enabling trajectory-level asynchrony through CPU-based relay workers and a dynamic trajectory repacking mechanism, Laminar achieves up to a 5.48× throughput speedup on a 1024-GPU cluster while significantly accelerating model convergence.
What Problem Does This Paper Address?
Reinforcement learning post-training has become the secret sauce for boosting the reasoning capabilities of state-of-the-art LLMs (such as OpenAI's o1 and DeepSeek-R1). However, scaling this process across thousands of GPUs is notoriously inefficient. The primary bottleneck lies in the generation phase, where rollout models produce responses (trajectories) to prompts.
Because complex reasoning and multi-turn agentic tasks vary wildly in difficulty, response generation times are highly skewed—the 99th percentile trajectory length can exceed the median by an order of magnitude.
Traditional synchronous and existing asynchronous RL frameworks rely on global weight synchronization barriers. This forces all rollout replicas to wait for the slowest "long-tail" trajectory to finish before updating weights, creating massive pipeline bubbles that leave expensive GPUs idling up to 49% of the time.
Methods
Laminar breaks this lockstep by introducing trajectory-level asynchrony, allowing every trajectory to be generated and consumed independently at its own optimal pace. To achieve this without sacrificing training stability or wasting GPU memory, Laminar introduces a fully decoupled architecture featuring two core designs:
- Hierarchical Relay Workers: Instead of direct GPU-to-GPU global synchronization, Laminar introduces a tier of CPU-based relay workers running in host memory. The actor model pushes updated weights to a master relay and immediately resumes training. Rollout replicas can then pull the latest weights from their colocated CPU relay via fast PCIe links whenever they finish a batch, completely avoiding trainer stalls and saving precious GPU memory.
- Dynamic Repack Mechanism: To prevent individual rollouts from getting stuck on a few lingering long-tail trajectories, Laminar monitors rollout idleness using a lightweight, KVCache-utilization metric. It dynamically consolidates incomplete, long-tail trajectories from multiple underutilized rollouts onto a few dedicated replicas. This frees up the remaining rollouts to immediately fetch the latest weights and begin generating fresh, on-policy data.
Datasets
The authors evaluated Laminar on the DAPO-Math-17k dataset, which covers single-turn mathematical reasoning and multi-turn tool-calling tasks (interacting with a code sandbox environment). They also tested the trained models' reasoning capabilities on the challenging AIME2024 benchmark.
Key Insights and Ideas
- Exploiting Memory-Bound Decoding: LLM decoding is heavily memory-bound, meaning that decoding a tiny batch of long-tail trajectories takes almost the same time as decoding a much larger batch. Laminar exploits this by packing straggler trajectories together with virtually zero latency penalty.
- Inherent Staleness over Rigid Bounds: Instead of forcing developers to manually tune a rigid, static staleness bound ($k$-step bounds), Laminar lets the staleness of each trajectory emerge naturally from system dynamics. This fluidly adapts to evolving trajectory lengths as the model learns.
- Fault Isolation at Scale: Because the architecture is fully decoupled, the failure of a single rollout machine does not halt the entire cluster. In-progress trajectories are safely streamed to a central partial response pool, allowing swift, non-disruptive recovery for long-running jobs.
Key Results
- Massive Speedups: Evaluated on a 1024-GPU cluster, Laminar achieved up to a 5.48× training throughput speedup over the state-of-the-art synchronous baseline (verl) and consistently outperformed existing asynchronous pipelines (like AReaL).
- Faster Convergence: Laminar converged 1.77× faster for 7B models and 1.59× faster for 32B models compared to the best baselines, without compromising final model accuracy or reasoning performance on benchmarks like AIME2024.
- High Resource Utilization: The dynamic repack mechanism boosted generation throughput by 26% and increased average GPU KVCache utilization by 14.8%.
Limitations and Future Work
The authors note that because Laminar efficiently scales out trajectory generation, rollout throughput can easily outpace the trainer's consumption speed. This creates an abundance of diverse experiences, but how to effectively sample and prioritize these massive, asynchronously generated experiences remains an underexplored challenge in large-scale LLM post-training. Developing advanced experience sampling strategies is highlighted as a key direction for future work.
Summary updated