Skip to main content
QUICK REVIEW

[Paper Review] The Quenching-Activation Behavior of the Gradient Descent Dynamics for Two-layer Neural Network Models

Chao Ma, Lei Wu|arXiv (Cornell University)|Jun 25, 2020
Neural Networks and ApplicationsComputer Science23 references6 citations
TL;DR

This paper investigates gradient descent dynamics in two-layer neural networks under Xavier-like initialization, revealing a quenching-activation phase transition: early quenching of most neurons followed by activation of a few dominant neurons, which enables implicit regularization and improved generalization. This behavior contrasts with mean-field scaling, where all neurons evolve uniformly and no such phase transition occurs.

ABSTRACT

A numerical and phenomenological study of the gradient descent (GD) algorithm for training two-layer neural network models is carried out for different parameter regimes when the target function can be accurately approximated by a relatively small number of neurons. It is found that for Xavier-like initialization, there are two distinctive phases in the dynamic behavior of GD in the under-parametrized regime: An early phase in which the GD dynamics follows closely that of the corresponding random feature model and the neurons are effectively quenched, followed by a late phase in which the neurons are divided into two groups: a group of a few "activated" neurons that dominate the dynamics and a group of background (or "quenched") neurons that support the continued activation and deactivation process. This neural network-like behavior is continued into the mildly over-parametrized regime, where it undergoes a transition to a random feature-like behavior. The quenching-activation process seems to provide a clear mechanism for "implicit regularization". This is qualitatively different from the dynamics associated with the "mean-field" scaling where all neurons participate equally and there does not appear to be qualitative changes when the network parameters are changed.

Motivation & Objective

  • Understand the implicit regularization mechanisms in two-layer neural networks during gradient descent training.
  • Investigate how training dynamics differ between conventional and mean-field scaling in over-parametrized and under-parametrized regimes.
  • Explore whether the quenching-activation process in conventional scaling provides a mechanism for improved generalization beyond random feature models.
  • Characterize the transition between neural network-like and random feature-like behavior as network width increases.
  • Clarify the role of initialization (e.g., Xavier) in shaping the trajectory and convergence behavior of gradient descent in two-layer networks.

Proposed method

  • Numerical simulation of gradient descent on two-layer neural networks with ReLU activation for target functions in the Barron class.
  • Comparison of training dynamics under conventional scaling (no 1/m factor) versus mean-field scaling (with 1/m factor) for the same initialization.
  • Tracking neuron-level dynamics: outer layer weights, inner layer parameters, and their evolution over time.
  • Analysis of test error and generalization gap across varying network widths (m) and dataset sizes (n).
  • Use of one-to-one correspondence between conventional and mean-field trajectories via rescaling: ã = a/m, B̃ = mB.
  • Evaluation of path norm and Barron norm growth to assess implicit regularization effects.

Experimental results

Research questions

  • RQ1Does gradient descent in two-layer networks under conventional scaling exhibit a phase transition from quenching to activation of neurons?
  • RQ2How does the quenching-activation behavior differ from the mean-field scaling, where all neurons evolve uniformly?
  • RQ3Can the quenching-activation process serve as a mechanism for implicit regularization, preventing uncontrolled growth of path norms?
  • RQ4What is the transition point between NN-like and random feature-like behavior as network width increases?
  • RQ5Does the conventional scaling avoid the curse of dimensionality in generalization error, unlike mean-field scaling?

Key findings

  • In the under-parametrized regime, gradient descent exhibits two phases: an early quenching phase where most neurons are inactive, followed by a late phase with a few activated neurons dominating the dynamics.
  • The activated neurons are responsible for fitting the target function, while the quenched neurons support the dynamic process, enabling implicit regularization.
  • This quenching-activation mechanism leads to controlled growth of the path norm, which helps maintain good generalization performance.
  • In the mildly over-parametrized regime, the quenching-activation behavior persists before transitioning to random feature-like dynamics.
  • Under mean-field scaling, all neurons evolve significantly and the dynamics are smoother, but generalization performance degrades at m ~ n due to the curse of dimensionality.
  • The one-to-one correspondence between conventional and mean-field trajectories shows that the difference in dynamics arises from the initial parameter scaling, not the underlying optimization.

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.