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

无限宽三层神经网络的经验相图

Empirical Phase Diagram for Three-layer Neural Networks with Infinite Width

Shanghai Jiao Tong University(上海交通大学);CMA-Shanghai(上海数学中心);Shanghai Center for Brain Science and Brain-Inspired Technology(上海脑科学与类脑研究中心)

Hanxu Zhou, Qixuan Zhou, Zhenyuan Jin, Tao Luo, Yaoyu Zhang, Zhi-Qin John Xu

摘要:

大量研究表明,神经网络的动态特性与其参数的初始化密切相关。受具有无限宽度的双层ReLU NN的相图的启发(Luo等人,2021),我们朝着绘制具有无限宽度的三层ReLU NN的相图迈出了一步。首先,我们推导出三层ReLU NN的归一化梯度流,并获得两个关键的独立量来区分常见初始化方法的不同动力学状态。通过精心设计的实验和大量的计算成本,对于合成数据集和真实数据集,我们发现每一层的动力学也可以分为线性区域和凝聚区域,由临界区域分开。该准则是输入权重(隐神经元的输入权重包括从其输入层到隐神经元的权重和其偏置项)在训练期间随着宽度接近无穷大的相对变化,其分别趋向于$0$、$+\infty$和$O(1)$。此外,我们还证明了在深度NN的训练过程中,不同的层可以处于不同的动态状态。在凝聚的政权,我们也观察到凝聚的重量在孤立的方向与低复杂性。通过在三层条件下的实验,我们的相图提出了一个复杂的动力学制度,包括三种可能的制度,以及它们的混合物,深NN,并提供了一个指导研究在不同的初始化制度,这揭示了完全不同的动力学出现在一个深NN的不同层的可能性。

英文摘要:

Substantial work indicates that the dynamics of neural networks (NNs) is closely related to their initialization of parameters. Inspired by the phase diagram for two-layer ReLU NNs with infinite width (Luo et al., 2021), we make a step towards drawing a phase diagram for three-layer ReLU NNs with infinite width. First, we derive a normalized gradient flow for three-layer ReLU NNs and obtain two key independent quantities to distinguish different dynamical regimes for common initialization methods. With carefully designed experiments and a large computation cost, for both synthetic datasets and real datasets, we find that the dynamics of each layer also could be divided into a linear regime and a condensed regime, separated by a critical regime. The criteria is the relative change of input weights (the input weight of a hidden neuron consists of the weight from its input layer to the hidden neuron and its bias term) as the width approaches infinity during the training, which tends to $0$, $+\infty$ and $O(1)$, respectively. In addition, we also demonstrate that different layers can lie in different dynamical regimes in a training process within a deep NN. In the condensed regime, we also observe the condensation of weights in isolated orientations with low complexity. Through experiments under three-layer condition, our phase diagram suggests a complicated dynamical regimes consisting of three possible regimes, together with their mixture, for deep NNs and provides a guidance for studying deep NNs in different initialization regimes, which reveals the possibility of completely different dynamics emerging within a deep NN for its different layers.

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

↑