A learnable activation function based on orthogonal Legendre wavelets
Authors:
- 17 February 2025
- journal article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Wavelets, Multiresolution and Information Processing
- Vol. 23 (03)
Abstract
Activation functions play a crucial role in introducing nonlinearity into neural networks. Previous approaches, such as rectifying neurons and logistic sigmoid neurons, primarily focused on constructing activation functions based on biological models. These methods have achieved considerable success in various machine learning tasks. However, they are inadequate in addressing two critical issues: Gradient Vanishing and Dead ReLU. This research demonstrates that employing Legendre orthogonal wavelets can effectively alleviate these issues and yield comparable or superior performance compared to rectifying neurons. In this study, the input features prior to the activation layer are normalized to the range [ ]. Each mini-interval within this range is then mapped using a set of orthogonal Legendre wavelets. Subsequently, the activation function produces a weighted sum of all the mini-intervals. By modifying typical models used in image classification, this paper found that incorporating Legendre wavelets resulted in significant improvements in network accuracy. With minor adjustments in the hidden layers, ResNet50 achieved an increase of +5.17% in accuracy for CIFAR10 classification. Similarly, in CIFAR100 classification, the use of Legendre wavelets in Swin Transformers led to a +3.51% boost in accuracy.Keywords
Funding Information
- Science and Technology Research Program of Chongqing Municipal Education Commission (2022CJZ042)
- the Scientific Research Foundation of Chongqing University of Technology (2020ZDZ026)
This publication has 42 references indexed in Scilit:
- Treatment effects on event-related EEG potentials and oscillations in Alzheimer's diseaseInternational Journal of Psychophysiology, 2022
- Particle Swarm Optimization Algorithm and Its Applications: A Systematic ReviewArchives of Computational Methods in Engineering, 2022
- A Legendre polynomial based activation function: An aid for modeling of max poolingDigital Signal Processing, 2021
- Nonlinear Approximation and (Deep) $\mathrm {ReLU}$ NetworksConstructive Approximation, 2021
- Wavelet collocation method based on Legendre polynomials and its application in solving the stochastic fractional integro-differential equationsJournal of Computational Science, 2021
- Brain tumor classification in magnetic resonance image using hard swish-based RELU activation function-convolutional neural networkNeural Computing and Applications, 2021
- Recurrent Neural Networks for Time Series Forecasting: Current status and future directionsInternational Journal of Forecasting, 2021
- Attention-based VGG-16 model for COVID-19 chest X-ray image classificationApplied Intelligence, 2020
- Detection of abnormal brain in MRI via improved AlexNet and ELM optimized by chaotic bat algorithmNeural Computing and Applications, 2020
- Numerical solution of nonlinear fractal‐fractional optimal control problems by Legendre polynomialsMathematical Methods in the Applied Sciences, 2020