[Paper Review] Activate or Not: Learning Customized Activation
This paper proposes ACON, a learnable activation function that dynamically decides whether to activate neurons or not, improving performance across models. By approximating Maxout with a smooth, differentiable function, ACON outperforms ReLU and Swish, achieving 6.7% and 1.8% top-1 accuracy gains on MobileNet-0.25 and ResNet-152, respectively, with meta-ACON enabling explicit learning of the activation switch for further gains.
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.
Motivation & Objective
- To understand the mechanism behind NAS-searched Swish and improve upon it.
- To develop a general, smooth approximation to the Maxout family of activation functions.
- To design a learnable activation that explicitly learns when to activate or inactivate neurons.
- To improve performance across small, large, and highly optimized models without added computational cost.
- To demonstrate generalization of the proposed activation on object detection and semantic segmentation tasks.
Proposed method
- Propose ACON as a smooth, differentiable approximation to Maxout, with Swish as a special case.
- Introduce learnable upper and lower bounds in the gradient to overcome fixed bound limitations.
- Design a switching factor that decays to zero, enabling dynamic transition between non-linear and linear behavior.
- Develop meta-ACON to explicitly learn the activation decision via a meta-learner, improving training stability.
- Apply ACON and meta-ACON in various architectures, including MobileNet, ResNet, RetinaNet, and PSPNet.
- Transfer ACON to object detection and semantic segmentation by replacing ReLU with meta-ACON in backbone networks.
Experimental results
Research questions
- RQ1How does the NAS-searched Swish activation function work, and can it be interpreted as a smooth approximation to ReLU?
- RQ2Can the Maxout family be generalized into a smooth, learnable activation function that improves model performance?
- RQ3Can a learnable switching mechanism between linear and non-linear behavior enhance model accuracy?
- RQ4Does meta-ACON, which explicitly learns the activation decision, outperform standard gradient-based optimization of the switching factor?
- RQ5Can ACON be effectively transferred to diverse tasks such as object detection and semantic segmentation?
Key findings
- ACON improves ImageNet top-1 accuracy by 6.7% on MobileNet-0.25 and 1.8% on ResNet-152 compared to ReLU.
- Meta-ACON achieves a 1.3% improvement on ResNet-152 and a 1.7% improvement on SENet-154, outperforming Swish and SENet.
- On COCO object detection, meta-ACON achieves 36.5 mAP, a 1.3-point gain over ReLU and 0.7-point gain over Swish.
- In semantic segmentation on CityScape, meta-ACON achieves 78.3 mean IU, a 1.1-point improvement over ReLU and 0.8-point gain over Swish.
- ACON shows consistent performance gains across small models (e.g., MobileNet-0.25) and large, highly optimized models (e.g., ResNet-152, SENet-154).
- The method generalizes well, with no significant computational overhead, and is transferable to detection and segmentation tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.