Do Neural Networks Need Gradient Descent to Generalize? A Theoretical Study

Yotam Alexander, Yonatan Slutzky, Yuval Ran-milo, Nadav Cohen
6/1/2025

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{alexander2025neural,
  title  = {Do Neural Networks Need Gradient Descent to Generalize? A Theoretical Study},
  author = {Yotam Alexander and Yonatan Slutzky and Yuval Ran-milo and Nadav Cohen},
  year   = {2025},
  eprint = {2506.03931},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.03931},
  url    = {https://doi.org/10.48550/arXiv.2506.03931},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.03931.svg)](https://codeofpaper.com/paper/2506.03931)

Discussion