Local Coordination for Efficient Small-Model RL on TPUs
Loki Chen, Gregory B. Rehm, Yang Song, Hongye Xie, Ming Lei, Chongyang Bai, Bob Kamma, Mingfu Liang, Kavosh Asadi, Yufei Li, Xi Liu, Jay Xu, Rui Liu, Maziar Sanjabi, Luke Simon, Hamed Firooz
Abstract
Reinforcement learning (RL) increasingly targets small language models, and executing these workloads efficiently across multiple accelerators requires effective coordination. On TPUs, Pathways-based RL uses a single controller to coordinate computation across hosts. This execution model is effective for large models, but its coordination computational costs are harder to amortize when small models repeatedly invoke short computations. To characterize these computational costs, we sweep dense models from 0.6B to 405B parameters on TPU v7x under a decode-heavy workload and measure how host and network computational overhead vary with model size. At 0.6B, host orchestration occupies 36% of step time and network communication 2%, whereas for large models, estimated network computational costs dominate the non-compute time. Motivated by these findings, we present Local Coordination JAX (LoCoJAX), which implements local rollout and reward processing on each TPU host with synchronous global training. In controlled comparisons against a tuned and optimized Pathways baseline on Qwen3-0.6B across three workloads and 8-64 TPU v7x chips, its colocated mode (LoCoJAX-CO) is 1.3-3.6x faster per step; on GSM8K, it completes a step faster on 8 chips than Pathways does on 64. Finally, a Ray-managed disaggregated mode (LoCoJAX-DA) overlaps rollout and training on separate hosts, and placement experiments establish when this overlap compensates for dividing devices and transferring weights: only when rollout dominates the step and receives most of the hosts. On NuminaMath-CoT at 256 chips, giving rollout 75% of hosts cuts step time by about 15% compared with LoCoJAX-CO.
Create a lesson
Related papers
Fair and Efficient Distributed EV Charging Coordination Using Threshold Cryptography and Machine Learning
Shared title terminology · Md. Mainul Islam, Muhammad Ismail, Hasan Kurban et al.
OnCache: Learning Dynamic Caching Schedules for Efficient Diffusion Inference
Shared title terminology · Zhikang Xie, Xichen Ye, Yifan Wu et al.
Tissot indicatrix for location encoders: Characterizing local distortion in learned geographic embeddings
Shared title terminology · Guofeng Cao, Gengchen Mai
Curvature Mismatch and Local Errors in Galaxy Property Estimation
Shared title terminology · Austin Lutterbach, Angus Hoy, Jasper Chong et al.
ARC: Adaptive Rollout Control for Efficient Synchronous LLM Reinforcement Learning
Shared title terminology · Yihui Zhang, Tianyu Wo, Jinghao Wang et al.
RadAG: Reward-Adversarial Attention Guidance for Efficient Inference-Time Alignment of Diffusion Models
Shared title terminology · Hyeongchan Jeon, Kwanyoung Kim