Skip to main content
QUICK REVIEW

[Paper Review] A Distributed Hierarchical SGD Algorithm with Sparse Global Reduction

Fan Zhou, Guojing Cong|arXiv (Cornell University)|Mar 12, 2019
Stochastic Gradient Optimization TechniquesComputer Science27 references11 citations
TL;DR

This paper proposes Hier-AVG, a distributed hierarchical SGD algorithm that reduces communication overhead by introducing local averaging among neighboring workers before infrequent global parameter averaging. The method achieves standard convergence rates for non-convex problems, enables faster training with better test accuracy than K-AVG, and effectively trades local for global communication reductions in large-scale distributed learning systems.

ABSTRACT

Reducing communication in training large-scale machine learning applications on distributed platform is still a big challenge. To address this issue, we propose a distributed hierarchical averaging stochastic gradient descent (Hier-AVG) algorithm with infrequent global reduction by introducing local reduction. As a general type of parallel SGD, Hier-AVG can reproduce several popular synchronous parallel SGD variants by adjusting its parameters. We show that Hier-AVG with infrequent global reduction can still achieve standard convergence rate for non-convex optimization problems. In addition, we show that more frequent local averaging with more participants involved can lead to faster training convergence. By comparing Hier-AVG with another popular distributed training algorithm K-AVG, we show that through deploying local averaging with fewer number of global averaging, Hier-AVG can still achieve comparable training speed while frequently get better test accuracy. This indicates that local averaging can serve as an alternative remedy to effectively reduce communication overhead when the number of learners is large. Experimental results of Hier-AVG with several state-of-the-art deep neural nets on CIFAR-10 and IMAGENET-1K are presented to validate our analysis and show its superiority.

Motivation & Objective

  • To address high communication costs in large-scale distributed machine learning by reducing the frequency of global parameter averaging.
  • To develop a scalable, hierarchical SGD framework that maintains convergence guarantees while minimizing global communication.
  • To demonstrate that local averaging can effectively substitute for frequent global reductions without sacrificing training speed or accuracy.
  • To provide theoretical bounds on convergence for non-convex optimization under hierarchical averaging.
  • To empirically validate Hier-AVG’s superiority over K-AVG on CIFAR-10 and ImageNet-1K using state-of-the-art deep neural networks.

Proposed method

  • Hier-AVG introduces a hierarchical communication structure where workers perform multiple local averaging steps with their immediate neighbors before global averaging.
  • The algorithm uses bulk-synchronous parallelism with infrequent global reductions, reducing global communication overhead.
  • Local averaging is performed over a tree-like or cluster-based topology, enabling efficient gradient exchange within local groups.
  • The method controls gradient staleness by interspersing local and global averaging, ensuring stability and convergence.
  • Theoretical analysis derives non-asymptotic bounds on expected squared gradient norms under various metrics, showing convergence to standard rates.
  • The framework generalizes several existing parallel SGD variants through parameter tuning, including K-AVG and ASGD.

Experimental results

Research questions

  • RQ1Can infrequent global averaging in a hierarchical SGD framework still achieve standard convergence rates for non-convex optimization problems?
  • RQ2How does increasing local averaging frequency with more participants affect training convergence speed and test accuracy?
  • RQ3Can local averaging effectively reduce global communication frequency without degrading training performance?
  • RQ4How does Hier-AVG compare to K-AVG in terms of training speed and test accuracy under the same global reduction frequency?
  • RQ5What is the theoretical relationship between local averaging structure, global reduction frequency, and convergence bounds?

Key findings

  • Hier-AVG with infrequent global averaging achieves standard convergence rates for non-convex optimization problems, as proven by derived non-asymptotic bounds on expected squared gradient norms.
  • More frequent local averaging with larger local groups leads to faster training convergence and consistently better test accuracy than K-AVG.
  • Hier-AVG maintains comparable training speed to K-AVG while achieving better test accuracy by reducing global communication frequency through effective local averaging.
  • Theoretical analysis shows that the training speed of Hier-AVG improves with more frequent local averaging and increased local group size.
  • Empirical results on CIFAR-10 and ImageNet-1K demonstrate that Hier-AVG outperforms K-AVG in test accuracy and communication efficiency across multiple deep neural network architectures.
  • The bound analysis confirms that Hier-AVG’s convergence performance is superior to K-AVG when local averaging is used, especially under high-communication regimes.

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.