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

DNN样本复杂度估计的理论-经验方法

A Theoretical-Empirical Approach to Estimating Sample Complexity of DNNs

New York University(纽约大学)

Devansh Bisla, Apoorva Nandini Saridena, Anna Choromanska

摘要:

本文的重点是了解泛化误差如何与深度神经网络(DNN)的训练数据量成比例。统计学习中的现有技术需要计算容量度量,例如VC维,以可证明地约束此错误。然而,不清楚如何将这些措施扩展到DNN,因此现有的分析适用于简单的神经网络,其在实践中没有使用,例如,线性的或浅的或其他多层感知器。此外,许多理论上的误差界限是无法经验验证的。我们推导出适用于深度网络的泛化误差的估计,并且不依赖于无法达到的容量度量。我们的方法中的启用技术取决于两个主要假设:i)网络实现零训练误差,ii)在测试点上出错的概率与该点与特征空间中最近的训练点之间的距离成正比,并且在某个最大距离(我们称之为半径)处饱和。基于这些假设,我们估计DNN的泛化误差。所获得的估计尺度为O(1/(δN^{1/d})),其中N是训练数据的大小,并由两个量参数化,即网络感知的数据的有效维数(d)和上述半径(δ),这两个量都是我们根据经验发现的。我们表明,我们的估计与实验获得的行为的错误,使用基准数据集和现实模型的多个学习任务相匹配。估计训练数据需求对于部署安全关键应用(例如自动驾驶等)至关重要。此外,收集和注释训练数据需要大量的财务、计算和人力资源。我们的经验估计将有助于有效地分配资源。

英文摘要:

This paper focuses on understanding how the generalization error scales with the amount of the training data for deep neural networks (DNNs). Existing techniques in statistical learning require computation of capacity measures, such as VC dimension, to provably bound this error. It is however unclear how to extend these measures to DNNs and therefore the existing analyses are applicable to simple neural networks, which are not used in practice, e.g., linear or shallow ones or otherwise multi-layer perceptrons. Moreover, many theoretical error bounds are not empirically verifiable. We derive estimates of the generalization error that hold for deep networks and do not rely on unattainable capacity measures. The enabling technique in our approach hinges on two major assumptions: i) the network achieves zero training error, ii) the probability of making an error on a test point is proportional to the distance between this point and its nearest training point in the feature space and at a certain maximal distance (that we call radius) it saturates. Based on these assumptions we estimate the generalization error of DNNs. The obtained estimate scales as O(1/(δN^{1/d})), where N is the size of the training data and is parameterized by two quantities, the effective dimensionality of the data as perceived by the network (d) and the aforementioned radius (δ), both of which we find empirically. We show that our estimates match with the experimentally obtained behavior of the error on multiple learning tasks using benchmark data-sets and realistic models. Estimating training data requirements is essential for deployment of safety critical applications such as autonomous driving etc. Furthermore, collecting and annotating training data requires a huge amount of financial, computational and human resources. Our empirical estimates will help to efficiently allocate resources.

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

↑