DPA: Decentralized Primal Averaging with Quasi-Global Momentum for Highly Heterogeneous Data
Diyako Ghaderyan, Stefan Werner
Abstract
Decentralized training of deep learning models keeps training data local and supports on-device learning over networks. In realistic scenarios, heterogeneity across agents' local data poses an optimization challenge and can severely degrade test accuracy, especially on sparse communication graphs. Building on recent advances in centralized primal averaging, we propose Decentralized Primal Averaging (DPA), a decentralized learning algorithm that combines primal averaging with a local quasi-global momentum buffer. DPA maintains three coupled sequences for optimization, gradient evaluation, and output averaging, while using consecutive mixed iterates to construct a network-aware momentum direction without transmitting an auxiliary tracking variable. For smooth nonconvex objectives, we establish a convergence bound for DPA and identify conditions for linear speedup in the number of agents for sufficiently many iterations. We also introduce DPA-1G, a variant that uses one communication round per iteration and matches the per-iteration communication cost of DSGD-style baselines. Experiments following the GUT decentralized image-classification benchmark show that DPA compares favorably with DSGD, gradient tracking, QG-DSGDm, momentum tracking, and QG-GUTm across datasets, architectures, topologies, and heterogeneity levels, with the largest gains under high heterogeneity on sparse rings. At the same total communication cost, both DPA variants achieve higher mean test accuracy than the best baseline on CIFAR-10 and CIFAR-100 with ResNet-20. Our code is publicly available.
Create a lesson
Related papers
How Network Topology and Data Heterogeneity Shape Decentralized Learning: A Spectral Analysis
Shared title terminology · Luigi Palmieri, Lorenzo Valerio, Chiara Boldrini et al.
Beyond Sample Hardness: Adaptive Data Selection through Learning Dynamics
Shared title terminology · Hai Gan, Suorong Yang, Guang Li et al.
Breaking the Barrier of Hard Samples: A Data-Centric Approach to Synthetic Data for Medical Tasks
Shared title terminology · Maynara Donato de Souza, Cleber Zanchettin
THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models
Shared title terminology · Aasheesh Singh, Vishal Vaddina
Federated and Balanced k-means: Communication Efficiency, Privacy, and Heterogeneity
Shared title terminology · Feiteng Nie, Shengkun Zhu, Sheng Wang et al.
A Sparsity Analysis of Traffic Forecasting Architectures: How Much Missing Data is Too Much?
Shared title terminology · Mohamed Hamad, Bilal Mutahir, Mohamed Mabrok et al.