Skip to main content
QUICK REVIEW

[Paper Review] Theoretical Analysis of Auto Rate-Tuning by Batch Normalization

Sanjeev Arora, Zhiyuan Li|arXiv (Cornell University)|Dec 10, 2018
Stochastic Gradient Optimization TechniquesComputer Science16 references37 citations
TL;DR

This paper provides theoretical justification for Batch Normalization's ability to auto-tune learning rates by showing that gradient descent with a fixed learning rate (e.g., 0.3) on scale-invariant parameters achieves a convergence rate of $T^{-1/2}$ to a stationary point, matching the optimal rate of well-tuned gradient descent. It further shows a $T^{-1/4}$ rate for stochastic gradient descent, demonstrating BN's implicit adaptation of effective learning rates without manual tuning.

ABSTRACT

Batch Normalization (BN) has become a cornerstone of deep learning across diverse architectures, appearing to help optimization as well as generalization. While the idea makes intuitive sense, theoretical analysis of its effectiveness has been lacking. Here theoretical support is provided for one of its conjectured properties, namely, the ability to allow gradient descent to succeed with less tuning of learning rates. It is shown that even if we fix the learning rate of scale-invariant parameters (e.g., weights of each layer with BN) to a constant (say, $0.3$), gradient descent still approaches a stationary point (i.e., a solution where gradient is zero) in the rate of $T^{-1/2}$ in $T$ iterations, asymptotically matching the best bound for gradient descent with well-tuned learning rates. A similar result with convergence rate $T^{-1/4}$ is also shown for stochastic gradient descent.

Motivation & Objective

  • To theoretically justify Batch Normalization's observed ability to reduce manual learning rate tuning in deep learning.
  • To analyze whether BN enables gradient descent to converge at optimal rates even with a fixed, suboptimal learning rate.
  • To formally define and separate scale-invariant and scale-variant parameters in neural networks.
  • To establish convergence rates for both full-batch and stochastic gradient descent under BN with fixed learning rates.
  • To validate the theoretical findings with experiments comparing BN with and without auto-tuning behavior.

Proposed method

  • Theoretical analysis partitions network parameters into scale-invariant (e.g., layer weights with BN) and scale-variant (e.g., γ, β) groups.
  • The paper proves that for scale-invariant parameters, a fixed learning rate leads to a $T^{-1/2}$ convergence rate to a stationary point under full-batch gradient descent.
  • For stochastic gradient descent, the convergence rate is shown to be $T^{-1/4}$, matching the best-known rate for tuned learning rates.
  • The analysis relies on the invariance of the loss to scaling of scale-invariant parameters, which causes the gradient to scale inversely with the parameter magnitude.
  • Experiments compare training with and without BN, using separate or unified learning rates, to isolate the auto-tuning effect.
  • A projection-based variant (Setting 2) removes adaptive learning rate behavior, enabling comparison with the standard BN setting (Setting 1).

Experimental results

Research questions

  • RQ1Can Batch Normalization enable gradient descent to achieve optimal convergence rates without manual learning rate tuning?
  • RQ2Does the convergence rate of gradient descent with fixed learning rates on scale-invariant parameters match that of well-tuned gradient descent?
  • RQ3How does BN’s auto-tuning behavior affect convergence and generalization in stochastic gradient descent?
  • RQ4What is the role of scale-invariance in enabling implicit learning rate adaptation under BN?
  • RQ5To what extent does BN’s auto-tuning behavior improve generalization compared to standard SGD with fixed learning rates?

Key findings

  • With a fixed learning rate of 0.3 on scale-invariant parameters, gradient descent achieves a convergence rate of $T^{-1/2}$ to a stationary point, matching the optimal rate of tuned gradient descent.
  • For stochastic gradient descent, the convergence rate is $T^{-1/4}$, which is the best-known rate for such methods with properly tuned learning rates.
  • Experiments confirm that BN enables convergence with large fixed learning rates, while training without BN or with projection-based adaptation fails to converge under the same conditions.
  • The test accuracy remains above 75% across all learning rates in the BN setting (Setting 1), while it drops significantly in the non-adaptive setting (Setting 2), indicating improved generalization.
  • The auto-tuning behavior of BN allows stable training with a wider range of learning rates, reducing the need for hyperparameter tuning.
  • The theoretical analysis is validated empirically: BN maintains performance under large learning rates, while models without BN or with fixed projection diverge.

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.