English

MLPs at the EOC: Concentration of the NTK

Machine Learning 2025-01-27 v1 Machine Learning

Abstract

We study the concentration of the Neural Tangent Kernel (NTK) Kθ:Rm0×Rm0Rml×mlK_\theta : \mathbb{R}^{m_0} \times \mathbb{R}^{m_0} \to \mathbb{R}^{m_l \times m_l} of ll-layer Multilayer Perceptrons (MLPs) N:Rm0×ΘRmlN : \mathbb{R}^{m_0} \times \Theta \to \mathbb{R}^{m_l} equipped with activation functions ϕ(s)=as+bs\phi(s) = a s + b \vert s \vert for some a,bRa,b \in \mathbb{R} with the parameter θΘ\theta \in \Theta being initialized at the Edge Of Chaos (EOC). Without relying on the gradient independence assumption that has only been shown to hold asymptotically in the infinitely wide limit, we prove that an approximate version of gradient independence holds at finite width. Showing that the NTK entries Kθ(xi1,xi2)K_\theta(x_{i_1},x_{i_2}) for i1,i2[1:n]i_1,i_2 \in [1:n] over a dataset {x1,,xn}Rm0\{x_1,\cdots,x_n\} \subset \mathbb{R}^{m_0} concentrate simultaneously via maximal inequalities, we prove that the NTK matrix K(θ)=[1nKθ(xi1,xi2):i1,i2[1:n]]Rnml×nmlK(\theta) = [\frac{1}{n} K_\theta(x_{i_1},x_{i_2}) : i_1,i_2 \in [1:n]] \in \mathbb{R}^{nm_l \times nm_l} concentrates around its infinitely wide limit KRnml×nml\overset{\scriptscriptstyle\infty}{K} \in \mathbb{R}^{nm_l \times nm_l} without the need for linear overparameterization. Our results imply that in order to accurately approximate the limit, hidden layer widths have to grow quadratically as mk=k2mm_k = k^2 m for some mN+1m \in \mathbb{N}+1 for sufficient concentration. For such MLPs, we obtain the concentration bound P(K(θ)KO((Δϕ2+ml12l)κϕ2m12))1O(m1)\mathbb{P}( \Vert K(\theta) - \overset{\scriptscriptstyle\infty}{K} \Vert \leq O((\Delta_\phi^{-2} + m_l^{\frac{1}{2}} l) \kappa_\phi^2 m^{-\frac{1}{2}})) \geq 1-O(m^{-1}) modulo logarithmic terms, where we denoted Δϕ=b2a2+b2\Delta_\phi = \frac{b^2}{a^2+b^2} and κϕ=a+ba2+b2\kappa_\phi = \frac{\vert a \vert + \vert b \vert}{\sqrt{a^2 + b^2}}. This reveals in particular that the absolute value (Δϕ=1\Delta_\phi=1, κϕ=1\kappa_\phi=1) beats the ReLU (Δϕ=12\Delta_\phi=\frac{1}{2}, κϕ=2\kappa_\phi=\sqrt{2}) in terms of the concentration of the NTK.

Keywords

Cite

@article{arxiv.2501.14724,
  title  = {MLPs at the EOC: Concentration of the NTK},
  author = {Dávid Terjék and Diego González-Sánchez},
  journal= {arXiv preprint arXiv:2501.14724},
  year   = {2025}
}

Comments

36 pages, 1 figure