Skip to main content
QUICK REVIEW

[Paper Review] Linear Range in Gradient Descent

Angxiu Ni, Chaitanya Talnikar|arXiv (Cornell University)|May 11, 2019
Neural Networks and ApplicationsComputer Science17 references3 citations
TL;DR

This paper introduces 'linear range'—a new criterion measuring the validity of gradient descent steps by quantifying how linearly perturbations in network parameters affect states. It proposes linGrad, an adaptive SGD algorithm that selects learning rates such that all minibatches remain within a user-defined linear range, achieving fast convergence comparable to optimal constant learning rates on MNIST and CIFAR-10 with ResNet-18.

ABSTRACT

This paper defines linear range as the range of parameter perturbations which lead to approximately linear perturbations in the states of a network. We compute linear range from the difference between actual perturbations in states and the tangent solution. Linear range is a new criterion for estimating the effectivenss of gradients and thus having many possible applications. In particular, we propose that the optimal learning rate at the initial stages of training is such that parameter changes on all minibatches are within linear range. We demonstrate our algorithm on two shallow neural networks and a ResNet.

Motivation & Objective

  • To define a new criterion—linear range—for evaluating the quality of gradient descent steps in neural networks.
  • To address the challenge of selecting optimal learning rates in stochastic gradient descent, particularly during early training stages.
  • To develop a practical algorithm, linGrad, that automatically selects learning rates based on linear range constraints.
  • To demonstrate that maintaining stepsizes within linear range leads to faster convergence than standard SGD with suboptimal learning rates.
  • To validate linGrad across diverse architectures, including shallow networks and deep ResNet-18, on MNIST and CIFAR-10.

Proposed method

  • Defines linear range as the range of parameter perturbations where actual state perturbations are approximately linear relative to the tangent (first-order) approximation.
  • Computes nonlinear measurement as the relative difference between finite-difference state perturbations and tangent solution predictions.
  • Uses the tangent equation (Eq. 4) to compute linearized state perturbations via forward propagation of parameter perturbations.
  • Applies finite differences with a small stepsize (δ = 1e-6) to compute actual state perturbations for nonlinear measurement.
  • Implements linGrad by adjusting the learning rate ψ such that the nonlinear measurement remains below a threshold ε* across all minibatches.
  • Integrates linGrad with standard SGD by dynamically scaling ψ to ensure all minibatches stay within ε*-linear range.

Experimental results

Research questions

  • RQ1Can linear range serve as a reliable criterion for evaluating the quality of gradient descent steps in neural networks?
  • RQ2Does constraining parameter perturbations to remain within linear range lead to faster convergence in training?
  • RQ3How robust is the linGrad algorithm to variations in minibatch size and choice of ε*?
  • RQ4Can linGrad achieve convergence speeds comparable to optimal constant learning rates without manual tuning?
  • RQ5Does linGrad automatically reduce learning rates during training, and does this behavior align with known optimal decay schemes?

Key findings

  • linGrad achieves convergence speeds comparable to SGD with optimally tuned constant learning rates on MNIST and CIFAR-10.
  • The optimal ε* for linGrad lies in the range 0.3 ≤ ε* ≤ 1.0, corresponding to stepsize differences less than an order of magnitude.
  • For MNIST, linGrad with ε* = 0.3, 0.5, or 0.8 converged faster than SGD with constant learning rate ψ = 100, which failed to converge.
  • On CIFAR-10 with ResNet-18, linGrad with ε* = 0.6 or 0.8 matched the convergence speed of optimal SGD, and stepsizes automatically decreased during training.
  • linGrad performance was robust across different minibatch sizes, indicating stability and generalization across training configurations.
  • The nonlinear measurement computed via finite differences and tangent solutions effectively captures the nonlinearity of parameter perturbations in deep networks.

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.