Skip to main content
QUICK REVIEW

[Paper Review] Quasi-Global Momentum: Accelerating Decentralized Deep Learning on Heterogeneous Data

Tao Lin, Sai Praneeth Karimireddy|arXiv (Cornell University)|Feb 9, 2021
Privacy-Preserving Technologies in DataComputer Science80 references14 citations
TL;DR

This paper proposes Quasi-Global Momentum (QG-DSGDm-N), a novel momentum-based decentralized optimization method that stabilizes training on heterogeneous data by locally approximating global momentum without extra communication. It achieves 1–20% higher test accuracy than prior methods across CIFAR-10, ImageNet, and AG News under high data non-i.i.d. settings, significantly improving generalization in decentralized deep learning.

ABSTRACT

Decentralized training of deep learning models is a key element for enabling data privacy and on-device learning over networks. In realistic learning scenarios, the presence of heterogeneity across different clients' local datasets poses an optimization challenge and may severely deteriorate the generalization performance. In this paper, we investigate and identify the limitation of several decentralized optimization algorithms for different degrees of data heterogeneity. We propose a novel momentum-based method to mitigate this decentralized training difficulty. We show in extensive empirical experiments on various CV/NLP datasets (CIFAR-10, ImageNet, and AG News) and several network topologies (Ring and Social Network) that our method is much more robust to the heterogeneity of clients' data than other existing methods, by a significant improvement in test performance ($1\% \!-\! 20\%$). Our code is publicly available.

Motivation & Objective

  • To address the challenge of poor generalization and unstable convergence in decentralized deep learning due to data heterogeneity across clients.
  • To investigate why existing decentralized SGD with momentum (DSGDm) fails under high data non-i.i.d. conditions.
  • To develop a communication-efficient method that stabilizes optimization and improves generalization performance on heterogeneous datasets.
  • To demonstrate that quasi-global momentum outperforms existing decentralized methods across diverse network topologies and data distribution regimes.

Proposed method

  • Proposes Quasi-Global (QG) momentum as a local approximation of global momentum, enabling improved optimization stability without global synchronization.
  • Introduces QG-DSGDm-N, a variant that maintains local momentum buffers while approximating the global momentum direction using neighbor information.
  • Uses a modified update rule that incorporates both local gradients and a consensus-based momentum estimate to stabilize training trajectories.
  • Employs a local approximation of the global momentum vector using neighboring model states, avoiding the high communication cost of full global synchronization.
  • Applies the method to both SGD and Adam optimizers, validating its effectiveness across different optimization regimes.
  • Empirically tunes learning rates and momentum factors to ensure robust performance across diverse experimental settings.

Experimental results

Research questions

  • RQ1How does data heterogeneity impact the convergence and generalization performance of decentralized SGD with momentum?
  • RQ2Why does local momentum fail to improve generalization in highly non-i.i.d. data settings?
  • RQ3Can a local approximation of global momentum improve optimization stability and test accuracy without increasing communication overhead?
  • RQ4How does QG-DSGDm-N compare to state-of-the-art decentralized methods like D² and gradient tracking under heterogeneous data?
  • RQ5Does quasi-global momentum generalize across different network topologies and model architectures?

Key findings

  • QG-DSGDm-N achieves 91.28% top-1 accuracy on CIFAR-10 with α=1 (moderate non-i.i.d.), outperforming DSGDm-N (89.98%) and DSGD (88.88%) under the same conditions.
  • On highly non-i.i.d. settings (α=0.1), QG-DSGDm-N reaches 82.20% accuracy, a 7.65% improvement over DSGD (74.55%) and 4.72% over DSGDm-N (77.48%).
  • On a larger ring topology (n=32), QG-DSGDm-N achieves 85.19% accuracy (α=0.1), significantly outperforming DSGD (77.56%) and DSGDm-N (80.59%).
  • In NLP tasks with DistilBERT on AG News, QG-DAdam achieves 88.33% accuracy (α=0.1), a 1.04% gain over DAdam (87.29%).
  • The method consistently improves performance across diverse datasets (CIFAR-10, ImageNet, AG News), network topologies (ring, social network), and non-i.i.d. degrees (α=10, 1, 0.1).
  • Ablation studies confirm that QG momentum provides a significant performance boost over local momentum, synchronized buffers, or gradient sharing, without additional communication cost.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.