Cross-region Model Training with Communication-Computation Overlapping and Delay Compensation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhu, Ying, Xu, Yang, Xu, Hongli, Liao, Yunming, Yao, Zhiwei, Huang, Liusheng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917997909639168
author Zhu, Ying
Xu, Yang
Xu, Hongli
Liao, Yunming
Yao, Zhiwei
Huang, Liusheng
author_facet Zhu, Ying
Xu, Yang
Xu, Hongli
Liao, Yunming
Yao, Zhiwei
Huang, Liusheng
contents Training large language models (LLMs) requires massive computational resources, often necessitating the aggregation of geographically distributed data centers (\ie, cross-region training). However, the high communication latency in wide-area networks severely degrades the efficiency of traditional distributed training. While methods like DiLoCo reduce communication frequency, they suffer from blocking synchronization. Streaming DiLoCo alleviates this issue via communication-computation overlapping but introduces update staleness and model inconsistency due to delayed global updates and partial synchronization. These factors impair convergence, especially when aggressive overlap is needed to mask high latency. We propose CoCoDC, a novel distributed training framework with communication-computation overlapping and delay compensation, to explicitly tackle these challenges. Within the CoCoDC framework, we specifically develop a novel Delay Compensation strategy based on Taylor expansion to effectively mitigate the staleness and an Adaptive Transmission strategy that dynamically schedules model fragment synchronization to optimize bandwidth usage and accelerate convergence. Extensive experiments highlight the superior performance of CoCoDC over both DiLoCo and Streaming DiLoCo regarding final accuracy and training speed. Specifically, CoCoDC reduces the training steps needed to reach a comparable perplexity by up to 21.0% compared to Streaming DiLoCo. Our work provides an effective solution for scalable and efficient cross-region LLM training.
format Preprint
id arxiv_https___arxiv_org_abs_2504_17672
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Cross-region Model Training with Communication-Computation Overlapping and Delay Compensation
Zhu, Ying
Xu, Yang
Xu, Hongli
Liao, Yunming
Yao, Zhiwei
Huang, Liusheng
Distributed, Parallel, and Cluster Computing
Training large language models (LLMs) requires massive computational resources, often necessitating the aggregation of geographically distributed data centers (\ie, cross-region training). However, the high communication latency in wide-area networks severely degrades the efficiency of traditional distributed training. While methods like DiLoCo reduce communication frequency, they suffer from blocking synchronization. Streaming DiLoCo alleviates this issue via communication-computation overlapping but introduces update staleness and model inconsistency due to delayed global updates and partial synchronization. These factors impair convergence, especially when aggressive overlap is needed to mask high latency. We propose CoCoDC, a novel distributed training framework with communication-computation overlapping and delay compensation, to explicitly tackle these challenges. Within the CoCoDC framework, we specifically develop a novel Delay Compensation strategy based on Taylor expansion to effectively mitigate the staleness and an Adaptive Transmission strategy that dynamically schedules model fragment synchronization to optimize bandwidth usage and accelerate convergence. Extensive experiments highlight the superior performance of CoCoDC over both DiLoCo and Streaming DiLoCo regarding final accuracy and training speed. Specifically, CoCoDC reduces the training steps needed to reach a comparable perplexity by up to 21.0% compared to Streaming DiLoCo. Our work provides an effective solution for scalable and efficient cross-region LLM training.
title Cross-region Model Training with Communication-Computation Overlapping and Delay Compensation
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2504.17672