Skip to main content
QUICK REVIEW

[Paper Review] Proportionate gradient updates with PercentDelta

Sami Abu-El-Haija|arXiv (Cornell University)|Aug 24, 2017
Tensor decomposition and applicationsMathematics10 references5 citations
TL;DR

This paper proposes PercentDelta, a gradient update rule that scales gradients proportionally to the L1-norm of each trainable tensor, ensuring all layers in a deep neural network train at the same relative speed. By normalizing gradients via the mean L1-norm of all tensors, PercentDelta achieves faster convergence and higher test accuracy on MNIST compared to SGD, Adam, AdaGrad, and LARS, even with a fixed training budget.

ABSTRACT

Deep Neural Networks are generally trained using iterative gradient updates. Magnitudes of gradients are affected by many factors, including choice of activation functions and initialization. More importantly, gradient magnitudes can greatly differ across layers, with some layers receiving much smaller gradients than others. causing some layers to train slower than others and therefore slowing down the overall convergence. We analytically explain this disproportionality. Then we propose to explicitly train all layers at the same speed, by scaling the gradient w.r.t. every trainable tensor to be proportional to its current value. In particular, at every batch, we want to update all trainable tensors, such that the relative change of the L1-norm of the tensors is the same, across all layers of the network, throughout training time. Experiments on MNIST show that our method appropriately scales gradients, such that the relative change in trainable tensors is approximately equal across layers. In addition, measuring the test accuracy with training time, shows that our method trains faster than other methods, giving higher test accuracy given same budget of training steps.

Motivation & Objective

  • To address the problem of disproportionate gradient magnitudes across layers in deep neural networks, which slows down overall training.
  • To formalize the phenomenon of disproportionate training by analyzing gradient flow in a 4-layer feedforward network using backpropagation.
  • To propose a method that explicitly equalizes the relative rate of change across all layers, regardless of initial weight magnitudes or activation functions.
  • To demonstrate empirically that proportionate training leads to faster convergence and higher test accuracy under fixed training budget.

Proposed method

  • The method scales each layer's gradient by dividing it by the mean L1-norm of all trainable tensors, ensuring proportional relative change across layers.
  • The update rule is defined as: $ \Delta W_j = \eta \cdot \gamma(t) \cdot \frac{\partial J}{\partial W_j} \cdot \frac{\|W_j\|_1}{\text{mean}(\|W_k\|_1)} $, where $ \|W_j\|_1 $ is the L1-norm of the j-th weight tensor.
  • The learning rate schedule $ \gamma(t) $ is linearly decaying, with a minimum threshold $ \beta $ to prevent divergence.
  • The approach is compatible with standard momentum and can be applied to any optimizer with minimal modification.
  • The method ensures that the relative change in the L1-norm of each tensor is approximately equal across all layers at every training step.
  • The algorithm is designed to be insensitive to hyperparameter choices as long as they are within reasonable bounds.

Experimental results

Research questions

  • RQ1Why do gradient magnitudes vary so significantly across layers in deep neural networks, and how does this affect training speed?
  • RQ2Can we explicitly enforce equal relative rate of change across all layers to improve training convergence?
  • RQ3Does proportionate gradient scaling lead to faster convergence and higher test accuracy compared to standard optimization methods?
  • RQ4In what model architectures does proportionate training provide the most benefit?
  • RQ5How robust is the proposed method to hyperparameter choices such as learning rate and decay schedule?

Key findings

  • PercentDelta achieves higher test accuracy than SGD, Adam, AdaGrad, and LARS on the MNIST dataset when trained for the same number of steps.
  • The method ensures that the relative change in the L1-norm of all trainable tensors is approximately equal across layers at every training step.
  • Experiments show that PercentDelta trains faster than baseline methods, reaching higher performance with the same training budget.
  • The algorithm is robust to hyperparameter choices of $ \eta $ and $ m $, as long as they are within reasonable ranges.
  • PercentDelta is compatible with momentum and can be integrated into existing optimizers with minimal changes.
  • The method is particularly beneficial in scenarios with imbalanced gradient contributions, such as joint embedding and network training, soft-attention models, and matrix factorization with global biases.

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.