arXiv:2611.16301v3 cs.LG

TPU에서의 효율적인 소형 모델 강화학습을 위한 로컬 조정

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 외 1명

제출 2026-11-12

한국어 초록

강화학습(RL)은 점점 더 소형 언어 모델을 대상으로 하고 있으며, 이러한 워크로드를 여러 가속기에서 효율적으로 실행하려면 효과적인 조정이 필요하다. TPU에서 Pathways 기반 RL은 단일 컨트롤러를 사용하여 호스트 간 연산을 조정한다. 이 실행 모델은 대형 모델에는 효과적이지만, 소형 모델이 짧은 연산을 반복적으로 호출할 때는 조정에 드는 연산 비용을 상쇄하기가 더 어렵다. 이러한 연산 비용을 규명하기 위해 디코딩 중심 워크로드에서 TPU v7x 상의 0.6B~405B 파라미터 밀집 모델을 스윕하고, 모델 크기에 따라 호스트 및 네트워크 연산 오버헤드가 어떻게 달라지는지 측정한다. 0.6B에서는 호스트 오케스트레이션이 스텝 시간의 36%, 네트워크 통신이 2%를 차지하는 반면, 대형 모델에서는 추정된 네트워크 연산 비용이 비연산 시간을 지배한다. 이러한 발견에 따라 각 TPU 호스트에서 로컬 롤아웃과 보상 처리를 수행하고 전역 학습은 동기식으로 수행하는 Local Coordination JAX(LoCoJAX)를 제안한다. Qwen3-0.6B에서 세 가지 워크로드와 8~64개의 TPU v7x 칩에 대해 조정 및 최적화된 Pathways 기준선과 통제 비교한 결과, 공존 모드(LoCoJAX-CO)는 스텝당 1.3~3.6배 빠르며, GSM8K에서는 8개 칩에서 한 스텝을 완료하는 속도가 Pathways의 64개 칩보다 빠르다. 마지막으로 Ray가 관리하는 분리 모드(LoCoJAX-DA)는 별도의 호스트에서 롤아웃과 학습을 중첩시키며, 배치 실험은 이러한 중첩이 장치 분할과 가중치 전송의 비용을 상쇄하는 조건을 규명한다. 이는 롤아웃이 스텝을 지배하고 대부분의 호스트를 할당받을 때에 한한다. 256개 칩의 NuminaMath-CoT에서 롤아웃에 호스트의 75%를 할당하면 LoCoJAX-CO 대비 스텝 시간이 약 15% 단축된다.

원문 초록

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.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2611.16301v3제출 시각 미확인
  2. arXiv:2611.16301v2제출 시각 미확인
  3. arXiv:2611.16301v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.