arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.10036cs.LG
收藏

论深度学习中的泛化之谜

On the Generalization Mystery in Deep Learning

Google(谷歌)

Satrajit Chatterjee, Piotr Zielinski

摘要:

深度学习中的泛化之谜如下:为什么用梯度下降(GD)训练的过度参数化神经网络能够在真实数据集上很好地泛化,尽管它们能够拟合类似大小的随机数据集?此外,在所有适合训练数据的解决方案中,GD如何找到一个泛化良好的解决方案(当存在这样一个泛化良好的解决方案时)?我们认为,这两个问题的答案在于训练过程中不同样本梯度的相互作用。直觉上,如果每个示例的梯度是良好对齐的,也就是说,如果它们是一致的,那么人们可以期望GD是(算法上)稳定的,因此推广良好。我们用一个易于计算和可解释的一致性度量标准来形式化这个论点,并表明该度量标准在几个常见视觉网络的真实和随机数据集上具有非常不同的值。该理论还解释了深度学习中的许多其他现象,例如为什么某些示例比其他示例更早地被可靠地学习,为什么早期停止工作,以及为什么可以从嘈杂的标签中学习。此外,由于该理论提供了一个因果解释,说明GD如何找到一个很好的泛化解决方案时,一个存在,它激发了一类简单的修改GD,削弱记忆和提高泛化。深度学习中的泛化是一个非常广泛的现象,因此,它需要一个同样普遍的解释。我们的结论与调查的替代路线的攻击这个问题上,并认为所提出的方法是最可行的在此基础上。

英文摘要:

The generalization mystery in deep learning is the following: Why do over-parameterized neural networks trained with gradient descent (GD) generalize well on real datasets even though they are capable of fitting random datasets of comparable size? Furthermore, from among all solutions that fit the training data, how does GD find one that generalizes well (when such a well-generalizing solution exists)? We argue that the answer to both questions lies in the interaction of the gradients of different examples during training. Intuitively, if the per-example gradients are well-aligned, that is, if they are coherent, then one may expect GD to be (algorithmically) stable, and hence generalize well. We formalize this argument with an easy to compute and interpretable metric for coherence, and show that the metric takes on very different values on real and random datasets for several common vision networks. The theory also explains a number of other phenomena in deep learning, such as why some examples are reliably learned earlier than others, why early stopping works, and why it is possible to learn from noisy labels. Moreover, since the theory provides a causal explanation of how GD finds a well-generalizing solution when one exists, it motivates a class of simple modifications to GD that attenuate memorization and improve generalization. Generalization in deep learning is an extremely broad phenomenon, and therefore, it requires an equally general explanation. We conclude with a survey of alternative lines of attack on this problem, and argue that the proposed approach is the most viable one on this basis.

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

↑