Skip to main content
QUICK REVIEW

[Paper Review] Finite Depth and Width Corrections to the Neural Tangent Kernel

Boris Hanin, Mihai Nica|arXiv (Cornell University)|Sep 13, 2019
Stochastic Gradient Optimization TechniquesComputer Science25 references21 citations
TL;DR

This paper derives exact finite-depth and finite-width corrections to the Neural Tangent Kernel (NTK) in ReLU networks, showing that both mean and variance scale exponentially with the depth-to-width ratio. The key finding is that even in the infinite overparameterization limit, the NTK remains non-deterministic and evolves during training, enabling data-dependent feature learning in the lazy training regime.

ABSTRACT

We prove the precise scaling, at finite depth and width, for the mean and variance of the neural tangent kernel (NTK) in a randomly initialized ReLU network. The standard deviation is exponential in the ratio of network depth to width. Thus, even in the limit of infinite overparameterization, the NTK is not deterministic if depth and width simultaneously tend to infinity. Moreover, we prove that for such deep and wide networks, the NTK has a non-trivial evolution during training by showing that the mean of its first SGD update is also exponential in the ratio of network depth to width. This is sharp contrast to the regime where depth is fixed and network width is very large. Our results suggest that, unlike relatively shallow and wide networks, deep and wide ReLU networks are capable of learning data-dependent features even in the so-called lazy training regime.

Motivation & Objective

  • To understand the statistical behavior of the Neural Tangent Kernel (NTK) in finite-depth and finite-width ReLU networks, particularly how it deviates from the infinite-width limit.
  • To analyze the scaling of the NTK's mean and variance as depth and width vary, especially in the joint limit where both tend to infinity.
  • To investigate whether the NTK evolves during training in deep and wide networks, challenging the assumption of kernel freezing in the lazy training regime.
  • To quantify the first-order SGD update of the NTK, showing its dependence on the depth-to-width ratio.
  • To demonstrate that deep and wide ReLU networks can perform data-dependent feature learning even under lazy training, contrary to predictions from infinite-width theory.

Proposed method

  • Derives the exact expectation and variance of the NTK in a randomly initialized deep ReLU network using a diagrammatic expansion of weight and activation correlations.
  • Applies a layer-by-layer recursive analysis of path-wise gradients and their overlaps, modeling the NTK as a sum over paths in the computational graph.
  • Uses combinatorial counting of edge multisets and loop structures in path diagrams to compute moments of the NTK, incorporating higher-order cumulants via the fourth cumulant μ₄.
  • Introduces a weighted path counting scheme with weights depending on layer widths and depth, capturing the exponential scaling of fluctuations.
  • Employs asymptotic expansions in the large-width limit to isolate leading-order corrections to the NTK, including terms that depend on the depth-to-width ratio.
  • Analyzes the first SGD update of the NTK by computing the expectation of the gradient of the loss with respect to network parameters, showing its exponential dependence on depth and width.

Experimental results

Research questions

  • RQ1How do finite depth and width affect the mean and variance of the Neural Tangent Kernel in ReLU networks?
  • RQ2Does the NTK remain deterministic in the joint limit of infinite depth and width, or do fluctuations persist?
  • RQ3What is the scaling of the first SGD update of the NTK in deep and wide networks, and how does it depend on depth and width?
  • RQ4Can deep and wide ReLU networks perform data-dependent feature learning in the lazy training regime, despite the NTK being approximately frozen in the infinite-width limit?
  • RQ5What is the role of the depth-to-width ratio in determining the statistical behavior of the NTK and its evolution during training?

Key findings

  • The standard deviation of the NTK scales exponentially with the ratio of network depth to width, implying that the NTK remains random even in the infinite overparameterization limit.
  • The mean of the first SGD update of the NTK also scales exponentially with the depth-to-width ratio, indicating non-trivial evolution during training.
  • Finite-width corrections to the NTK are not negligible in deep and wide networks; they lead to a non-deterministic kernel even in the limit of large width.
  • The NTK's variance and update magnitude are exponentially sensitive to the depth-to-width ratio, suggesting that deep and wide networks can learn data-dependent features.
  • In contrast to the fixed-depth, large-width regime, where the NTK is approximately deterministic and frozen, deep and wide networks exhibit significant kernel variability and evolution.
  • The results imply that deep and wide ReLU networks are capable of feature learning in the lazy training regime, challenging the conventional view that such networks are purely kernel-like.

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.