Sharper Guarantees for Learning Neural Network Classifiers with Gradient Methods
Hossein Taheri, Christos Thrampoulidis, Arya Mazumdar
TL;DR
This work tackles the challenge of providing tight, data-dependent guarantees for gradient-based learning of deep neural networks with smooth activations. It introduces an algorithmic-stability framework that leverages the Hessian along gradient-descent trajectories to bound both training and test losses, producing bounds that depend on the distance from initialization rather than width, and which can be polylogarithmic in the sample size. The authors show that under Neural Tangent Kernel (NTK) separability with margin $\gamma$, the test loss scales as $\widetilde{O}(e^{O(L)}/(\gamma^2 n))$ and, with a large step-size, can surpass NTK limitations, enabling efficient learning of the XOR distribution with a constant-width network in $\log(d)$ iterations. They also establish that, in the presence of label noise, gradient descent can still achieve the optimal excess risk with polynomial width, and provide concrete results for XOR that demonstrate substantial computational and sample efficiency gains. Overall, the paper delivers tighter, initialization-aware guarantees and practical guidance on step-size regimes that can dramatically improve learning efficiency beyond the traditional NTK regime.
Abstract
In this paper, we study the data-dependent convergence and generalization behavior of gradient methods for neural networks with smooth activation. Our first result is a novel bound on the excess risk of deep networks trained by the logistic loss, via an alogirthmic stability analysis. Compared to previous works, our results improve upon the shortcomings of the well-established Rademacher complexity-based bounds. Importantly, the bounds we derive in this paper are tighter, hold even for neural networks of small width, do not scale unfavorably with width, are algorithm-dependent, and consequently capture the role of initialization on the sample complexity of gradient descent for deep nets. Specialized to noiseless data separable with margin $γ$ by neural tangent kernel (NTK) features of a network of width $Ω(\text{poly}(\log(n)))$, we show the test-error rate to be $e^{O(L)}/{γ^2 n}$, where $n$ is the training set size and $L$ denotes the number of hidden layers. This is an improvement in the test loss bound compared to previous works while maintaining the poly-logarithmic width conditions. We further investigate excess risk bounds for deep nets trained with noisy data, establishing that under a polynomial condition on the network width, gradient descent can achieve the optimal excess risk. Finally, we show that a large step-size significantly improves upon the NTK regime's results in classifying the XOR distribution. In particular, we show for a one-hidden-layer neural network of constant width $m$ with quadratic activation and standard Gaussian initialization that mini-batch SGD with linear sample complexity and with a large step-size $η=m$ reaches the perfect test accuracy after only $\ceil{\log(d)}$ iterations, where $d$ is the data dimension.
