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

神经协方差SDE:初始化时的塑形无限深度与宽度网络

The Neural Covariance SDE: Shaped Infinite Depth-and-Width Networks at Initialization

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

Mufan Bill Li, Mihai Nica, Daniel M. Roy

AI总结:

该研究针对无限宽度分析忽略层间微观波动的缺陷,在塑形无限深宽极限下研究神经网络初始化时的随机协方差矩阵,提出神经协方差SDE并验证其与有限网络分布吻合,还推导出范数爆炸与消失的充要条件。

摘要:

前馈神经网络在初始化时的logit输出在给定倒数第二层定义的随机协方差矩阵的条件下服从高斯分布。在本研究中,我们探究该随机矩阵的分布。近期研究表明,随着网络深度增大,对激活函数进行塑形对于保证该协方差矩阵非退化是必要的。然而,当前针对该塑形方法的无限宽度风格的理解在大深度场景下并不完善:无限宽度分析忽略了层与层之间的微观波动,但这些波动会在多层中累积。为克服这一缺陷,我们在塑形的无限深度-宽度极限下研究该随机协方差矩阵。我们确定了得到非平凡极限所需的激活函数的精确缩放比例,并证明该随机协方差矩阵由一个我们称之为Neural Covariance SDE(神经协方差随机微分方程)的随机微分方程(SDE)支配。通过模拟实验,我们发现该SDE与有限网络的随机协方差矩阵的分布高度吻合。此外,我们还推导出了基于激活函数的大型塑形网络范数爆炸与消失的充要条件。

英文摘要:

The logit outputs of a feedforward neural network at initialization are conditionally Gaussian, given a random covariance matrix defined by the penultimate layer. In this work, we study the distribution of this random matrix. Recent work has shown that shaping the activation function as network depth grows large is necessary for this covariance matrix to be non-degenerate. However, the current infinite-width-style understanding of this shaping method is unsatisfactory for large depth: infinite-width analyses ignore the microscopic fluctuations from layer to layer, but these fluctuations accumulate over many layers. To overcome this shortcoming, we study the random covariance matrix in the shaped infinite-depth-and-width limit. We identify the precise scaling of the activation function necessary to arrive at a non-trivial limit, and show that the random covariance matrix is governed by a stochastic differential equation (SDE) that we call the Neural Covariance SDE. Using simulations, we show that the SDE closely matches the distribution of the random covariance matrix of finite networks. Additionally, we recover an if-and-only-if condition for exploding and vanishing norms of large shaped networks based on the activation function.

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

↑