English

Sharper Guarantees for Learning Neural Network Classifiers with Gradient Methods

Machine Learning 2024-12-09 v2 Information Theory math.IT Machine Learning

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 γ\gamma by neural tangent kernel (NTK) features of a network of width Ω(poly(log(n)))\Omega(\text{poly}(\log(n))), we show the test-error rate to be eO(L)/γ2ne^{O(L)}/{\gamma^2 n}, where nn is the training set size and LL 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 mm with quadratic activation and standard Gaussian initialization that mini-batch SGD with linear sample complexity and with a large step-size η=m\eta=m reaches the perfect test accuracy after only \ceillog(d)\ceil{\log(d)} iterations, where dd is the data dimension.

Keywords

Cite

@article{arxiv.2410.10024,
  title  = {Sharper Guarantees for Learning Neural Network Classifiers with Gradient Methods},
  author = {Hossein Taheri and Christos Thrampoulidis and Arya Mazumdar},
  journal= {arXiv preprint arXiv:2410.10024},
  year   = {2024}
}
R2 v1 2026-06-28T19:19:47.607Z