Skip to main content
QUICK REVIEW

[Paper Review] At Stability's Edge: How to Adjust Hyperparameters to Preserve Minima Selection in Asynchronous Training of Neural Networks?

Niv Giladi, Mor Shpigel Nacson|arXiv (Cornell University)|Apr 30, 2020
Stochastic Gradient Optimization TechniquesComputer Science28 references5 citations
TL;DR

This paper proposes a theoretical framework to preserve minima selection in asynchronous stochastic gradient descent (ASGD) by adjusting learning rates and momentum in response to training delay. It derives closed-form rules showing that for high delays, the learning rate must scale inversely with delay to maintain the same set of accessible minima, and recommends disabling or modifying momentum for stability.

ABSTRACT

Background: Recent developments have made it possible to accelerate neural networks training significantly using large batch sizes and data parallelism. Training in an asynchronous fashion, where delay occurs, can make training even more scalable. However, asynchronous training has its pitfalls, mainly a degradation in generalization, even after convergence of the algorithm. This gap remains not well understood, as theoretical analysis so far mainly focused on the convergence rate of asynchronous methods. Contributions: We examine asynchronous training from the perspective of dynamical stability. We find that the degree of delay interacts with the learning rate, to change the set of minima accessible by an asynchronous stochastic gradient descent algorithm. We derive closed-form rules on how the learning rate could be changed, while keeping the accessible set the same. Specifically, for high delay values, we find that the learning rate should be kept inversely proportional to the delay. We then extend this analysis to include momentum. We find momentum should be either turned off, or modified to improve training stability. We provide empirical experiments to validate our theoretical findings.

Motivation & Objective

  • Understand why asynchronous training degrades generalization despite convergence.
  • Investigate how delay and learning rate jointly affect the set of minima accessible to ASGD.
  • Develop theoretical rules to maintain the same minima selection under varying delay conditions.
  • Extend analysis to include momentum and determine its impact on training stability in asynchronous settings.

Proposed method

  • Analyze asynchronous training through the lens of dynamical stability, modeling the effect of delay on gradient updates.
  • Derive a closed-form relationship showing that the learning rate should scale inversely with delay to preserve the accessible set of minima.
  • Extend the analysis to include momentum, identifying conditions under which momentum destabilizes training.
  • Propose a modified momentum schedule or its deactivation to improve stability under high delay.
  • Validate theoretical predictions with empirical experiments on neural network training under varying delay and learning rate settings.

Experimental results

Research questions

  • RQ1How does delay in asynchronous training affect the set of minima that stochastic gradient descent can access?
  • RQ2What learning rate adjustment rule preserves the same minima selection under increasing delay?
  • RQ3How does momentum influence training stability in asynchronous settings, and when should it be modified or disabled?
  • RQ4Can theoretical predictions on learning rate scaling with delay be empirically validated in neural network training?

Key findings

  • The learning rate must scale inversely with delay to preserve the same set of accessible minima in asynchronous training.
  • For high delay values, maintaining the inverse proportionality between learning rate and delay ensures stable minima selection.
  • Momentum should be either disabled or modified to prevent destabilization in high-delay asynchronous training.
  • Empirical results confirm that the proposed learning rate scaling rule maintains generalization performance under varying delay levels.

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.