arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1810.01075cs.LGstat.ML
收藏

深度神经网络中的内隐自正则化:来自随机矩阵理论的证据及其对学习的启示

Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learning

Calculation Consulting(Calculation Consulting公司);ICSI(国际计算机科学研究所);University of California at Berkeley(加州大学伯克利分校)

Charles H. Martin, Michael W. Mahoney

摘要:

随机矩阵理论(RMT)应用于分析深度神经网络(DNN)的权重矩阵,包括生产质量、预训练模型(例如AlexNet和Inception)以及从头开始训练的较小模型,例如LeNet 5和微型AlexNet。经验和理论结果清楚地表明,DNN训练过程本身隐含地实现了一种形式的自正则化。DNN层矩阵的经验谱密度(ESD)显示了传统正则化统计模型的特征,即使在没有外生指定传统形式的显式正则化的情况下。基于RMT中相对较新的结果,最值得注意的是其扩展到重尾矩阵的普遍性类,我们开发了一种理论来识别5+1训练阶段,对应于隐式自正则化的增加量。这些阶段可以在训练过程中以及最终学习的DNN中观察到。对于较小和/或较旧的DNN,这种隐式自正则化就像传统的Tikhonov正则化,因为存在将信号与噪声分离的“大小尺度”。然而,对于最先进的DNN,我们发现了一种新的重尾自正则化形式,类似于无序系统统计物理中的自组织。这是由于在所有大小尺度上产生的相关性,这是由于训练过程本身而隐含地产生的。这种隐式的自正则化可以强烈地依赖于训练过程的许多旋钮。通过利用泛化间隙现象,我们证明了我们可以通过简单地改变批量大小来使一个小模型显示所有5+1训练阶段。这表明,在其他条件相同的情况下,具有较大批量的DNN优化会导致隐式正则化模型不太好,并为泛化间隙现象提供了解释。

英文摘要:

Random Matrix Theory (RMT) is applied to analyze weight matrices of Deep Neural Networks (DNNs), including both production quality, pre-trained models such as AlexNet and Inception, and smaller models trained from scratch, such as LeNet5 and a miniature-AlexNet. Empirical and theoretical results clearly indicate that the DNN training process itself implicitly implements a form of Self-Regularization. The empirical spectral density (ESD) of DNN layer matrices displays signatures of traditionally-regularized statistical models, even in the absence of exogenously specifying traditional forms of explicit regularization. Building on relatively recent results in RMT, most notably its extension to Universality classes of Heavy-Tailed matrices, we develop a theory to identify 5+1 Phases of Training, corresponding to increasing amounts of Implicit Self-Regularization. These phases can be observed during the training process as well as in the final learned DNNs. For smaller and/or older DNNs, this Implicit Self-Regularization is like traditional Tikhonov regularization, in that there is a "size scale" separating signal from noise. For state-of-the-art DNNs, however, we identify a novel form of Heavy-Tailed Self-Regularization, similar to the self-organization seen in the statistical physics of disordered systems. This results from correlations arising at all size scales, which arises implicitly due to the training process itself. This implicit Self-Regularization can depend strongly on the many knobs of the training process. By exploiting the generalization gap phenomena, we demonstrate that we can cause a small model to exhibit all 5+1 phases of training simply by changing the batch size. This demonstrates that---all else being equal---DNN optimization with larger batch sizes leads to less-well implicitly-regularized models, and it provides an explanation for the generalization gap phenomena.

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

↑