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

使用稀疏诱导激活的深度神经网络初始化

Deep Neural Network Initialization with Sparsity Inducing Activations

University of Oxford(牛津大学);The Alan Turing Institute(阿兰·图灵研究所)

Ilan Price, Nicholas Daultry Ball, Samuel C. H. Lam, Adam C. Jones, Jared Tanner

AI总结:

本文利用大宽度高斯过程极限分析稀疏诱导激活在随机初始化时的行为,证明移位ReLU和软阈值函数存在训练不稳定问题,并提出幅度裁剪方法加以克服,实验表明在稀疏度高达85%时仍能保持接近完整的准确率。

摘要:

在训练和推理过程中诱导并利用稀疏激活是提高深度网络计算效率的一条有前景的途径,随着网络规模持续增长及其应用日益广泛,这一点变得越来越重要。本文利用大宽度高斯过程极限来分析在随机初始化时,能够在隐藏输出中诱导稀疏性的非线性激活函数的行为。我们证明了此前未被报道的一种训练不稳定形式,针对的是两个可以说是最自然的隐藏层稀疏化候选方案:移位ReLU(当$τ\ge 0$时,$ϕ(x)=\max(0, x-τ)$)和软阈值函数(当$|x|\leτ$时,$ϕ(x)=0$;当$|x|>τ$时,$ϕ(x)=x-\text{sign}(x)τ$)。我们表明,通过在与相关高斯过程方差图的形状所规定的水平上裁剪非线性激活的幅度,可以克服这种不稳定性。数值实验验证了该理论,并表明所提出的幅度裁剪稀疏化激活函数可以在训练和测试分数稀疏度高达85%的情况下进行训练,同时保持接近完整的准确率。

英文摘要:

Inducing and leveraging sparse activations during training and inference is a promising avenue for improving the computational efficiency of deep networks, which is increasingly important as network sizes continue to grow and their application becomes more widespread. Here we use the large width Gaussian process limit to analyze the behaviour, at random initialization, of nonlinear activations that induce sparsity in the hidden outputs. A previously unreported form of training instability is proven for arguably two of the most natural candidates for hidden layer sparsification; those being a shifted ReLU ($ϕ(x)=\max(0, x-τ)$ for $τ\ge 0$) and soft thresholding ($ϕ(x)=0$ for $|x|\leτ$ and $x-\text{sign}(x)τ$ for $|x|>τ$). We show that this instability is overcome by clipping the nonlinear activation magnitude, at a level prescribed by the shape of the associated Gaussian process variance map. Numerical experiments verify the theory and show that the proposed magnitude clipped sparsifying activations can be trained with training and test fractional sparsity as high as 85\% while retaining close to full accuracy.

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

↑