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

优化方差:探索DNN的泛化特性

Optimization Variance: Exploring Generalization Properties of DNNs

Huazhong University of Science and Technology(华中科技大学);Baidu Research(百度研究院);Nanyang Technological University(南洋理工大学)

Xiao Zhang, Dongrui Wu, Haoyi Xiong, Bo Dai

摘要:

与统计学习理论中的传统观点不同,深度神经网络(DNN)的测试误差通常表现为双下降:随着模型复杂度的增加,它首先遵循经典的U形曲线,然后显示第二次下降。通过偏差方差分解,最近的研究表明,钟形方差是模型方面的双下降(当DNN逐渐加宽时)的主要原因。本文研究逐时双下降,即,DNN的测试误差也随着训练时期的数量增加而显示出双下降。通过将偏差-方差分析扩展到0 - 1损失的逐时期双下降,我们惊奇地发现,方差本身,没有偏差,与测试误差一致地变化。受这一结果的启发,我们提出了一种新的度量,优化方差(OV),来衡量由同一迭代中随机训练批次的随机梯度引起的模型更新的多样性。OV可以仅使用来自训练集的样本来估计,但与(未知)\emph{test}误差很好地相关,因此可以在不使用验证集的情况下实现早期停止。

英文摘要:

Unlike the conventional wisdom in statistical learning theory, the test error of a deep neural network (DNN) often demonstrates double descent: as the model complexity increases, it first follows a classical U-shaped curve and then shows a second descent. Through bias-variance decomposition, recent studies revealed that the bell-shaped variance is the major cause of model-wise double descent (when the DNN is widened gradually). This paper investigates epoch-wise double descent, i.e., the test error of a DNN also shows double descent as the number of training epoches increases. By extending the bias-variance analysis to epoch-wise double descent of the zero-one loss, we surprisingly find that the variance itself, without the bias, varies consistently with the test error. Inspired by this result, we propose a novel metric, optimization variance (OV), to measure the diversity of model updates caused by the stochastic gradients of random training batches drawn in the same iteration. OV can be estimated using samples from the training set only but correlates well with the (unknown) \emph{test} error, and hence early stopping may be achieved without using a validation set.

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

↑