arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.04013stat.MLcs.LG
收藏

未来是对数高斯的:ResNets和它们的无限深宽极限

The Future is Log-Gaussian: ResNets and Their Infinite-Depth-and-Width Limit at Initialization

University of Toronto(多伦多大学);Vector Institute(向量研究所);University of Guelph(圭尔夫大学)

Mufan Bill Li, Mihai Nica, Daniel M. Roy

摘要:

理论结果表明,神经网络在无限宽极限下可以用高斯过程来逼近。然而,对于完全连接的网络,之前已经表明,对于任何固定的网络宽度$n$,随着网络深度$d$的增加,高斯近似变得更差。考虑到现代网络的深度,这就提出了一个问题,即像ResNet这样的现代架构在多大程度上被无限宽度的限制所捕获。为了提供更好的近似,我们研究了无限深度和宽度限制下的ReLU ResNet,其中深度和宽度都趋于无穷大,因为它们的比率$d/n$保持不变。与高斯无限宽极限相反,我们从理论上证明了网络在无限深宽极限的初始化时表现出对数高斯行为,参数取决于比率$d/n$。使用蒙特卡罗模拟,我们证明了即使是标准ResNet架构的基本属性也不能很好地被高斯极限捕获,但可以很好地被我们的对数高斯极限捕获。此外,我们的分析表明,ReLU ResNet在初始化时是低激活的:只有不到一半的ReLU被激活。此外,我们还计算了层间相关性,它具有指数增加网络输出方差的效果。基于我们的分析,我们引入了平衡ResNets,这是一种简单的架构修改,它消除了低激活和层间相关性,更适合理论分析。

英文摘要:

Theoretical results show that neural networks can be approximated by Gaussian processes in the infinite-width limit. However, for fully connected networks, it has been previously shown that for any fixed network width, $n$, the Gaussian approximation gets worse as the network depth, $d$, increases. Given that modern networks are deep, this raises the question of how well modern architectures, like ResNets, are captured by the infinite-width limit. To provide a better approximation, we study ReLU ResNets in the infinite-depth-and-width limit, where both depth and width tend to infinity as their ratio, $d/n$, remains constant. In contrast to the Gaussian infinite-width limit, we show theoretically that the network exhibits log-Gaussian behaviour at initialization in the infinite-depth-and-width limit, with parameters depending on the ratio $d/n$. Using Monte Carlo simulations, we demonstrate that even basic properties of standard ResNet architectures are poorly captured by the Gaussian limit, but remarkably well captured by our log-Gaussian limit. Moreover, our analysis reveals that ReLU ResNets at initialization are hypoactivated: fewer than half of the ReLUs are activated. Additionally, we calculate the interlayer correlations, which have the effect of exponentially increasing the variance of the network output. Based on our analysis, we introduce Balanced ResNets, a simple architecture modification, which eliminates hypoactivation and interlayer correlations and is more amenable to theoretical analysis.

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

↑