NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

LoCoJAX: Host-Local Coordination for 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

TL;DR

LoCoJAX optimizes reinforcement learning (RL) for small language models on TPUs by replacing centralized coordination with host-local control. By eliminating the orchestration bottlenecks inherent in single-controller architectures like Pathways, LoCoJAX achieves up to 3.6× speedups, enabling 8 TPU chips to outperform 64 chips running standard optimized baselines.

What Problem Does This Paper Address?

As reinforcement learning increasingly targets "small" language models (SLMs)—those with sub-billion to few-billion parameters—the bottlenecks of distributed execution are shifting. On Google TPUs, the standard execution model (Pathways) uses a single global controller to coordinate computation across all hosts.

While effective for massive models where compute time dwarfs coordination costs, this "single-controller" model fails to scale down. For SLMs, the actual model computation is so fast that "incidentals"—framework dispatch, launch latency, and serial request scheduling—become the dominant factors in step time. The authors found that for a 0.6B parameter model, host orchestration consumes a staggering 36% of the total RL step time, while network communication accounts for only 2%.

Figure 1: As model size shrinks, host orchestration becomes the primary bottleneck, while network costs dominate for large models.

Methods

The authors introduce Local Coordination JAX (LoCoJAX), a system designed to reclaim this lost performance by decentralizing control.

Key architectural components include:

  • Multi-Controller JAX: Instead of one global controller, LoCoJAX gives each TPU host its own local controller.
  • LoCoJAX-CO (Colocated): This mode runs local rollout (generation) and reward processing on each host, followed by synchronous global training. By keeping the generation loop local, it avoids the "lockstep" synchronization overhead of Pathways.
  • LoCoJAX-DA (Disaggregated): Managed by Ray, this mode separates rollout and training onto different hosts. This allows for asynchronous execution, overlapping the generation of new samples with the training of the current batch.
  • Optimized Data Paths: LoCoJAX implements parallel request admission, where each host admits its own share of prompts rather than waiting for a single head process to serialize thousands of requests.
Figure 2: Comparison of the centralized Pathways architecture vs. LoCoJAX's colocated and disaggregated modes.

Datasets

The system was evaluated using the Group Relative Policy Optimization (GRPO) algorithm on three distinct workloads designed to stress different parts of the RL pipeline:

  • GSM8K: A math word problem dataset characterized by balanced prefill and short decode phases.
  • NuminaMath-CoT: A reasoning-heavy dataset with long "Chain of Thought" (CoT) outputs, making it decode-heavy.
  • SWE-agent trajectories: A software engineering dataset with very long prompts, making it prefill-heavy.

Key Insights and Ideas

  • The "Incidentals" Tax: Shrinking a model reduces its compute requirements but doesn't shrink the fixed costs of the software framework. For SLMs, the "framework tax" is the primary target for optimization.
  • The 8B Crossover: The authors identified a clear transition point around the 8B parameter mark. Below this size, host orchestration is the main non-compute bottleneck; above it, network communication takes over.
  • Serial Admission is a Silent Killer: In centralized systems, admitting 2,048 requests one-by-one can take a full second. LoCoJAX parallelizes this across hosts, reducing the time to under 0.06 seconds.
  • Colocation vs. Disaggregation: While disaggregation is a popular trend for large-model RL, the authors found that for SLMs, colocation is usually the better default. Disaggregation only wins when the rollout phase heavily dominates the step and is given the lion's share of hardware resources.

Key Results

  • Massive Speedups: On a Qwen3-0.6B model, LoCoJAX-CO was 1.3–3.6× faster per step than a tuned Pathways baseline across various TPU configurations (8 to 64 chips).
  • Efficiency Gains: On the GSM8K benchmark, LoCoJAX running on just 8 TPU v7x chips completed an RL step faster than the Pathways baseline running on 64 chips.
  • Scaling: In large-scale experiments (256 chips) on NuminaMath-CoT, the disaggregated mode (LoCoJAX-DA) provided a 15% improvement over the colocated mode by carefully balancing host allocation (giving 75% of hosts to rollout).
Figure 6: Performance comparison across different chip counts and workloads.

Limitations and Future Work

  • Closed-Source Baselines: The Pathways runtime is closed-source, which limited the authors' ability to tune the baseline as deeply as they tuned LoCoJAX.
  • Model Diversity: While the scaling study covered models up to 405B, the rigorous system comparisons focused primarily on the Qwen3-0.6B model.
  • Memory Constraints: The current implementation of LoCoJAX's trainer does not support gradient accumulation, which can lead to "out of memory" errors on very small chip counts for certain workloads.
  • Future Directions: The authors suggest that future work could combine LoCoJAX's coordination benefits with off-policy sampling techniques (like RAPID) to further reduce the frequency of expensive switches between inference and training.

Summary updated

BibTeX
@misc{chen2026locojax,
  author = {Loki Chen and Gregory B. Rehm and Yang Song and Hongye Xie and Ming Lei and Chongyang Bai and Bob Kamma and Mingfu Liang and Kavosh Asadi and Yufei Li and Xi Liu and Jay Xu and Rui Liu and Maziar Sanjabi and Luke Simon and Hamed Firooz},
  title = {{LoCoJAX: Host-Local Coordination for Small-Model RL on TPUs}},
  year = {2026},
  eprint = {2611.16301},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.16301},
}
Figure