Rethinking Differentiability: A Comparative Study of Smooth vs Non-Smooth Activation Functions in CNNs
Author:
- 21 January 2026
- journal article
- Published by Duzce Universitesi Bilim ve Teknoloji Dergisi in Düzce Üniversitesi Bilim ve Teknoloji Dergisi
- Vol. 14 (1) , 189-198
Abstract
This study re-evaluates the concepts of differentiability and mathematical continuity in activation functions and experimentally investigates the impact of these features on the performance of convolutional neural networks (CNNs). Although differentiable activation functions, such as Swish and Mish, have become prevalent in recent years, the contribution of these features to learning performance remains ambiguous, particularly in shallow architectures. A controlled comparative study was conducted on the CIFAR-10 dataset. Five common activation functions, namely ReLU, Leaky ReLU, Softplus, Swish, and Mish, were evaluated. Each function was trained thrice under the same CNN architecture and training settings, and the classification accuracy and training stability were analyzed in tandem. The findings of this study indicated that ReLU, which is not differentiable at the zero point, achieved the highest average accuracy. In contrast, Leaky ReLU demonstrated a more stable learning behavior with reduced variance. The Swish and Mish functions, which possess differentiable and smooth structures, demonstrated consistent behavior throughout the learning process; however, they did not exhibit the anticipated superiority in terms of accuracy. The Softplus function demonstrated the least favorable performance, attributable to its proclivity for saturating. These findings suggest that, despite the appeal of mathematical differentiability and continuity in theory, they do not offer a direct advantage in terms of CNN performance in practice. The effectiveness of activation functions is predominantly shaped by the architectural structure and learning dynamics. This study proposes an original perspective that emphasizes the prioritization of evaluations based on empirical data over mathematical assumptions when selecting activation functions.Keywords
Funding Information
- This research received no external funding.
This publication has 13 references indexed in Scilit:
- Performance analysis of activation functions in molecular property prediction using Message Passing Graph Neural NetworksChemical Physics, 2025
- A Comparative Study of Modern Activation Functions on Multi-Label CNNs to Predict Genres Based on Movie PostersJurnal Ilmiah Teknik Elektro Komputer dan Informatika, 2024
- PolyLU: A Simple and Robust Polynomial-Based Linear Unit Activation Function for Deep LearningIEEE Access, 2023
- Adaptive Rectified Linear Unit (Arelu) for Classification Problems to Solve Dying Problem in Deep LearningInternational Journal of Advanced Computer Science and Applications, 2023
- Serf: Towards better training of deep neural networks using log-Softplus ERror activation Function2023
- Clustering-Based Interpretation of Deep ReLU Network2022
- Research on Activation Function in Deep Convolutional Neural Network2020
- Adaptive activation functions accelerate convergence in deep and physics-informed neural networksJournal of Computational Physics, 2020
- ReLTanh: An activation function with vanishing gradient resistance for SAE-based DNNs and its application to rotating machinery fault diagnosisNeurocomputing, 2019
- A Convolutional Neural Network Model Based on Improved Softplus Activation Function2019