11
46

Optimization and Generalization of Shallow Neural Networks with Quadratic Activation Functions

Abstract

We study the dynamics of optimization and the generalization properties of one-hidden layer neural networks with quadratic activation function in the over-parametrized regime where the layer width mm is larger than the input dimension dd. We consider a teacher-student scenario where the teacher has the same structure as the student with a hidden layer of smaller width mmm^*\le m. We describe how the empirical loss landscape is affected by the number nn of data samples and the width mm^* of the teacher network. In particular we determine how the probability that there be no spurious minima on the empirical loss depends on nn, dd, and mm^*, thereby establishing conditions under which the neural network can in principle recover the teacher. We also show that under the same conditions gradient descent dynamics on the empirical loss converges and leads to small generalization error, i.e. it enables recovery in practice. Finally we characterize the time-convergence rate of gradient descent in the limit of a large number of samples. These results are confirmed by numerical experiments.

View on arXiv
Comments on this paper