Searching for Activation Functions
Prajit Ramachandran, Barret Zoph, Quoc V. Le

TL;DR
This paper introduces a novel activation function called Swish, discovered through automated search techniques, which outperforms ReLU on deep models across various datasets, including ImageNet.
Contribution
The paper presents a method to automatically discover new activation functions, resulting in Swish, which improves deep network performance over ReLU.
Findings
Swish outperforms ReLU on ImageNet classification tasks.
Replacing ReLU with Swish improves accuracy by up to 0.9%.
Swish is simple and easy to implement in existing models.
Abstract
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, , which we name Swish, tends to work better than ReLU on deeper models across…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDomain Adaptation and Few-Shot Learning · Adversarial Robustness in Machine Learning · Advanced Neural Network Applications
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Sigmoid Linear Unit · Sigmoid Activation · (FiLe@Against@Claim)How do I file a claim against Expedia? · *Communicated@Fast*How Do I Communicate to Expedia?
