Introduction
Training Large Language Models (LLMs) using Reinforcement Learning (RL)—a core component of reasoning models like DeepSeek-R1—presents a unique computational challenge. Unlike standard pre-training, RL training involves distinct stages with conflicting resource requirements. Rollout Generation (inference) is primarily I/O-bound, limited by High Bandwidth Memory (HBM) speeds. Conversely, Policy and Value Updates (training) are compute-bound, requiring high floating-point performance (FLOPS).
In traditional homogeneous clusters where all GPUs are identical, this leads to significant resource underutilization: high-compute GPUs are wasted on simple text generation, or memory-bandwidth-limited GPUs throttle the training process. While asynchronous RL allows these stages to overlap, scheduling them effectively across a heterogeneous mix of GPUs is complex due to data staleness constraints and the vast search space of parallelization strategies.
AREAL-HEX: A Heterogeneity-Aware Scheduler
To address these inefficiencies, we present AREAL-HEX, a scheduling system designed to optimize RL training on clusters with mixed GPU types. The system employs a two-phase iterative optimization approach to align hardware capabilities with workload demands.
The scheduling process consists of:
- The Search Phase: Utilizing Mixed-Integer Linear Programming (MILP), the system identifies optimal parallelization strategies (Tensor, Pipeline, and Data Parallelism) for a given hardware allocation. It ensures that rollout workers generate trajectories at a rate that matches the consumption capacity of the training workers, maintaining a balance that prevents both idling and excessive data staleness.
- The Repartition Phase: Using cost-guided graph partitioning and heuristics, AREAL-HEX determines the optimal distribution of GPU types. It prioritizes high-bandwidth GPUs, such as the NVIDIA H20, for the rollout stage and high-compute GPUs, such as the NVIDIA H800/H100, for the policy training stage.
Performance and Cost Efficiency
We evaluated AREAL-HEX using the DeepSeek Distilled Qwen-2.5 model family (1.5B to 14B parameters) on mathematical reasoning tasks. The results demonstrate that hardware-workload alignment significantly improves performance.
Key findings include:
- Throughput Gains: For a fixed budget, AREAL-HEX achieves up to 1.50x higher training throughput compared to uniform H800-based configurations.
- Cost Reduction: The system reduces total training costs by up to 1.46x while maintaining the same training speed as standard setups.
- Hardware Specialization: Our analysis confirms that the NVIDIA H20 is 2.72x more cost-efficient for rollouts due to its superior memory bandwidth relative to its price, while the H800 remains 3.12x more efficient for compute-heavy training updates.
Discussion and Future Work
While AREAL-HEX offers substantial improvements, it faces challenges in low-bandwidth environments where inter-machine communication overhead (currently ~13.5% of training time) may become a bottleneck. Future research will explore the applicability of these scheduling techniques to "frontier" models exceeding 70B parameters, where memory pressure is even more acute, and test a wider variety of GPU pairings beyond the H800/H20 combination.
By disaggregating the RL training pipeline and matching specific tasks to the most cost-effective hardware, AREAL-HEX provides a scalable path toward more efficient LLM development.
Summary updated