深度神经网络中混沌边缘的有限宽度偏移
Finite-width shift of the edge of chaos in deep neural networks
AI总结:
本研究针对深度神经网络的混沌边缘,推导了有限宽度下的偏移量,提出无需搜索即可定位该边缘的初始化规则Crinit,在MNIST等数据集上的浅层与深层网络中均表现更优。
摘要:
深度神经网络在初始化于混沌边缘时训练效果最佳,混沌边缘是权重和方差平面上的临界线,在该线上,两个输入之间的距离不会随深度增长或收缩。该线针对无限宽网络已被明确,而在有限宽度下它会发生移动,其移动方式存在争议。我们将宽度为$N$的网络中两个输入之间距离的对数视为随机游走,计算其漂移和方差至$1/N$阶。混沌边缘会向更大的权重方差移动,偏移量为$\u0394\u03c3_w^2=-a_1/(N\\,\partial_{\sigma_w^2}\ln\chi_1)$,对于偏差方差为0.05的tanh网络,该偏移量约为$8/N$,这通过精确有限宽度递归的模拟得到了验证。该偏移描述了典型网络;而多个网络的平均由距离增长的稀有网络主导,其临界点向相反方向移动,这解释了为何计算与模拟结果不一致。反向传播遵循相同的随机游走,因此该偏移对梯度同样适用。沿混沌边缘,两个输入相似性的信息保持恒定,直到深度上的压缩超过约1 nat,这确定了在该线上的位置。研究结果给出了初始化规则Crinit,无需搜索即可将网络置于其有限宽度的混沌边缘。在宽度为64的MNIST和Fashion-MNIST上,它比标准规则在常规设置下更准确,在浅层网络中优势较小,在深层网络中优势较大(多数标准规则在深层网络中失效);它训练所需步骤更少,且与调优增益后的标准规则表现相当或更优。
英文摘要:
Deep neural networks train best when they are initialised at the edge of chaos, the critical line in the plane of weight and bias variances on which the distance between two inputs neither grows nor shrinks with depth. The line is known for infinitely wide networks; at finite width it moves, and how it moves has been disputed. We treat the logarithm of the distance between two inputs through a network of width $N$ as a random walk and compute its drift and variance to order $1/N$. The edge of chaos moves to a larger weight variance, by $Δσ_w^2=-a_1/(N\,\partial_{σ_w^2}\lnχ_1)$, about $8/N$ for $\tanh$ networks at a bias variance of $0.05$, confirmed by simulations of the exact finite-width recursion. The shift describes a typical network; the average over many networks is dominated by rare networks in which the distance grows, and its critical point moves the other way, which explains why calculations and simulations have disagreed. Backpropagation follows the same random walk, so the shift applies to gradients unchanged. Along the edge of chaos, the information about the similarity of two inputs is constant until the compression over the depth exceeds about one nat, which fixes where to sit on the line. The results give an initialisation rule, Crinit, that places a network on its finite-width edge of chaos without a search. On MNIST and Fashion-MNIST at width $64$ it is more accurate than the standard rules at their usual settings, by a small margin in shallow networks and a large one in deep networks, where most standard rules fail; it trains in fewer steps, and it matches or beats the standard rules with a tuned gain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。