关于神经网络训练在测试集与测试分布上方差的研究
On the Variance of Neural Network Training with respect to Test Sets and Distributions
AI总结:
本文研究神经网络重复训练在测试集上的性能方差,发现其在底层测试分布上方差很小且测试集错误近似独立,并证明该方差源于类别校准性质,给出二分类方差预测公式,还初步分析了数据增强、学习率、微调不稳定性和分布偏移。
摘要:
典型的神经网络训练在重复运行之间,测试集性能存在显著方差,这阻碍了超参数比较和训练可复现性。本文中,我们给出以下有助于理解这种变异的结果。(1)尽管在测试集上存在显著方差,我们证明标准的CIFAR-10和ImageNet训练在其测试集所采样的底层测试分布上的性能方差很小。(2)我们表明这些训练在测试集上产生近似独立的错误。也就是说,一个已训练网络在某个特定样本上出错的事件,不会影响它在其他样本上出错的机会,相对于在相同超参数下重复训练运行的平均错误率而言。(3)我们证明神经网络训练在测试集上的方差是Jiang等人(2021)发现的类别校准性质的下游结果。我们的分析得到一个简单公式,可以准确预测二分类情况下的方差。(4)我们通过运行间方差的视角,对数据增强、学习率、微调不稳定性和分布偏移进行了初步研究。
英文摘要:
Typical neural network trainings have substantial variance in test-set performance between repeated runs, impeding hyperparameter comparison and training reproducibility. In this work we present the following results towards understanding this variation. (1) Despite having significant variance on their test-sets, we demonstrate that standard CIFAR-10 and ImageNet trainings have little variance in performance on the underlying test-distributions from which their test-sets are sampled. (2) We show that these trainings make approximately independent errors on their test-sets. That is, the event that a trained network makes an error on one particular example does not affect its chances of making errors on other examples, relative to their average rates over repeated runs of training with the same hyperparameters. (3) We prove that the variance of neural network trainings on their test-sets is a downstream consequence of the class-calibration property discovered by Jiang et al. (2021). Our analysis yields a simple formula which accurately predicts variance for the binary classification case. (4) We conduct preliminary studies of data augmentation, learning rate, finetuning instability and distribution-shift through the lens of variance between runs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。