Do Neural Networks Need Gradient Descent to Generalize? A Theoretical Study
Yotam Alexander, Yonatan Slutzky, Yuval Ran-Milo, Nadav Cohen
TL;DR
The paper theoretically investigates whether gradient descent is necessary for generalization in overparameterized neural networks by focusing on matrix factorization with linear and non-linear activations. It proves a width-driven failure of the volume/G&C approach: as width grows, G&C generalization can become no better than random, indicating that gradient descent is needed in these wide regimes. Conversely, it shows depth-driven success: with linear activations, RIP, and a Gaussian prior with normalization, increasing depth makes G&C generalization arbitrarily good (and provably near-perfect for rank-1 ground truth), while empirical results corroborate depth helping G&C and width hurting. Together, the results reveal a nuanced, width-vs-depth landscape for generalization under gradient-descent-like versus Guess & Check dynamics and motivate further theory beyond matrix factorization.
Abstract
Conventional wisdom attributes the mysterious generalization abilities of overparameterized neural networks to gradient descent (and its variants). The recent volume hypothesis challenges this view: it posits that these generalization abilities persist even when gradient descent is replaced by Guess & Check (G&C), i.e., by drawing weight settings until one that fits the training data is found. The validity of the volume hypothesis for wide and deep neural networks remains an open question. In this paper, we theoretically investigate this question for matrix factorization (with linear and non-linear activation)--a common testbed in neural network theory. We first prove that generalization under G&C deteriorates with increasing width, establishing what is, to our knowledge, the first case where G&C is provably inferior to gradient descent. Conversely, we prove that generalization under G&C improves with increasing depth, revealing a stark contrast between wide and deep networks, which we further validate empirically. These findings suggest that even in simple settings, there may not be a simple answer to the question of whether neural networks need gradient descent to generalize well.
