深度网络中激活函数的选择对训练动态和任务性能有显著影响。目前,最成功和广泛使用的激活函数是整流线性单元(ReLU)。尽管已经提出了各种手工设计的ReLU替代方案,但由于收益不一致,没有一个能够成功取代它。在这项工作中,我们建议利用自动搜索技术来发现新的激活函数。使用穷举和基于强化学习的搜索的组合,我们发现了多个新的激活函数。我们验证的搜索的有效性进行实证评估与最好的发现激活函数。我们的实验表明,最好的激活函数$f(x) = x \cdot \text{sigmoid}(βx)$,我们将其命名为Swish,在许多具有挑战性的数据集上,在更深层次的模型上往往比ReLU更好地工作。例如,简单地将ReLU替换为Swish单元,可以将Mobile NASNet-A和Inception-ResNet-v2的前1分类准确率分别提高0.9%和0.6%。Swish的简单性及其与ReLU的相似性使从业者可以轻松地在任何神经网络中用Swish单元替换ReLU。
英文摘要:
The choice of activation functions in deep networks has a significant effect on the training dynamics and task performance. Currently, the most successful and widely-used activation function is the Rectified Linear Unit (ReLU). Although various hand-designed alternatives to ReLU have been proposed, none have managed to replace it due to inconsistent gains. In this work, we propose to leverage automatic search techniques to discover new activation functions. Using a combination of exhaustive and reinforcement learning-based search, we discover multiple novel activation functions. We verify the effectiveness of the searches by conducting an empirical evaluation with the best discovered activation function. Our experiments show that the best discovered activation function, $f(x) = x \cdot \text{sigmoid}(βx)$, which we name Swish, tends to work better than ReLU on deeper models across a number of challenging datasets. For example, simply replacing ReLUs with Swish units improves top-1 classification accuracy on ImageNet by 0.9\% for Mobile NASNet-A and 0.6\% for Inception-ResNet-v2. The simplicity of Swish and its similarity to ReLU make it easy for practitioners to replace ReLUs with Swish units in any neural network.
In neural networks , non-linearity is introduced by activation functions . One commonly used activation function is Rectified Linear Unit (ReLU). ReLU has been a popular choice as an activation but has flaws. State-of-the-art functions like Swish and Mish are now gaining attention as a better choice as they combat many flaws presented by other activation functions . CoLU is an activation function similar to Swish and Mish in properties. It is defined as f(x)=x/(1-xe^-(x+e^x)). It is smooth, continuously differentiable, unbounded above, bounded below, non-saturating, and non-monotonic. Based on…
EIS -- a family of activation functions combining Exponential, ISRU, and Softplus
IIIT Delhi(德里英迪拉·甘地信息技术学院);Shaheed Bhagat Singh College(沙希德·巴格特·辛格学院);University of Delhi(德里大学)
Activation functions play a pivotal role in the function learning using neural networks . The non-linearity in the learned function is achieved by repeated use of the activation function . Over the years, numerous activation functions have been proposed to improve accuracy in several tasks. Basic functions like ReLU, Sigmoid, Tanh, or Softplus have been favorite among the deep learning community because of their simplicity. In recent years, several novel activation functions arising from these basic functions have been proposed, which have improved accuracy in some challenging datasets. We pro…
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%的改进。
Adaptive Parametric Activation: Unifying and Generalising Activation Functions Across Tasks
Huawei Noah’s Ark Lab(华为诺亚实验室);Department of Computing, Imperial College London(帝国理工学院计算机系);Department of Computer Science, University of Liverpool(利物浦大学计算机科学系);Department of Engineering, King’s College London(伦敦国王学院工程系)
A New Artificial Neuron Proposal with Trainable Simultaneous Local and Global Activation Function
Universidade Federal Rural de Pernambuco(伯南布哥联邦农村大学);Harvard University(哈佛大学)
The activation function plays a fundamental role in the artificial neural network learning process. However, there is no obvious choice or procedure to determine the best activation function , which depends on the problem. This study proposes a new artificial neuron, named global-local neuron, with a trainable activation function composed of two components, a global and a local. The global component term used here is relative to a mathematical function to describe a general feature present in all problem domain. The local component is a function that can represent a localized behavior, like a …
Data-aware customization of activation functions reduces neural network error
University of Idaho(爱达荷大学);Institute for Modeling Collaboration and Innovation, University of Idaho(爱达荷大学建模协作与创新研究所)
Activation functions play critical roles in neural networks , yet current off-the-shelf neural networks pay little attention to the specific choice of activation functions used. Here we show that data-aware customization of activation functions can result in striking reductions in neural network error. We first give a simple linear algebraic explanation of the role of activation functions in neural networks ; then, through connection with the Diaconis-Shahshahani Approximation Theorem, we propose a set of criteria for good activation functions . As a case study, we consider regression tasks wi…
How important are activation functions in regression and classification? A survey, performance comparison, and future directions
Brown University(布朗大学)
Inspired by biological neurons, the activation functions play an essential part in the learning process of any artificial neural network commonly used in many real-world problems. Various activation functions have been proposed in the literature for classification as well as regression tasks. In this work, we survey the activation functions that have been employed in the past as well as the current state-of-the-art. In particular, we present various developments in activation functions over the years and the advantages as well as disadvantages or limitations of these activation functions . We …