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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Rahman, Jamshaid Ul, Zulfiqar, Rubiqa, Khan, Asad, Nimra
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916319982518272
author Rahman, Jamshaid Ul
Zulfiqar, Rubiqa
Khan, Asad
Nimra
author_facet Rahman, Jamshaid Ul
Zulfiqar, Rubiqa
Khan, Asad
Nimra
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08232
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SwishReLU: A Unified Approach to Activation Functions for Enhanced Deep Neural Networks Performance
Rahman, Jamshaid Ul
Zulfiqar, Rubiqa
Khan, Asad
Nimra
Machine Learning
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.
title SwishReLU: A Unified Approach to Activation Functions for Enhanced Deep Neural Networks Performance
topic Machine Learning
url https://arxiv.org/abs/2407.08232