Skip to main content
QUICK REVIEW

[Paper Review] Diagonal Rescaling For Neural Networks

Jean Lafond, Nicolas Vasilache|arXiv (Cornell University)|May 25, 2017
Stochastic Gradient Optimization TechniquesComputer Science10 references6 citations
TL;DR

This paper proposes a diagonal rescaling method for stochastic gradient descent in neural networks that normalizes unit activations via reparametrization, enabling efficient second-order optimization. It reveals two key insights: a principled explanation for RMSProp and fan-in stepsize scaling, and the critical role of fast curvature changes in training instability, explaining why batch normalization works and why standard second-order methods fail without adaptive curvature estimation.

ABSTRACT

We define a second-order neural network stochastic gradient training algorithm whose block-diagonal structure effectively amounts to normalizing the unit activations. Investigating why this algorithm lacks in robustness then reveals two interesting insights. The first insight suggests a new way to scale the stepsizes, clarifying popular algorithms such as RMSProp as well as old neural network tricks such as fanin stepsize scaling. The second insight stresses the practical importance of dealing with fast changes of the curvature of the cost.

Motivation & Objective

  • To develop a second-order stochastic gradient algorithm with zero computational overhead for neural networks using block-diagonal curvature approximation.
  • To investigate why the proposed algorithm lacks robustness despite strong theoretical performance.
  • To clarify the role of adaptive stepsize scaling in popular optimization methods like RMSProp and fan-in stepsize scaling.
  • To understand the impact of rapidly changing curvature on second-order optimization and its implications for batch normalization.
  • To provide a unified perspective on deep learning optimization techniques through the lens of curvature and normalization.

Proposed method

  • Reparametrizes fully connected layers using scale parameters αi, μi, and βj to normalize activations and decouple weight updates from input statistics.
  • Derives weight update rules in terms of βj²gj and αi²(xi−μi), enabling efficient computation with O(n+m) overhead per layer.
  • Applies block-diagonal approximation to the inverse Hessian to scale stepsizes based on local curvature, improving convergence speed.
  • Uses running averages of activation statistics to estimate curvature, but shows this can fail when curvature changes rapidly.
  • Proposes evaluating curvature on the current minibatch (as in batch normalization) to mitigate instability from fast curvature shifts.
  • Introduces a feedback loop in reparametrization that can destabilize training when statistics are poorly estimated.

Experimental results

Research questions

  • RQ1Why does a theoretically sound second-order stochastic gradient algorithm fail to converge robustly in practice?
  • RQ2How does diagonal rescaling clarify the behavior of RMSProp and fan-in stepsize scaling in neural network training?
  • RQ3What causes sudden divergence in second-order optimization when curvature estimates are outdated?
  • RQ4Why does batch normalization improve training stability compared to fixed curvature approximations?
  • RQ5Can adaptive curvature estimation on the current minibatch prevent instability in second-order optimization?

Key findings

  • The proposed diagonal rescaling algorithm performs well on small datasets but fails on large-scale ImageNet due to instability from rapidly changing curvature.
  • The instability arises because fixed running averages of activation statistics can become outdated, leading to incorrect reparametrization and disabled ReLU units.
  • Second-order methods assuming slowly changing curvature fail when the loss landscape has hyperbolic manifolds of constant loss, where small numerical noise causes large weight updates.
  • The algorithm's divergence is traced to the fact that curvature can change rapidly due to weight scaling invariance, especially under large stepsizes.
  • Evaluating curvature on the current minibatch—like batch normalization—significantly improves stability and performance.
  • The insights unify RMSProp, fan-in scaling, and batch normalization under a single framework of adaptive stepsize scaling and curvature estimation.

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.