12-04 更新 实时
首页/ 公司动向/ 正文

字节跳动研究人员开源 Laminar 异步强化学习后训练框架

公司动向 来源:MarkTechPost 2026-11-25 13:42 4 阅读 机器翻译

来自香港大学和字节跳动 Seed 的研究人员开源了 Laminar。Laminar 是一个面向 LLM 和长时程智能体的强化学习(RL)后训练框架。其核心理念很简单:不要再强迫每条轨迹、每块 GPU 都去等待最慢的那一个。对于训练编码智能体、rollout 又长又不均衡的团队来说,那正是大部分 GPU 时间被消耗掉的地方。

Laminar 是一个异步 RL 后训练框架,把 rollout、缓冲、训练和权重传输解耦成相互独立的循环。它基于 verl 和 Uni-Agent 构建,并以 Apache-2.0 协议发布。

发布博客把这一技术栈分为三层。verl 提供训练与推理的计算后端。Uni-Agent 负责智能体执行、工具调用和沙箱。Laminar 负责集群规模的编排。

该设计基于三条原则:完全解耦、细粒度异步和容错。

在研究论文中,relay 是 CPU 进程,每台 rollout 机器上运行 1 个。它们沿一条流水线化的 RDMA 链路广播权重。一个 72B 模型在 1.6 秒内即可触达另外 127 个 relay。

大多数异步系统采用版本混合的部分 rollout。它们在每次权重更新时中断正在进行的轨迹,并在新策略下恢复执行。这就迫使系统反复进行重新预填充。

Laminar 还支持一种版本一致模式。每条轨迹都在同一个策略版本下完成。各副本独立更新,无需全局的权重切换屏障。博客称这样可以保持前缀 KV 缓存完整。它提出,在频繁更新的情况下,重新预填充的成本会随序列长度呈三次方增长。

Repack 负责处理长尾。一旦新权重就位,遗留的旧版本轨迹会被合并到更少的副本上。随后被排空的副本会立即加载新版本。

研究团队在 SWE-rebench 上训练了 Qwen3-Coder-30B-A3B-Instruct。他们在全部 500 个 SWE-bench Verified 任务上以贪婪解码进行了评估。

故障保持局部。如果某个 rollout 副本失败,路由器只会隔离该副本。它会重启,从本地中继重新加载权重,并从其已生成的 Token 前缀处继续。在权重加载期间失败的副本能够恢复,而不会阻塞训练器。训练器检查点会对齐模型状态、prompt 游标和已发布的权重版本。

laminar.eval 还能在训练期间以批处理或流式模式,跨常驻副本同时评估多个检查点。

查看论文、arXiv 预印本、GitHub 仓库和技术博客。你可以通过我们的 GPULeaderboard.com Chrome 扩展在此查看部署选项和规格。

需要与我们合作推广你的 GitHub 仓库、Hugging Face 页面、产品发布或网络研讨会等?请联系我们

文章《ByteDance 研究人员开源 Laminar,一个异步强化学习(RL)后训练框架》最初发表于 MarkTechPost。

译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(ByteDance Researchers Open-Sources Laminar, an Async Reinforcement Learning RL Post-Training Framework)

Researchers from The University of Hong Kong and ByteDance Seed have open-sourced Laminar. Laminar is an reinforcement learning RL post-training framework for LLMs and long-horizon agents. The core idea is simple: stop forcing every trajectory and every GPU to wait for the slowest one. For teams training coding agents with long, skewed rollouts, that is where most GPU time goes.

TL;DR

  • What: A framework. Tested on Qwen3-Coder-30B-A3B-Instruct (30.5B total, 3.3B active) and Qwen2.5 at 7B, 32B and 72B.
  • Runs on: Multi-node NVIDIA GPU clusters with Ray and CUDA. Tested on 64x H800 and up to 1024 H800 GPUs. vLLM for inference, Megatron-LM or FSDP2 for training.
  • Performance: Strong end-to-end gains on SWE agent RL and up to 5.48x throughput in the paper.
  • Best: 52.2% on SWE-bench Verified, up from 46.6% for the base model.
  • Worst: Early repo (1 commit at launch), vLLM is the only listed inference backend, and per-step async checkpointing is still in progress.
  • Bottom line: Best: fewer samples and GPU-hours to a higher SWE-bench score. Worst: the headline comparison mixes H800 and H100 hardware.

What is Laminar?

Laminar is an asynchronous RL post-training framework that decouples rollout, buffering, training and weight transfer into independent loops. It is built on verl and Uni-Agent and released under Apache-2.0.

The launch blog splits the stack into 3 layers. verl provides training and inference compute backends. Uni-Agent handles agent execution, tool calls and sandboxes. Laminar handles cluster-scale orchestration.

How does Laminar’s architecture work?

The design rests on 3 principles: full decoupling, fine-grained asynchrony and fault tolerance.

  • Rollout loop: Drives agent interactions and serves generation across inference replicas.
  • Experience buffer (data plane): Separates trajectory production from training and serves ready batches on demand.
  • Training loop: Samples batches, computes advantages and off-policy corrections, and publishes weights.
  • Weight Relay (weight plane): The trainer stages weights into per-node shared CPU memory and keeps going. Replicas pull updates on their own schedule.

In the research paper, relays are CPU processes, 1 per rollout machine. They broadcast weights along a pipelined RDMA chain. A 72B model reaches 127 other relays in under 1.6 seconds.

What is version-consistent rollout?

Most async systems use version-mixed partial rollout. They interrupt in-flight trajectories at each weight update and resume under the new policy. That forces repeated re-prefill.

Laminar also supports a version-consistent mode. Each trajectory finishes under 1 policy version. Replicas update independently, without a global weight-switch barrier. The blog states that this keeps the prefix KV cache intact. It argues re-prefill cost scales cubically with sequence length under frequent updates.

Repack handles the tail. Once new weights exist, leftover old-version trajectories are consolidated onto fewer replicas. Drained replicas then load the new version immediately.

How does Laminar perform on SWE-bench Verified?

The research team trained Qwen3-Coder-30B-A3B-Instruct on SWE-rebench. They evaluated on all 500 SWE-bench Verified tasks with greedy decoding.

  • Base model: 46.6% (233/500).
  • Baseline peak (step 150, 64x H100): 51.4% with 76.4k samples and 5,085 GPU-hours.
  • Laminar match (step 320, 64x H800): 51.4% with 41.0k samples (46% fewer) and 1,450 GPU-hours (71% fewer).
  • Laminar peak (step 400, 64x H800): 52.2% with 51.2k samples (33% fewer) and 1,843 GPU-hours (64% fewer).

How does Laminar handle failures?

Faults stay local. If a rollout replica fails, the router fences only that replica. It restarts, reloads weights from the local relay and resumes from its generated token prefix. A replica that fails during weight loading recovers without blocking the trainer. Trainer checkpoints align model state, prompt cursors and published weight versions.

laminar.eval also evaluates several checkpoints at once across resident replicas, in batch or streaming mode during training.

Laminar vs verl vs AReaL vs slime

FeatureLaminarverlAReaLslime
DeveloperHKU + ByteDance SeedByteDance Seed, verl communityTsinghua IIIS + Ant GroupTHUDM
LicenseApache-2.0Apache-2.0Apache-2.0Apache-2.0
Async modeTrajectory-level, no global barrierSync default; fully async and 1-step off-policy (experimental)Fully asynchronousAsync rollout, fully async example
Version-consistent rolloutYes, plus version-mixed partialNot disclosedNot disclosedNot disclosed
Inference backendvLLMvLLM, SGLang, HFvLLM, SGLangSGLang
Training backendMegatron-LM, FSDP2FSDP, FSDP2, Megatron-LMMegatron, FSDP, ArchonMegatron
Agentic RLVia Uni-AgentMulti-turn tool callingYes (coding, search, Tau2)Yes (coding, search, multi-agent)
Fault toleranceReplica, weight sync and trainer levelNot disclosedNot disclosedDocumented
Key result52.2% SWE-bench VerifiedNot disclosedNot disclosedNot disclosed

Key Takeaways

  • Laminar decouples rollout, training and weight sync into independent loops.
  • Version-consistent rollout avoids re-prefill by finishing each trajectory on 1 policy.
  • Qwen3-Coder-30B-A3B rose from 46.6% to 52.2% on SWE-bench Verified.
  • It used 33% fewer samples and 64% fewer GPU-hours, on different GPUs than the baseline.
  • The code is Apache-2.0 but early, with vLLM-only inference.


Check out the Paper, arXiv preprint, GitHub Repo and Technical Blog. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post ByteDance Researchers Open-Sources Laminar, an Async Reinforcement Learning RL Post-Training Framework appeared first on MarkTechPost.

正文保留英文原文,标题与摘要由机器翻译。

本文由采集器自动同步

原文发布于 MarkTechPost(ByteDance Researchers Open-Sources Laminar, an Async Reinforcement Learning RL Post-Training Framework),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗