We study the necessary and sufficient complexity of ReLU neural networks---in terms of depth and number of weights---which is required for approximating classifier functions in $L^2$. As a model class, we consider the set $\mathcal{E}^β(\mathbb R^d)$ of possibly discontinuous piecewise $C^β$ functions $f : [-1/2, 1/2]^d \to \mathbb R$, where the different smooth regions of $f$ are separated by $C^β$ hypersurfaces. For dimension $d \geq 2$, regularity $β> 0$, and accuracy $\varepsilon > 0$, we construct artificial neural networks with ReLU activation function that approximate functions from $\mathcal{E}^β(\mathbb R^d)$ up to $L^2$ error of $\varepsilon$. The constructed networks have a fixed number of layers, depending only on $d$ and $β$, and they have $O(\varepsilon^{-2(d-1)/β})$ many nonzero weights, which we prove to be optimal. In addition to the optimality in terms of the number of weights, we show that in order to achieve the optimal approximation rate, one needs ReLU networks of a certain depth. Precisely, for piecewise $C^β(\mathbb R^d)$ functions, this minimal depth is given---up to a multiplicative constant---by $β/d$. Up to a log factor, our constructed networks match this bound. This partly explains the benefits of depth for ReLU networks by showing that deep networks are necessary to achieve efficient approximation of (piecewise) smooth functions. Finally, we analyze approximation in high-dimensional spaces where the function $f$ to be approximated can be factorized into a smooth dimension reducing feature map $τ$ and classifier function $g$---defined on a low-dimensional feature space---as $f = g \circ τ$. We show that in this case the approximation rate depends only on the dimension of the feature space and not the input dimension.
SMU: smooth activation function for deep networks using smoothing maximum technique
深度学习研究人员对提出两种新的激活函数有浓厚的兴趣,它们可以提高网络性能。激活函数的良好选择可以在改善网络性能方面具有显著的效果。手工激活是神经网络模型中最常见的选择。ReLU是深度学习社区中最常见的选择,因为它的简单性,尽管ReLU有一些严重的缺点。在本文中,我们提出了一种新的激活函数,它基于对Leaky ReLU等已知激活函数的近似,我们称之为Smooth Maximum Unit(SMU)。用SMU代替ReLU,我们使用ShuffleNet V2模型在CIFAR100数据集上获得了6.22%的改进。
Testing Stationarity Concepts for ReLU Networks: Hardness, Regularity, and Robust Algorithms
The Chinese University of Hong Kong(香港中文大学)
我们研究了具有ReLU激活函数的神经网络的经验损失的平稳性测试的计算问题。我们的贡献是:硬度:我们发现,检查一定的一阶近似平稳概念的分段线性函数是co-NP-hard。这意味着测试现代非光滑神经网络的某种平稳性概念通常在计算上是困难的。作为推论,我们证明了测试abs-正规形式的函数的所谓一阶极小性是co-NP-完全的,这是由Griewank和Walther(2019,SIAM J. Optim.,第29卷,第284页)。规律性:我们建立了一个充要条件的有效性的等式型次微分链式法则的Clarke,Fréchet,和限制次微分的经验损失的双层ReLU网络。这个新的条件是简单和有效的检查。鲁棒算法:我们引入了一种算法方案来测试Clarke和Fréchet次微分的近似平稳性。当测试点足够接近平稳点且满足一定条件时,我们的方案不会产生假阳性或假阴性误差。这是针对双层ReLU网络的第一个实用且强大的平稳性测试方法。