有形状与无形状神经网络的微分方程尺度极限
Differential Equation Scaling Limits of Shaped and Unshaped Neural Networks
AI总结:
本文证明有形状与无形状神经网络在初始化时具有相同的微分方程尺度极限,并为无形状MLP推导了逐层相关性的渐近修正,建立了两种架构间的联系。
摘要:
最近对具有有形状激活函数的神经网络(即激活函数随网络规模增长而缩放)的分析,产生了由微分方程描述的尺度极限。然而,这些结果先验地并不能告诉我们关于“普通”无形状网络的任何信息,在无形状网络中,激活函数不随网络规模增长而改变。在本文中,我们为两类无形状网络找到了类似的基于微分方程的渐近刻画。首先,我们证明以下两种架构在初始化时收敛到相同的无限深度和宽度极限:(i)一个全连接残差网络,其残差分支上带有 $d^{-1/2}$ 因子,其中 $d$ 是网络深度;(ii)一个多层感知机(MLP),其深度 $d \ll$ 宽度 $n$,且具有速率为 $d^{-1/2}$ 的有形状 ReLU 激活函数。其次,对于初始化时的无形状 MLP,我们推导了逐层相关性的第一阶渐近修正。特别地,如果 $\rho_\ell$ 是第 $\ell$ 层的相关性,那么 $q_t = \ell^2 (1 - \rho_\ell)$,其中 $t = \frac{\ell}{n}$,收敛到一个在 $t=0$ 处具有奇异性的随机微分方程(SDE)。这些结果共同提供了有形状与无形状网络架构之间的联系,并开启了研究归一化方法的效果及其与有形状激活函数关联的可能性。
英文摘要:
Recent analyses of neural networks with shaped activations (i.e. the activation function is scaled as the network size grows) have led to scaling limits described by differential equations. However, these results do not a priori tell us anything about "ordinary" unshaped networks, where the activation is unchanged as the network size grows. In this article, we find similar differential equation based asymptotic characterization for two types of unshaped networks. Firstly, we show that the following two architectures converge to the same infinite-depth-and-width limit at initialization: (i) a fully connected ResNet with a $d^{-1/2}$ factor on the residual branch, where $d$ is the network depth. (ii) a multilayer perceptron (MLP) with depth $d \ll$ width $n$ and shaped ReLU activation at rate $d^{-1/2}$. Secondly, for an unshaped MLP at initialization, we derive the first order asymptotic correction to the layerwise correlation. In particular, if $ρ_\ell$ is the correlation at layer $\ell$, then $q_t = \ell^2 (1 - ρ_\ell)$ with $t = \frac{\ell}{n}$ converges to an SDE with a singularity at $t=0$. These results together provide a connection between shaped and unshaped network architectures, and opens up the possibility of studying the effect of normalization methods and how it connects with shaping activation functions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。