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 · DOI

Abstract

Recent theoretical advances in deep learning have highlighted the Neural Tangent Kernel (NTK) regime, where over-parametrized neural networks behave like linear models with fixed features. However, this "lazy training" perspective fails to account for the superior generalization observed in practice, often attributed to feature learning. We demonstrate that explicit $\ell_2$ regularization is a key driver of this performance gap. We prove that regularized neural networks can achieve a sample complexity of $O(d)$ on certain distributions where the NTK requires $\Omega(d^2)$. Furthermore, we show that regularization biases networks toward max-margin solutions and that these global optima are reachable via noisy gradient descent in polynomial time for infinite-width models.

Introduction

The Neural Tangent Kernel (NTK) framework has provided significant insights into the optimization of over-parametrized networks. By showing that weights remain close to their initialization, the NTK reduces neural network training to kernel regression. Yet, this framework implies that features are essentially fixed, contradicting the empirical success of "feature learning." This paper investigates how explicit $\ell_2$ regularization (weight decay) breaks the kernel regime, allowing networks to adapt their representations to the data and achieve better generalization.

The Sample Complexity Gap

A central contribution of this work is the rigorous proof of a sample complexity gap between regularized neural networks and their induced kernels. The authors construct a $d$-dimensional distribution $\mathcal{D}$ where the informative signal is concentrated in a small subset of coordinates, while the rest are noise.

The synthetic distribution $\mathcal{D}$ in the first two coordinates, where blue '+' and red 'x' represent different classes.

For this distribution, a regularized two-layer ReLU network can focus its weights on the relevant features, requiring only $O(d)$ samples to learn the task. In contrast, fixed kernels like the NTK are "blind" to this structure and must effectively explore the entire $d$-dimensional space, leading to a lower bound of $\Omega(d^2)$ samples. This separation confirms that neural networks are fundamentally more powerful than the kernels they induce at initialization when regularization is present.

Regularization and Max-Margin Solutions

Why does regularization help? The paper establishes a link between $\ell_2$ regularization and the inductive bias of the network. For positive-homogeneous architectures (such as ReLU networks), the global minimizer of a weakly-regularized cross-entropy loss (as $\lambda \to 0$) is shown to be the max-normalized-margin solution.

This result implies that regularization pushes the network to find a separator that maximizes the "buffer" between classes in the feature space. Crucially, the authors show that the maximum possible margin is non-decreasing with the width of the network. This suggests that over-parametrization, rather than causing overfitting, actually provides more degrees of freedom to find a high-margin solution that generalizes better.

Optimization: Reaching the Global Optimum

While the existence of "good" regularized solutions is important, they are only useful if they can be found by standard optimization algorithms. The authors address this by analyzing the infinite-width limit of two-layer networks using a perturbed Wasserstein gradient flow (adding small noise to gradient descent). They prove that this dynamics converges to the global minimum of the regularized loss in polynomial time. This result bridges the gap between generalization theory and optimization practice, showing that the superior regularized solutions are indeed attainable.

Empirical Validation

The theoretical findings are supported by experiments on MNIST and synthetic data. As the hidden layer width increases, empirical results show a consistent decrease in test error and an increase in the normalized margin. These observations align with the theory that wider, regularized networks are better at finding high-margin separators that generalize well to unseen data.

Conclusion

This work provides a definitive theoretical basis for the importance of regularization in deep learning. By moving beyond the "lazy" NTK regime, the authors show that $\ell_2$ regularization enables feature learning, leading to significant gains in sample efficiency. The connection to max-margin solutions and the proof of global convergence for regularized networks offer a more complete picture of why deep learning succeeds where fixed-feature methods might struggle.

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