Agentic AI
How Nebius slashed AI agent training time by nearly 67% through infrastructure optimization
A detailed look at the system bottlenecks that slow reinforcement learning training and how smart scheduling, caching, and batch management can dramatically accelerate model iteration.
1/2
The New Stack
When training AI agents using reinforcement learning, expensive GPUs frequently sit idle waiting for slower components to finish their work. Even with cutting-edge hardware, the time agents spend attempting tasks and generating training data often becomes the limiting factor—not the compute itself.
Nebius, an Amsterdam-based AI infrastructure company, recently demonstrated how rethinking the entire rollout pipeline can unlock massive efficiency gains. By redesigning how training batches are collected and scheduled, the company reduced the time needed to assemble a 256-trajectory batch by 66.9% on a Terminal-Bench-based workload.
The invisible bottleneck#
In agentic reinforcement learning, training cannot proceed until agents have completed their attempts at tasks and produced trajectories. Those attempts vary wildly in duration—some finish quickly, others take much longer. In a synchronous setup, training GPUs must wait for every trajectory in a batch to finish before learning can resume. This forces expensive accelerators to sit idle, waiting on stragglers.
Di Jin, VP of AI Training at Nebius, explains that teams transitioning from pretraining or supervised fine-tuning often underestimate this problem: "If you staff and design it as a training project, inference becomes the bottleneck nobody owns."
The key metric isn't raw throughput (tokens per second), but rather time to a trainable batch—how long from when an agent starts working until the training system has a complete, usable set of trajectories. The average can mask a problematic tail, where a handful of slow rollouts hold up the entire pipeline.
Trading staleness for efficiency#
Synchronizing training and inference perfectly creates severe inefficiency: inference GPUs idle while training runs, and training GPUs wait while agents act. Most large-scale systems sidestep this by running both in parallel using slightly older model weights for rollout generation—a practice Jin calls policy lag.
This introduces a tradeoff: allowing generation to use weights that are one or a few updates old enables overlapping computation, dramatically improving GPU utilization. However, if the policy drifts too far, the training signal becomes corrupted. Rather than banning old data entirely, Jin advocates measuring and managing staleness explicitly.
The relevant measure is divergence between the generating policy and the current policy being trained—not simply how many steps old the data is. Engineers can apply importance-sampling corrections, drop samples beyond a staleness threshold, and track divergence directly. As Jin puts it: "Staleness isn't the enemy. Unmeasured staleness is."

