Distributed MoE Pretraining with DiLoCo: Routing Stability Under Infrequent Synchronization
원문 초록
Training a large model across many machines is often limited by how much those machines can talk to each other. Low-communication methods such as DiLoCo let each worker train on its own for many steps and only then average what the workers have learned. Mixture-of-Experts (MoE) models look like a risky fit for this: each token visits only a few experts, so workers might drift apart in which experts they use, and averaging might upset load balance and expert roles. We pretrain a small MoE language model (78M parameters, 17M active per token) on FineWeb-Edu with DiLoCo-style data parallelism across 2 or 4 workers, sync intervals of 16 to 256 steps, two load-balancing methods, and several sync splits across the router, MoE layers, and shared layers, compared against a dense model of the same active size (35 runs in all). Four findings stand out. (1) The extra cost an MoE pays under DiLoCo beyond a dense model is small (0.02-0.03 in validation loss), does not grow with the sync interval, and holds across seeds, balancing methods, and outer learning rates. (2) Routers stay aligned: late in training, workers choose the same experts 94-97% of the time, and averaging keeps load balance and expert specialization intact. (3) The real danger is letting the MoE layers sync less often than the shared layers. Though experts hold about 72% of parameters, this raises validation loss by up to 0.95 over syncing everything together, and does worse than syncing everything less often while sending more data. (4) Fixes aimed at the router (syncing it more often, weighting experts by token counts, or changing how the balancing bias is merged) make no measurable difference. The practical rule is simple: keep the MoE layers in lockstep with the shared layers, and save bandwidth by syncing everything less often.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2612.01273v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.