arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2501.14687cs.LGcs.AI
收藏

从记忆中解码泛化能力在深度神经网络中的表现

Decoding Generalization from Memorization in Deep Neural Networks

Birla Institute of Technology & Science Pilani(比拉理工学院与科学学院)

Simran Ketha, Venkatakrishnan Ramaswamy

AI总结:

本文通过实验证明深度神经网络中存在对真实标签泛化能力的解码机制,揭示了记忆化与泛化能力之间的关系。

摘要:

过度参数化的深度网络因其良好的泛化能力成为近年来深度学习取得巨大成功的关键因素。然而,其卓越的泛化能力的原因尚不明确。当训练集中的类别标签被不同程度地洗牌时,已知深度网络仍能达到完美的训练准确率,但会牺牲对真实标签的泛化能力——这种现象被称为记忆化。然而,为何伴随这种记忆化而来的对真实标签的泛化能力差,尚不清楚。一种可能是,在训练过程中,网络的所有层都不可逆地重新组织了它们的表示,使对真实标签的泛化变得困难。另一种可能是,训练后的网络中有一层或几层保留了显著的对真实标签的泛化能力,但网络以某种方式“选择”了不利于对真实标签泛化的读取方式。在此,我们通过实验证明了后一种可能性,展示了这些模型在其表示中具有显著改善对真实标签泛化的信息。此外,这种能力可以很容易地从训练后的模型内部解码,并且我们构建了一种技术来实现这一点。我们在多个使用标准数据集训练的模型上展示了结果。我们的代码可在:https://github.com/simranketha/MASC_DNN 上获得。

英文摘要:

Overparameterized deep networks that generalize well have been key to the dramatic success of deep learning in recent years. The reasons for their remarkable ability to generalize are not well understood yet. When class labels in the training set are shuffled to varying degrees, it is known that deep networks can still reach perfect training accuracy at the detriment of generalization to true labels -- a phenomenon that has been called memorization. It has, however, been unclear why the poor generalization to true labels that accompanies such memorization, comes about. One possibility is that during training, all layers of the network irretrievably re-organize their representations in a manner that makes generalization to true labels difficult. The other possibility is that one or more layers of the trained network retain significantly more latent ability to generalize to true labels, but the network somehow "chooses" to readout in a manner that is detrimental to generalization to true labels. Here, we provide evidence for the latter possibility by demonstrating, empirically, that such models possess information in their representations for substantially-improved generalization to true labels. Furthermore, such abilities can be easily decoded from the internals of the trained model, and we build a technique to do so. We demonstrate results on multiple models trained with standard datasets. Our code is available at: https://github.com/simranketha/MASC_DNN.

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

↑