SwishReLU: A Unified Approach to Activation Functions for Enhanced Deep Neural Networks Performance

Jamshaid Ul Rahman, Rubiqa Zulfiqar, Asad Khan, Nimra
7/11/2024
cs.LG

No confident code implementation found for this paper.

Abstract

ReLU, a commonly used activation function in deep neural networks, is prone to the issue of "Dying ReLU". Several enhanced versions, such as ELU, SeLU, and Swish, have been introduced and are considered to be less commonly utilized. However, replacing ReLU can be somewhat challenging due to its inconsistent advantages. While Swish offers a smoother transition similar to ReLU, its utilization generally incurs a greater computational burden compared to ReLU. This paper proposes SwishReLU, a novel activation function combining elements of ReLU and Swish. Our findings reveal that SwishReLU outperforms ReLU in performance with a lower computational cost than Swish. This paper undertakes an examination and comparison of different types of ReLU variants with SwishReLU. Specifically, we compare ELU and SeLU along with Tanh on three datasets: CIFAR-10, CIFAR-100 and MNIST. Notably, applying SwishReLU in the VGG16 model described in Algorithm 2 yields a 6% accuracy improvement on the CIFAR-10 dataset.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{rahman2024swishrelu,
  title  = {SwishReLU: A Unified Approach to Activation Functions for Enhanced Deep Neural Networks Performance},
  author = {Jamshaid Ul Rahman and Rubiqa Zulfiqar and Asad Khan and Nimra},
  year   = {2024},
  eprint = {2407.08232},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.08232v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.08232.svg)](https://codeofpaper.com/paper/2407.08232)

Discussion