神经网络在实践中究竟有多灵活?
Just How Flexible are Neural Networks in Practice?
AI总结:
本文通过实验考察神经网络在实际训练中的数据拟合能力,揭示优化器、架构、随机训练、标签正确性与激活函数对有效容量和泛化预测的影响。
摘要:
人们普遍认为,神经网络能够拟合样本数至少与其参数量一样多的训练集,这一观点支撑了过参数化和欠参数化模型的概念。然而在实践中,我们只能找到通过训练过程(包括优化器和正则化器)可获得的解,这限制了灵活性。此外,架构中内置的函数类的具体参数化方式会塑造其损失曲面,并影响我们找到的极小值。在本研究中,我们考察了神经网络在实践中拟合数据的能力。我们的发现表明:(1)标准优化器找到的极小值使模型只能拟合样本数显著少于其参数量的训练集;(2)即使在随机标签数据上,卷积网络也比 MLP 和 ViT 更具参数效率;(3)尽管随机训练被认为具有正则化效果,但 SGD 实际上找到的极小值比全批量梯度下降能拟合更多训练数据;(4)拟合正确标注与错误标注样本的能力差异可以预测泛化;(5)ReLU 激活函数尽管旨在避免深度架构中的梯度消失和梯度爆炸,却会带来能拟合更多数据的极小值。
英文摘要:
It is widely believed that a neural network can fit a training set containing at least as many samples as it has parameters, underpinning notions of overparameterized and underparameterized models. In practice, however, we only find solutions accessible via our training procedure, including the optimizer and regularizers, limiting flexibility. Moreover, the exact parameterization of the function class, built into an architecture, shapes its loss surface and impacts the minima we find. In this work, we examine the ability of neural networks to fit data in practice. Our findings indicate that: (1) standard optimizers find minima where the model can only fit training sets with significantly fewer samples than it has parameters; (2) convolutional networks are more parameter-efficient than MLPs and ViTs, even on randomly labeled data; (3) while stochastic training is thought to have a regularizing effect, SGD actually finds minima that fit more training data than full-batch gradient descent; (4) the difference in capacity to fit correctly labeled and incorrectly labeled samples can be predictive of generalization; (5) ReLU activation functions result in finding minima that fit more data despite being designed to avoid vanishing and exploding gradients in deep architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。