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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Alexander, Yotam, Slutzky, Yonatan, Ran-Milo, Yuval, Cohen, Nadav
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909968037314560
author Alexander, Yotam
Slutzky, Yonatan
Ran-Milo, Yuval
Cohen, Nadav
author_facet Alexander, Yotam
Slutzky, Yonatan
Ran-Milo, Yuval
Cohen, Nadav
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_03931
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Do Neural Networks Need Gradient Descent to Generalize? A Theoretical Study
Alexander, Yotam
Slutzky, Yonatan
Ran-Milo, Yuval
Cohen, Nadav
Machine Learning
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.
title Do Neural Networks Need Gradient Descent to Generalize? A Theoretical Study
topic Machine Learning
url https://arxiv.org/abs/2506.03931