In this article
Libra’s reported throughput and time-to-reward maxima use different baselines, and initial profiling is excluded; the large-cluster GRPO results need their full execution conditions.
During language-agent post-training, some accelerators generate attempts at tasks, while others update the model using their scores. If generation slows because tool interactions produce long trajectories, training resources idle; the opposite imbalance leaves generation resources idle. Libra proposes managing the stages jointly and reallocating resources as demand changes.
Kaiwen Chen and colleagues introduced the work in an arXiv preprint on 2 June 2026; the examined v3 appeared on 16 September. They report up to 4.2-fold higher throughput and up to 2.7-fold faster time to target reward. These are maxima in specific comparisons, rather than promises for arbitrary training. Paper and version history; experiment description.
Why agents create uneven demand
An RL iteration generates trajectories—sequences of agent actions and responses, or rollouts—scores them and updates model parameters. An agent can repeatedly search, execute code or inspect a tool result. Final trajectory length is unknown beforehand: large tool outputs expand context, while failures can trigger additional retries and diagnosis.
In the authors’ R2E-Gym programming-workload measurement with Qwen3-14B, the longest 10% of trajectories occupied more than half the total rollout time. Model behavior changes can also change length distributions, making a fixed generation/training accelerator split unsuitable. This observation concerns a particular workload rather than all agents. Workload characteristics.
Two levels of management
Libra routes requests within generation while tracking the balance between generation and training. At the first level, it creates execution buckets with different tensor-parallel (TP) degrees, distributing the model and computation across different accelerator counts. Smaller groups reduce communication overhead for short sequences; larger groups can better handle long contexts and memory pressure.
The scheduler stores trajectory history in a prefix tree. After a tool response, it considers tool type, output-size category and success or failure, estimates remaining length, and decides whether moving the request to another group justifies migration cost. Unseen event sequences fall back to parent-node statistics; new trajectories periodically update the tree. The method’s name refers to tool results influencing subsequent execution, but the reported observations should not become universal causal proof across tasks. Scheduler design, tree coverage.
At the second level, a global planner estimates generation and training time for different configurations and seeks an allocation reducing the slower stage’s time. It enumerates training parallel strategies while pruning unsuitable candidates, then uses dynamic programming for generation buckets. Its time estimates use a cost model and prior hardware measurements. Global planner.
The cluster contains persistent training and rollout pools plus a hybrid pool. As demand changes, hybrid workers switch roles at whole data-parallel replica granularity. To return to training, they asynchronously receive model-parameter and optimizer-state snapshots; a separate RDMA channel permits joining while core training continues. Persistent demand shifts can trigger heavier core-pool repartitioning during available pipeline slack. This reduces reconfiguration cost, but role transitions and state transfer remain nonzero work. Execution and overhead.
What the experiments showed
The authors used two clusters: 48 NVIDIA A800-SXM4 GPUs with 80 GB each, across six nodes of eight GPUs; and 160 Ascend 910B3 NPUs with 64 GB each, across 20 nodes of eight. Inter-node networking used 200 Gbit/s RoCE. All end-to-end experiments used GRPO, one-step asynchrony, a 40 960-token model-length limit and 16 samples per prompt. Models were Qwen3-14B and Qwen3-30B-A3B; workloads included Search-R1 retrieval, R2E-Gym coding and DAPO-Math-17K mathematics. Evaluation conditions.
On A800, author-reported throughput ranged from 870 to 2940 tokens/s across tasks. The approximately 4.2-fold maximum compares with verl-Colocated, where generation and training alternately occupy the same GPUs. Against dynamic DynaRL, GPU throughput rose 31–44%; Search-R1, for example, reached approximately 2900 versus 2000 tokens/s. On Ascend, the DynaRL advantage was 18–37%. These are the authors’ configuration comparisons, rather than independent tests. End-to-end results.
The maximum 2.73-fold speedup in reaching comparable target reward came on GPUs against a different baseline, verl-Static-Uniform, which splits resources equally between stages. Against DynaRL, GPU speedup was 1.31–1.45-fold; Search-R1 reached its target after 16.2 hours versus 23.5. This measures elapsed time to a selected reward, rather than multiplying reward itself by 2.7. Convergence results.
These times exclude initial profiling needed to configure the cost model and tree. On 48 A800s with Qwen3-14B, this took about 1.24 hours for Search-R1 and 3.8 hours for R2E-Gym. The authors calculate that even for one run, including preparation leaves approximately 6.06 hours saved on Search-R1 versus DynaRL; suitable repeated runs can reuse a profile. Profiling and amortization.
A separate Search-R1 routing experiment held bucket configuration fixed. Libra’s scheduler matched the optimal choice based on known future length in 91.1% of decisions, achieving 2700 tokens/s. An idealized oracle with future length available reached 3102 tokens/s; simple load balancing achieved 1502. These characterize a specific setup, rather than guaranteeing equivalent accuracy on a new workload. Routing comparison.
Who may benefit
Libra addresses teams regularly post-training agent models across distributed accelerators and losing time to variable trajectory lengths or shifting stage balance. Its value is evaluating the whole pipeline rather than only individual model-call speed. The authors published a repository with code, configurations and examples; reproduction still requires a suitable software stack and infrastructure.
The authors measured large clusters with fast inter-node links. Their evidence does not establish benefits on one or a few GPUs, other networks or different RL algorithms: although they describe extensibility, end-to-end evaluation uses GRPO. Independent replication of the claimed speedups is unconfirmed. Adoption assessment needs application-specific time-to-target reward including profiling and switching overhead.
Related explanations cover tensor parallelism and independent replicas and reward models and policy constraints in RLHF. This optimizes a systems pipeline rather than changing the meaning of its reward target.
Sources
- Chen and colleagues, Libra: Efficient Resource Management for Agentic RL Post-Training, arXiv, preprint and version history.
- Full paper v3, architecture, methodology and author results.
- NetX-lab/Libra on GitHub, implementation and project instructions.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.