arXiv:2506.03931cs.LGstat.ML2025-06NeurIPS被引 3

研究发现,神经网络在宽时依赖梯度下降才能泛化,深时却可不用。

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

  • 用随机搜索替代梯度下降测试泛化能力
  • 宽度增加时随机搜索泛化变差,深度增加则改善
  • 揭示了网络宽度与深度对泛化机制的截然不同影响

传统观点认为过参数化神经网络的泛化能力依赖于梯度下降及其变体。近期的体积假设提出,即使替换为随机搜索(Guess & Check,G&C)——即不断随机采样权重直至找到拟合训练数据的解——泛化能力仍能保持。该假设在宽而深的神经网络中的有效性尚不明确。本文针对矩阵分解(含线性与非线性激活)这一神经网络理论常用基准,首次从理论上证明:在随机搜索下,泛化性能随网络宽度增加而恶化,这是目前已知首个证明随机搜索劣于梯度下降的案例;相反,随着网络深度增加,随机搜索的泛化性能反而提升。这一结果揭示了宽网络与深网络在泛化机制上的显著差异,并通过实验加以验证。研究表明,神经网络是否需要梯度下降实现良好泛化,并无简单答案。

原文摘要 · Abstract (English)

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.

神经网络泛化能力梯度下降理论分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。