激活与否:学习自定义激活
Activate or Not: Learning Customized Activation
摘要:
我们提出了一个简单、有效、通用的激活函数,我们称之为ACON,它学习是否激活神经元。有趣的是,我们发现最近流行的NAS搜索激活Swish可以被解释为对ReLU的平滑近似。直观地,以同样的方式,我们近似更一般的Maxout家族到我们的新的ACON家族,这显着提高了性能,使Swish成为ACON的特殊情况。接下来,我们提出了元ACON,它显式地学习优化非线性(激活)和线性(激活)之间的参数切换,并提供了一个新的设计空间。通过简单地改变激活函数,我们在小模型和高度优化的大模型上都显示了它的有效性(例如,它在MobileNet-0.25和ResNet-152上分别将ImageNet的top-1准确率提高了6.7%和1.8%)。此外,我们的新ACON可以自然地转移到目标检测和语义分割,表明ACON是一个有效的替代在各种任务。代码可在https://github.com/nmaac/acon上获得。
英文摘要:
We present a simple, effective, and general activation function we term ACON which learns to activate the neurons or not. Interestingly, we find Swish, the recent popular NAS-searched activation, can be interpreted as a smooth approximation to ReLU. Intuitively, in the same way, we approximate the more general Maxout family to our novel ACON family, which remarkably improves the performance and makes Swish a special case of ACON. Next, we present meta-ACON, which explicitly learns to optimize the parameter switching between non-linear (activate) and linear (inactivate) and provides a new design space. By simply changing the activation function, we show its effectiveness on both small models and highly optimized large models (e.g. it improves the ImageNet top-1 accuracy rate by 6.7% and 1.8% on MobileNet-0.25 and ResNet-152, respectively). Moreover, our novel ACON can be naturally transferred to object detection and semantic segmentation, showing that ACON is an effective alternative in a variety of tasks. Code is available at https://github.com/nmaac/acon.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。