NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernel

Colin Wei, Jason D. Lee, Qiang Liu, Tengyu Ma

In the quest to understand why deep learning works so well, a popular recent theory suggests that very wide neural networks behave like simple kernel methods—specifically, the Neural Tangent Kernel (NTK). This "kernel regime" elegantly explains how networks can reach zero training error, but it paints a picture of neural networks as "lazy" learners that do not actually learn new features.

This paper argues that this picture is incomplete. By examining the role of explicit regularization (such as weight decay), the authors prove that neural networks are fundamentally more sample-efficient than the kernels that supposedly describe them.

Executive Summary

While the Neural Tangent Kernel (NTK) explains how over-parametrized networks optimize, it fails to capture how they generalize when regularized. This research proves that explicit $\ell_2$ regularization allows neural nets to learn informative features with far fewer samples—$O(d)$ versus $\Omega(d^2)$—than kernel methods. Furthermore, the authors demonstrate that this regularized global optimum is attainable in polynomial time.

The Problem: Lazy Training vs. Feature Learning

Recent theoretical breakthroughs showed that in the "infinite width" limit with large initialization, neural networks stay close to their starting point and behave like linear models over a fixed set of features (the NTK). While mathematically convenient, this "lazy training" regime does not match the reality of practitioners who rely heavily on weight decay ($\ell_2$ regularization).

The authors ask a fundamental question: Does regularization actually change the capabilities of the network? Specifically, can a regularized neural network learn a distribution that a fixed kernel method cannot, even if that kernel is derived from the network itself?

Datasets and Task Setup

To prove their claims, the authors construct a specific $d$-dimensional synthetic data distribution designed to highlight the gap between active feature learning and static kernel methods.

  • The Task: The labels depend entirely on the first two coordinates ($x_1, x_2$), while the remaining $d-2$ coordinates are pure random noise.
  • The Challenge: To succeed efficiently, a model must "ignore" the $d-2$ noisy dimensions and focus exclusively on the two informative ones.
2D projection of the informative coordinates in the synthetic distribution.

Empirical validations in the paper also utilize synthetic data generated by a "ground truth" network to verify margin and generalization claims.

Methods

The authors tackle the problem using three distinct theoretical approaches:

  1. Sample Complexity Analysis: By using the synthetic $d$-dimensional distribution, they establish a strict lower bound for kernel methods and a superior upper bound for regularized neural nets.
  2. Margin Theory: They extend "max-margin" theory to multi-layer ReLU networks. They prove that for any homogeneous network, minimizing a weakly-regularized cross-entropy loss is equivalent to finding the solution that maximizes the normalized margin.
  3. Perturbed Wasserstein Gradient Flow: To prove the regularized solution is actually findable, they analyze the optimization of infinite-width two-layer nets. They introduce a "perturbed" version of gradient flow (adding a tiny bit of noise) to ensure the algorithm escapes local traps and reaches the global minimum in polynomial time.

Key Insights

  • Kernels are "Feature-Blind": Because the NTK uses a fixed feature space determined at initialization, it cannot "focus" on the informative dimensions without seeing enough samples to average out the noise in all $d$ dimensions. This leads to a poor, quadratic dependence on dimension ($\Omega(d^2)$).
  • Regularization Enables Feature Selection: Explicit $\ell_2$ regularization encourages the network to find a "simple" solution with a large margin. In their construction, this forces the network to learn weight vectors that align only with the informative coordinates, requiring only $O(d)$ samples.
  • Width is a Generalization Multiplier: In linear models, adding more features often hurts generalization. In regularized neural nets, the authors show that the maximum possible margin is non-decreasing with width. Over-parametrization actually helps generalization by allowing for a "cleaner" max-margin solution.
  • Moving Away from Initialization: For a network to generalize well on this task, it must move significantly away from its random initialization—directly contradicting the "lazy training" assumption of the NTK regime.

Key Results

  • The Sample Complexity Gap: On the constructed distribution, any kernel method (including NTK) requires $\Omega(d^2)$ samples to achieve low error. In contrast, a regularized two-layer ReLU net needs only $O(d)$ samples.
  • Optimization Guarantee: For infinite-width nets, noisy gradient descent finds the global minimum of the $\ell_2$-regularized loss in polynomial iterations ($poly(1/\epsilon, d)$). This is a significant improvement over prior "mean-field" results that lacked concrete convergence rates.

Limitations and Future Work

  • Infinite Width for Optimization: While the generalization results apply to finite networks, the polynomial-time optimization proof relies on the "infinite-width" (mean-field) limit. Proving similar rates for finite-width networks remains a major open challenge.
  • Synthetic Distribution: The $O(d)$ vs $\Omega(d^2)$ gap is proven on a specific, hand-crafted distribution. Extending these bounds to natural image or text datasets is a logical next step.
  • Weak Regularization: Some of the margin results assume the regularization coefficient $\lambda$ is vanishingly small. Understanding the behavior for the larger $\lambda$ values used in practice would be highly valuable.

Summary updated

BibTeX
@inproceedings{wei2019regularization,
  author = {Colin Wei and Jason D. Lee and Qiang Liu and Tengyu Ma},
  title = {{Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernel}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=6PZ536zXhEp},
}
Figure