RLBoost: Harvesting Preemptible Cloud Resources for Cost-Efficient Reinforcement Learning on LLMs

Yongji Wu (UC Berkeley), Xueshen Liu (University of Michigan), Haizhong Zheng (Carnegie Mellon University), Juncheng Gu (Google), Beidi Chen (Carnegie Mellon University), Z. Morley Mao (University of Michigan), Arvind Krishnamurthy (Google and University of Washington), Ion Stoica (UC Berkeley)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Living Large in Shared Clouds

Overview

Large language models (LLMs) have achieved breakthrough capabilities in complex reasoning, mathematical problem-solving, and agentic workflows (such as web browsing and shopping). Beneath these advanced capabilities lies the heavy computational machinery of reinforcement learning (RL) and its variants. However, RL workflows for LLMs are notoriously resource-intensive and expensive, involving continuous cycles of token generation (reward/inference) and weight updates (training). This talk introduces RLBoost, a novel systems infrastructure designed to slash the cost of LLM reinforcement learning by dynamically harvesting preemptible (spot) cloud instances.

Watch on YouTube · Slides

Visual summary for RLBoost: Harvesting Preemptible Cloud Resources for Cost-Efficient Reinforcement Learning on LLMs by Yongji Wu, Xueshen Liu, Haizhong Zheng, Juncheng Gu, Beidi Chen, Z. Morley Mao, Arvind Krishnamurthy, Ion Stoica
Visual summary for RLBoost: Harvesting Preemptible Cloud Resources for Cost-Efficient Reinforcement Learning on LLMs by Yongji Wu, Xueshen Liu, Haizhong Zheng, Juncheng Gu, Beidi Chen, Z. Morley Mao, Arvind Krishnamurthy, Ion Stoica

Key moments

  1. 0:00 Introduction and RL workflow overview
  2. 2:00 Comparing rollout and training characteristics
  3. 4:00 Realistic challenges and existing architecture limitations
  4. 6:00 Proposed hybrid architecture and system overview
  5. 8:00 Handling preemption with token-level progress tracking
  6. 9:30 Partial response offload and load balancing
  7. 11:30 Evaluation methodology and throughput results
  8. 13:00 Cost efficiency comparison and conclusion

RLBoost: Harvesting Preemptible Cloud Resources for Cost-Efficient Reinforcement Learning on LLMs

Speakers: Trishan (UC Berkeley / Presenting Author); Yongji Wu (UC Berkeley); Xueshen Liu (University of Michigan); Haizhong Zheng (Carnegie Mellon University); Juncheng Gu (Google); Beidi Chen (Carnegie Mellon University); Z. Morley Mao (University of Michigan); Arvind Krishnamurthy (Google and University of Washington); Ion Stoica (UC Berkeley)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=Ybh1WWBkHvc

Overview

Large language models (LLMs) have achieved breakthrough capabilities in complex reasoning, mathematical problem-solving, and agentic workflows (such as web browsing and shopping). Beneath these advanced capabilities lies the heavy computational machinery of reinforcement learning (RL) and its variants. However, RL workflows for LLMs are notoriously resource-intensive and expensive, involving continuous cycles of token generation (reward/inference) and weight updates (training). This talk introduces RLBoost, a novel systems infrastructure designed to slash the cost of LLM reinforcement learning by dynamically harvesting preemptible (spot) cloud instances.

The core motivation behind RLBoost is an asymmetry in workload characteristics between the rollout (inference) and training phases of LLM reinforcement learning. While training is state-heavy—requiring massive memory for model weights, gradients, optimizer states, and activations across tightly coupled, high-bandwidth nodes—rollout generation is almost entirely stateless and memory-bound. This makes rollout uniquely suited for cheap, fragmented, and volatile preemptible instances, which typically cost up to 90% less than reserved instances. By introducing an elastic hybrid architecture, RLBoost bridges the volatility of spot resources with the strict demands of RL training, achieving up to 49% cost savings without sacrificing throughput or stability.

Background

▶ Watch: Introduction and RL workflow overview (0:00)

Reinforcement learning on LLMs operates through an iterative loop. First, a reward (or rollout) engine uses the current model to generate responses based on prompts. These generated tokens are then passed to a training engine, which computes rewards, derives loss values, and updates model weights. The newly updated weights are subsequently synced back to the reward engine for the next generation cycle.

Profiling mathematical reasoning tasks reveals a severe computational bottleneck: over 70% of total execution time is spent on auto-regressive token generation during the rollout phase. This bottleneck worsens significantly when transitioning to long-horizon agentic tasks. While infrastructure teams can theoretically reduce rollout time by provisioning more GPUs, doing so on reserved, high-performance cloud instances drives operational costs to unsustainable levels.

Prior architectures struggle to resolve this tension. Collocated architectures—which run both rollout and training on the same pool of machines—fail because performing training on unstable preemptible instances introduces catastrophic failure risks; losing a single training shard means restarting from a checkpoint. Decoupled disaggregated architectures separate rollout onto preemptible instances and training onto reserved instances, relying on off-policy training methods to absorb scheduling gaps. However, when spot instance availability drops or fluctuates, prolonged rollout phases starve the trainers of data, creating severe "bubble times" and underutilizing expensive reserved GPUs.

Key Findings

▶ Watch: Realistic challenges and existing architecture limitations (4:00)

Evaluating RLBoost against real-world cloud spot instance traces demonstrates that harvesting volatile resources for LLM reinforcement learning is both viable and highly cost-effective. Key findings include:

  • Cost Reduction: RLBoost achieves up to 49% total cost savings compared to traditional disaggregated setups (world baselines) while maintaining competitive training throughput.
  • Linear Scaling with Zero Overhead: System throughput scales almost proportionally to the number of available spot instances, indicating that elastic harvesting introduces negligible overhead.
  • Preemption Resilience: By tracking generation progress at the token level, RLBoost handles abrupt spot instance preemptions with virtually zero wasted computation.
  • Resistance to Over-Provisioning Penalties: Naively throwing more reserved instances at a traditional architecture can degrade performance due to inter-node communication overhead. In contrast, RLBoost maintains linear efficiency gains by cleanly decoupling light token exchanges from heavy training synchronization.

Technical Deep Dive

▶ Watch: Handling preemption with token-level progress tracking (8:00)

The architectural engine of RLBoost revolves around a hybrid architecture coupled with three core control mechanisms designed to handle spot instance volatility, workload imbalances, and tail latencies.

System Architecture and Components

The system divides compute into a preemptible pool (dedicated spot rollout workers) and a reserved pool (multi-role workers that can dynamically switch between rollout and training). Every worker runs a dedicated transfer agent process that manages asynchronous model weight updates in the background, ensuring weight synchronization never blocks active computation. At the center of the control plane is the road manager, a specialized API server that monitors token-level generation progress and coordinates workload distribution across heterogeneous nodes.

Token-Level Preemption Handling

When a spot instance is abruptly preempted mid-sequence, traditional systems drop the entire generation history. RLBoost avoids this by having the road manager continuously track progress at the token level. Upon preemption, the manager instantly packages the original prompt together with the tokens already generated, creating a new migration prompt that resumes generation on an alive instance from the exact point of interruption. Because auto-regressive generation is strictly memory-bound, this migration incurs minimal performance penalty and prevents wasted compute cycles.

Partial Response Offloading and Elastic Adaptation

To bridge availability drops where spot instances are scarce, RLBoost implements partial response offloading. Instead of assigning entire long sequences to spot instances—which risks tail-latency bottlenecks—the system establishes a dynamic time window. If a sequence generation on a reserved instance exceeds this threshold, execution is migrated to the preemptible pool. This allows the reserved instance to pivot immediately to training mode, processing gradients in micro-batches while rollout responses stream continuously from spot workers.

Runtime Workload Balancing

Because auto-regressive response lengths are unpredictable prior to generation, static task assignments inevitably create stragglers. The road manager continuously monitors pending requests across all active workers. When underutilized instances are detected, it dynamically migrates pending requests in real time, eliminating tail latencies caused by uneven sequence lengths.

Experimental Setup & Results

▶ Watch: Partial response offload and load balancing (9:30)

The evaluation of RLBoost utilized real-world cloud spot instance traces comprising three distinct segments with varying preemption frequencies and spot availability profiles. Baseline comparisons included standard collocated architectures, traditional disaggregated architectures (world), and an over-provisioned baseline (world 2x) that doubled the number of reserved instances. Cost estimations intentionally applied conservative parameters, assuming a 70% cost reduction for spot instances rather than the theoretical maximum of 90%.

Across all test segments, RLBoost maintained stable throughput even during abrupt drops in spot availability. In Segment A—characterized by high spot availability paired with frequent preemptions—throughput remained flat and uninterrupted due to the system's token-level migration recovery. Compared to standard disaggregated baselines, RLBoost secured up to 49% cost reductions. Meanwhile, the world 2x baseline exhibited lower performance efficiency due to the heavy communication overhead scaling penalty incurred when exchanging model states across a larger footprint of co-located nodes.

Practical Implications

▶ Watch: Cost efficiency comparison and conclusion (13:00)

For infrastructure teams and model builders scaling reinforcement learning pipelines for large language models, RLBoost demonstrates that cloud spot instances can be reliably harvested without compromising training stability.

  • Infrastructure Cost Optimization: Teams can dramatically lower the prohibitive financial barrier of LLM alignment and reasoning training by offloading the dominant rollout phase to preemptible hardware.
  • Architectural Flexibility: The hybrid decoupling strategy acts as an orthogonal boost to existing RL frameworks. It requires no changes to core training algorithms and introduces zero performance penalty during worst-case scenarios where spot availability dries up.
  • Tradeoffs: Deploying RLBoost requires robust monitoring infrastructure (the road manager) and efficient background weight-transfer mechanisms to handle dynamic state migrations without introducing synchronization bubbles.

Key Takeaways

  • Rollout is the Bottleneck: Over 70% of reinforcement learning time for LLMs is consumed by auto-regressive token generation during the reward/rollout phase.
  • Asymmetric Workloads: Training requires state-heavy, tightly coupled reserved nodes, whereas rollout is stateless, memory-bound, and ideal for cheap, preemptible cloud instances.
  • Token-Level Migration: RLBoost handles spot instance preemption with zero wasted progress by capturing state at the token level and seamlessly migrating active generation tasks to surviving nodes.
  • Partial Response Offloading: Dynamic time windows prevent long sequence generation on reserved nodes from blocking training loops, eliminating idle "bubble times."
  • Substantial Savings: The system achieves up to 49% cost reduction compared to traditional disaggregated reinforcement learning architectures while scaling linearly with spot resource availability.

About the Speaker(s)

The research behind RLBoost represents a collaborative effort from leading academic and industry institutions, presented by Trishan from UC Berkeley. The author and co-author team includes researchers and engineers from UC Berkeley, the University of Michigan, Carnegie Mellon University, Google, and the University of Washington (including notable systems and machine learning researchers such as Yongji Wu, Xueshen Liu, Haizhong Zheng, Juncheng Gu, Beidi Chen, Z. Morley Mao, Arvind Krishnamurthy, and Ion Stoica).

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)