Stability analysis of stochastic gradient descent for homogeneous neural networks and linear classifiers

Neural Netw. 2023 Jul:164:382-394. doi: 10.1016/j.neunet.2023.04.028. Epub 2023 Apr 25.

Abstract

We prove new generalization bounds for stochastic gradient descent when training classifiers with invariances. Our analysis is based on the stability framework and covers both the convex case of linear classifiers and the non-convex case of homogeneous neural networks. We analyze stability with respect to the normalized version of the loss function used for training. This leads to investigating a form of angle-wise stability instead of euclidean stability in weights. For neural networks, the measure of distance we consider is invariant to rescaling the weights of each layer. Furthermore, we exploit the notion of on-average stability in order to obtain a data-dependent quantity in the bound. This data-dependent quantity is seen to be more favorable when training with larger learning rates in our numerical experiments. This might help to shed some light on why larger learning rates can lead to better generalization in some practical scenarios.

Keywords: Deep learning; Generalization; Stability; Stochastic gradient descent.

MeSH terms

  • Generalization, Psychological
  • Learning*
  • Neural Networks, Computer*