arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.17445cs.LGcs.CV
收藏

关于深度神经网络中基于间隔的泛化预测

On margin-based generalization prediction in deep neural networks

North-West University(西北大学)

Coenraad Mouton

AI总结:

本研究分析深度神经网络中基于间隔的泛化预测方法,揭示其失败原因,并提出一种结合数据流形近似的间隔度量,该度量在多个基准上展现出更强的泛化预测能力。

摘要:

理解深度神经网络的泛化能力是一个活跃的研究领域。一个有前景的探索方向是间隔测量:即给定样本到决策边界的最短距离,或该样本在网络内部表示的距离。基于间隔的复杂度度量已被证明在某些情况下与深度神经网络的泛化能力相关,但在其他情况下则不然。这些度量成功或失败的原因目前尚不清楚。在本研究中,我们考察了不同设置下的基于间隔的泛化预测方法。我们探讨了为什么这些度量有时无法准确预测泛化,以及如何改进它们。首先,我们分析了输入空间中测量的间隔与样本噪声之间的关系。我们发现,不同类型的样本噪声对已建模噪声数据的网络的整体间隔可能产生非常不同的影响。接着,我们实证评估了在不同表示空间测量的间隔在预测泛化方面的稳健性。我们发现这些度量存在若干局限性,并且在许多情况下,较大的间隔与经验风险之间并不表现出强相关性。最后,我们引入了一种新的基于间隔的度量,该度量结合了底层数据流形的近似。实证表明,该度量通常比所有其他基于间隔的度量更具泛化预测能力。此外,我们发现该度量在著名的泛化预测基准上也优于其他当代复杂度度量。我们还分析了该方法的实用性和局限性,并发现该度量与先前工作中表达的直觉高度一致。

英文摘要:

Understanding generalization in deep neural networks is an active area of research. A promising avenue of exploration has been that of margin measurements: the shortest distance to the decision boundary for a given sample or that sample's representation internal to the network. Margin-based complexity measures have been shown to be correlated with the generalization ability of deep neural networks in some circumstances but not others. The reasons behind the success or failure of these metrics are currently unclear. In this study, we examine margin-based generalization prediction methods in different settings. We motivate why these metrics sometimes fail to accurately predict generalization and how they can be improved. First, we analyze the relationship between margins measured in the input space and sample noise. We find that different types of sample noise can have a very different effect on the overall margin of a network that has modeled noisy data. Following this, we empirically evaluate how robust margins measured at different representational spaces are at predicting generalization. We find that these metrics have several limitations and that a large margin does not exhibit a strong correlation with empirical risk in many cases. Finally, we introduce a new margin-based measure that incorporates an approximation of the underlying data manifold. It is empirically demonstrated that this measure is generally more predictive of generalization than all other margin-based measures. Furthermore, we find that this measurement also outperforms other contemporary complexity measures on a well-known generalization prediction benchmark. In addition, we analyze the utility and limitations of this approach and find that this metric is well aligned with intuitions expressed in prior work.

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

↑