# LoCoJAX: Host-Local Coordination for Small-Model RL on TPUs

DevFeed: [LoCoJAX: Host-Local Coordination for Small-Model RL on TPUs](<https://devfeed.tech/articles/locojax-host-local-coordination-for-small-model-rl-on-tpus-131546.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.16301>)

Author: 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

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [distributed-training](<https://devfeed.tech/topics/distributed-training.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [rlvr](<https://devfeed.tech/topics/rlvr.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [faster](<https://devfeed.tech/tags/faster.md>), [jax](<https://devfeed.tech/tags/jax.md>), [local](<https://devfeed.tech/tags/local.md>), [overlap](<https://devfeed.tech/tags/overlap.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [ray](<https://devfeed.tech/tags/ray.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [reward](<https://devfeed.tech/tags/reward.md>), [rl](<https://devfeed.tech/tags/rl.md>), [separate](<https://devfeed.tech/tags/separate.md>), [small](<https://devfeed.tech/tags/small.md>), [small-language-models](<https://devfeed.tech/tags/small-language-models.md>), [small-models](<https://devfeed.tech/tags/small-models.md>), [tpus](<https://devfeed.tech/tags/tpus.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

On TPU v7x, host orchestration can dominate coordination overhead for small-model RL: in a decode-heavy sweep, it takes 36% of step time for a 0.6B model, while network communication takes 2%; for large models, estimated network costs dominate non-compute time. LoCoJAX keeps rollout and reward processing local to each host while training synchronously across hosts. In comparisons with a tuned Pathways baseline on Qwen3-0.6B, its colocated mode runs steps 1.3-3.6x faster across three workloads and 8-64 chips; on GSM8K, 8 chips beat Pathways on 64. Its Ray-managed disaggregated mode overlaps rollout and training, but helps only when rollout dominates and receives most hosts. On NuminaMath-CoT at 256 chips, assigning rollout 75% of hosts reduced step time about 15% versus colocated mode.

## Source excerpt

arXiv:2611.16301v1 Announce Type: cross 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.