Skip to main content
QUICK REVIEW

[Paper Review] Gradient Scheduling with Global Momentum for Non-IID Data Distributed Asynchronous Training

Chengjie Li, Ruixuan Li|arXiv (Cornell University)|Feb 21, 2019
Stochastic Gradient Optimization TechniquesComputer Science31 references10 citations
TL;DR

This paper proposes Gradient Scheduling with Global Momentum (GSGM), a novel algorithm for distributed asynchronous training under non-IID data conditions. By combining gradient scheduling with global momentum and local averaging, GSGM stabilizes training on edge-distributed, non-IID data, achieving a 20% improvement in training stability on CIFAR-10 and Fashion-MNIST, and a 37% improvement on CIFAR-100 under high-scale distributed settings, with convergence maintained even at 30 nodes.

ABSTRACT

Distributed asynchronous offline training has received widespread attention in recent years because of its high performance on large-scale data and complex models. As data are distributed from cloud-centric to edge nodes, a big challenge for distributed machine learning systems is how to handle native and natural non-independent and identically distributed (non-IID) data for training. Previous asynchronous training methods do not have a satisfying performance on non-IID data because it would result in that the training process fluctuates greatly which leads to an abnormal convergence. We propose a gradient scheduling algorithm with partly averaged gradients and global momentum (GSGM) for non-IID data distributed asynchronous training. Our key idea is to apply global momentum and local average to the biased gradient after scheduling, in order to make the training process steady. Experimental results show that for non-IID data training under the same experimental conditions, GSGM on popular optimization algorithms can achieve a 20% increase in training stability with a slight improvement in accuracy on Fashion-Mnist and CIFAR-10 datasets. Meanwhile, when expanding distributed scale on CIFAR-100 dataset that results in sparse data distribution, GSGM can perform a 37% improvement on training stability. Moreover, only GSGM can converge well when the number of computing nodes grows to 30, compared to the state-of-the-art distributed asynchronous algorithms. At the same time, GSGM is robust to different degrees of non-IID data.

Motivation & Objective

  • Address the challenge of training deep learning models on non-IID data in distributed, edge-based systems.
  • Overcome the instability and poor convergence seen in existing asynchronous training methods under non-IID data distributions.
  • Develop a scalable and robust optimization algorithm that maintains performance as the number of computing nodes increases.
  • Ensure convergence and stability across varying degrees of data skew in distributed edge environments.

Proposed method

  • Introduce gradient scheduling to reorganize and balance gradients before update, reducing bias from non-IID data.
  • Apply global momentum to the scheduled gradients to smooth optimization trajectories and reduce fluctuations.
  • Use local averaging of gradients within each worker to further reduce variance and stabilize updates.
  • Combine scheduled gradients with global momentum to create a stable, scalable training process for asynchronous systems.
  • Design the algorithm to be robust to varying levels of data skew and increasing node counts.
  • Integrate the method into standard optimization frameworks without requiring architectural changes.

Experimental results

Research questions

  • RQ1Can gradient scheduling combined with global momentum improve training stability for non-IID data in distributed asynchronous training?
  • RQ2How does GSGM perform under increasing scale, particularly when data become sparse across nodes?
  • RQ3Does GSGM maintain convergence when the number of computing nodes grows to 30, unlike state-of-the-art methods?
  • RQ4How does GSGM compare to existing algorithms in terms of accuracy and stability across different levels of data non-IIDness?
  • RQ5Can GSGM achieve consistent performance improvements across diverse datasets like Fashion-MNIST, CIFAR-10, and CIFAR-100?

Key findings

  • GSGM achieves a 20% improvement in training stability on Fashion-MNIST and CIFAR-10 under the same experimental conditions compared to baseline methods.
  • On CIFAR-100 with expanded distributed scale leading to sparse data, GSGM shows a 37% improvement in training stability.
  • GSGM is the only algorithm among state-of-the-art methods that achieves convergence when the number of computing nodes increases to 30.
  • GSGM maintains stable training performance across different degrees of non-IID data, demonstrating robustness to data skew.
  • The method achieves a slight improvement in accuracy alongside significant gains in stability, indicating a balanced optimization process.
  • The integration of gradient scheduling with global momentum effectively mitigates the instability caused by biased gradients in non-IID settings.

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.