arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.06665cs.LG
收藏

批次之间的差异作为提前停止的信号

Disparity Between Batches as a Signal for Early Stopping

École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院)

Mahsa Forouzesh, Patrick Thiran

摘要:

我们提出了一个用于评估使用小批量梯度下降训练的深度神经网络泛化能力的度量。我们的度量,称为梯度视差,是从训练集中提取的两个小批次的梯度向量之间的$\ell_2$范数距离。它是从一个给定的小批量的分类误差之间的差异的概率上限,当网络是在这个小批量训练,当网络是在从同一数据集采样的另一个小批量的点训练。我们的经验表明,梯度视差是一个非常有前途的早期停止标准(i)当数据有限时,因为它使用所有样本进行训练;(ii)当可用数据具有噪声标签时,因为它比验证数据更好地发出过拟合信号。此外,我们表明,在广泛的实验设置,梯度差距是密切相关的训练集和测试集之间的泛化误差,它也是非常翔实的标签噪声的水平。

英文摘要:

We propose a metric for evaluating the generalization ability of deep neural networks trained with mini-batch gradient descent. Our metric, called gradient disparity, is the $\ell_2$ norm distance between the gradient vectors of two mini-batches drawn from the training set. It is derived from a probabilistic upper bound on the difference between the classification errors over a given mini-batch, when the network is trained on this mini-batch and when the network is trained on another mini-batch of points sampled from the same dataset. We empirically show that gradient disparity is a very promising early-stopping criterion (i) when data is limited, as it uses all the samples for training and (ii) when available data has noisy labels, as it signals overfitting better than the validation data. Furthermore, we show in a wide range of experimental settings that gradient disparity is strongly related to the generalization error between the training and test sets, and that it is also very informative about the level of label noise.

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

↑