Swish-T : Enhancing Swish Activation with Tanh Bias for Improved Neural Network Performance
Abstract
We propose the Swish-T family, an enhancement of the existing non-monotonic activation function Swish. Swish-T is defined by adding a Tanh bias to the original Swish function. This modification creates a family of Swish-T variants, each designed to excel in different tasks, showcasing specific advantages depending on the application context. The Tanh bias allows for broader acceptance of negative values during initial training stages, offering a smoother non-monotonic curve than the original Swish. We ultimately propose the Swish-T function, while Swish-T and Swish-T, byproducts of Swish-T, also demonstrate satisfactory performance. Furthermore, our ablation study shows that using Swish-T as a non-parametric function can still achieve high performance. The superiority of the Swish-T family has been empirically demonstrated across various models and benchmark datasets, including MNIST, Fashion MNIST, SVHN, CIFAR-10, and CIFAR-100. The code is publicly available at https://github.com/ictseoyoungmin/Swish-T-pytorch.
Keywords
Cite
@article{arxiv.2407.01012,
title = {Swish-T : Enhancing Swish Activation with Tanh Bias for Improved Neural Network Performance},
author = {Youngmin Seo and Jinha Kim and Unsang Park},
journal= {arXiv preprint arXiv:2407.01012},
year = {2026}
}
Comments
11 pages, 6 figures Revised the derivative of the sigmoid function from 1-sigmoid to sigmoid(1-sigmoid) for correctness.Updated related equations in Section 3.2. Conclusions to Conclusion in Section 6