The choice of activation function in deep networks has a significant effect on the training dynamics and task performance. At present, the most effective and widely-used activation function is ReLU. However, because of the non-zero mean, negative missing and unbounded output, ReLU is at a potential disadvantage during optimization. To this end, we introduce a novel activation function to manage to overcome the above three challenges. The proposed nonlinearity, namely "Soft-Root-Sign" (SRS), is smooth, non-monotonic, and bounded. Notably, the bounded property of SRS distinguishes itself from most state-of-the-art activation functions. In contrast to ReLU, SRS can adaptively adjust the output by a pair of independent trainable parameters to capture negative information and provide zero-mean property, which leading not only to better generalization performance, but also to faster learning speed. It also avoids and rectifies the output distribution to be scattered in the non-negative real number space, making it more compatible with batch normalization (BN) and less sensitive to initialization. In experiments, we evaluated SRS on deep networks applied to a variety of tasks, including image classification, machine translation and generative modelling. Our SRS matches or exceeds models with ReLU and other state-of-the-art nonlinearities, showing that the proposed activation function is generalized and can achieve high performance across tasks. Ablation study further verified the compatibility with BN and self-adaptability for different initialization.
Comparisons among different stochastic selection of activation layers for convolutional neural networks for healthcare
University of Padua(帕多瓦大学);Università di Bologna(博洛尼亚大学)
生物图像的分类是一项重要的任务,在许多领域具有重要的应用,例如细胞表型识别,细胞器检测和组织病理学分类,并且它可能有助于早期医学诊断,允许自动疾病分类而不需要人类专家。在本文中,我们分类生物医学图像使用集成的神经网络。我们使用ResNet 50架构创建了这个集成,并通过用其他函数替换ReLU来修改其激活层。我们在以下几种中选择我们的激活:ReLU,leaky ReLU,Parametric ReLU,ELU,Adaptive Piecewice Linear Unit,S-Shaped ReLU,Swish,Mish,Mexican Linear Unit,Gaussian Linear Unit,Parametric Deformable Linear Unit,Soft Root Sign(SRS)等。作为基线,我们使用了一个只使用ReLU激活的神经网络集合。我们在几个中小型生物医学图像数据集上测试了我们的网络。我们的结果证明,我们的最好的合奏获得了更好的性能比天真的方法。为了鼓励这项工作的可重复性,所有实验的MATLAB代码将在https://github.com/LorisNanni上共享。
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%的改进。