Verifying and Strengthening Neural Tangent Kernel Theory
Organizations: CSIRO Technology
Abstract
Writing Neural tangent kernel (NTK) theory explains why very wide neural networks trained by gradient methods converge in the lazy-training regime. Its standard proof combines matrix concentration, random Gram matrices, continuous-time dynamics, spectral perturbation, and a bootstrap argument, but has lacked machine-checked verification. We present a Lean~4 formalisation for two-layer networks, proving an end-to-end theorem: for a smooth bounded activation (instantiated with ), frozen biases, paired initialisation, and explicit width conditions, gradient flow exists uniquely with probability at least , and The sole data assumption is population NTK non-degeneracy, . Initial coercivity, kernel drift, the movement bootstrap, the residual ODE, and flow existence and uniqueness are formally proved. The formalisation also sharpens the standard analysis in two ways. First, replacing the conventional matrix-Bernstein variance proxy with the classical row-covariance proxy yields estimated concentration-width certificates for that are -- smaller at and -- smaller at . Lean certifies the inequality; the ratios are numerical. Second, the network Hessian has operator norm on the sup-norm parameter ball (a paper calculation), preventing the expected linearisation bound via sup-norm Taylor estimates. An parameter geometry resolves this issue. Required widths remain polynomial but far beyond practical scales, limiting applicability.
Figures & tables
| Item | Meaning | Status | Restrictiveness |
| Data | |||
| of the population NTK on the fixed inputs is at least (Lean: hpop ). | assumed | Standard non-degeneracy condition, but not automatic: for an arbitrary it can fail (e.g. for a point mass at , and , and give , the input Gram matrix, which is singular whenever , as in our instances). Known sufficient conditions: Gaussian weights with zero bias and pairwise non-parallel inputs, for ReLU [ 14 , Thm. 3.1] and for analytic non-polynomial activations such as [ 13 ] ; these concern the block, which dominates. Kept as an assumption; not proved in Lean. Estimated numerically (quadrature; not a certificate), for , Gaussian , zero bias and inputs uniform on the sphere: at and at (10 input draws). | |
| Setup | |||
| Activation | differentiable, , , Lipschitz. | assumed; proved for | Covers , sigmoid. Excludes ReLU and clipped ReLU. For ( , ) the hypotheses are proved in Lean. |
| Biases | frozen during training | assumed | Structural simplification. |
| Initialisation | paired output weights, so ; neurons i.i.d. from any law | assumed | Standard symmetrisation trick; removes the random initial output. |
| Claim | Lean declaration (file) |
|---|---|
| Theorem 1 (all , w.p. ) | PT.fullNet_gradient_flow_lazy_training_whp_exists_uniform ( P/NTKLazyTrainingWhpExists ) |
| Theorem 1 at | PT.fullNet_gradient_flow_lazy_training_whp_exists_uniform_tanh ( P/NTKTanhInstance ) |
| ; is 1-Lipschitz; | NTK.Tanh.hasDerivAt_tanh , NTK.Tanh.lipschitzWith_deriv_tanh , NTK.Tanh.abs_iteratedDeriv_two_tanh_le_one ( P/NTKTanhInstance ) |
| Fixed horizon | PT.fullNet_gradient_flow_lazy_training_whp_exists ( P/NTKLazyTrainingWhpExists ) |
| Good event is measurable | PT.measurableSet_setOf_antisymInit_coercive ( P/NTKLazyTrainingWhpExists ) |
| Bootstrap: decay and movement along any flow | PT.fullNet_gradient_flow_lazy_training ( P/NTKGradientFlowBootstrap ) |
| , | ||
|---|---|---|
| / / | / / | |
| / / | / / | |
| , | / / | / / |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| 8 | 117.6 | 128.3 |
|---|---|---|
| 16 | 268.4 | 299.0 |
| 32 | 577.6 | 651.9 |
| 64 | 1200.9 | 1365.3 |
| 128 | 2450.3 | 2796.6 |
Neural Tangent Kernel
Neural tangent kernels use network gradients to describe training dynamics, connect neural networks to kernel methods, and analyze generalization.
See all 49 papers