Data-parallel training relies on frequent gradient synchronization across workers. Standard DistributedDataParallel (DDP) synchronizes gradients at every iteration, making training sensitive to communication latency and network variability in geographically distributed environments. Periodic methods such as LocalSGD reduce synchronization frequency but rely mainly on parameter averaging. We study synchronization frequency as a systems parameter for communication-constrained distributed training and evaluate Controlled Periodic Data Parallelism (CPDP), a PyTorch-DDP-compatible strategy that alternates local updates with reconciliation combining gradient AllReduce and SlowMo parameter averaging. Experiments are conducted on Grid'5000 using intra-site clusters and a cross-site WAN deployment spanning Nancy and Sophia with 16.6 ms RTT. In the main WAN setting with fixed base learning rate eta_0 = 0.1 on ResNet-50/CIFAR-100, CPDP achieves the highest peak test accuracy among the evaluated configurations. At K = 2, it improves over DDP by 2.28 percentage points but requires more wall-clock time. At K = 4, it improves over DDP by 2.44 percentage points while reducing average wall-clock time by 13.8%. Direct profiling shows exposed synchronization time at K = 4 is roughly half that of DDP, supporting the timing component of the WAN accuracy-time trade-off, although it does not determine the cause of the accuracy difference. Experiments on ViT-S/CIFAR-100 and ResNet-50/TinyImageNet show that CPDP remains competitive with DDP and generally improves over LocalSGD. Sensitivity analyses further show that periodic synchronization depends on the interaction between learning rate, synchronization period, and stabilization. Overall, synchronization frequency is a practical control parameter for distributed training under communication constraints.
翻译:暂无翻译