arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.08760stat.MLcs.AIcs.LGcs.NE
收藏

神经网络的灵敏度和泛化能力的实证研究

Sensitivity and Generalization in Neural Networks: an Empirical Study

Google Brain(谷歌大脑)

Roman Novak, Yasaman Bahri, Daniel A. Abolafia, Jeffrey Pennington, Jascha Sohl-Dickstein

摘要:

在实践中,人们经常发现,大型的过参数化神经网络比它们较小的对应网络更好地泛化,这一观察结果似乎与函数复杂性的经典概念相冲突,后者通常倾向于较小的模型。在这项工作中,我们调查复杂性和泛化之间的紧张关系,通过广泛的经验探索的两个自然指标的复杂性相关的输入扰动的敏感性。我们的实验调查了数千个具有各种全连接架构、优化器和其他超参数的模型,以及四个不同的图像分类数据集。我们发现,经过训练的神经网络对训练数据流形附近的输入扰动更具鲁棒性,这是由网络的输入-输出雅可比矩阵的范数来衡量的,并且它与泛化具有很好的相关性。我们进一步建立了与泛化能力差的$-$相关的因素,如全批量训练或使用随机标签$-$,对应于较低的鲁棒性,而与良好的泛化能力$-$相关的因素,如数据增强和ReLU非线性$-$,则会产生更鲁棒的函数。最后,我们展示了如何输入输出雅可比范数可以预测的泛化在个别测试点的水平。

英文摘要:

In practice it is often found that large over-parameterized neural networks generalize better than their smaller counterparts, an observation that appears to conflict with classical notions of function complexity, which typically favor smaller models. In this work, we investigate this tension between complexity and generalization through an extensive empirical exploration of two natural metrics of complexity related to sensitivity to input perturbations. Our experiments survey thousands of models with various fully-connected architectures, optimizers, and other hyper-parameters, as well as four different image classification datasets. We find that trained neural networks are more robust to input perturbations in the vicinity of the training data manifold, as measured by the norm of the input-output Jacobian of the network, and that it correlates well with generalization. We further establish that factors associated with poor generalization $-$ such as full-batch training or using random labels $-$ correspond to lower robustness, while factors associated with good generalization $-$ such as data augmentation and ReLU non-linearities $-$ give rise to more robust functions. Finally, we demonstrate how the input-output Jacobian norm can be predictive of generalization at the level of individual test points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑