Smoothing piecewise linear activation functions based on mollified square root functions
Authors:
- Tony Yuxiang PanTPTony Yuxiang Pan
- Guangyu YangGYGuangyu Yang
- Jieyu DingJDJieyu Ding
- 1 January 2024
- journal article
- research article
- Published by American Institute of Mathematical Sciences (AIMS) in Mathematical Foundations of Computing
- Vol. 7 (4) , 578-601
Abstract
Activation functions(AFs) are crucial components in neural networks for deep learning. Piecewise linear functions(PLFs) have been widely employed to act as AFs, thanks to their computational efficiencies and simplicities. However, PLFs are not completely differentiable, have potential problems of training. The analytical expressions of AFs based on pure PLFs can be smoothed via mollified square root function(MSRF) method, inspired by SquarePlus method of ReLU approximation. In this paper, we propose a proposition defining AFs as maximum or minimum of two PLFs, and transform the results into a smoothed function via MSRF method. Based on MSRF, we modify the well-known AFs composed of two PLFs, three or four PLFs to regularized ones systematically, including ReLU, LReLU, vReLU, Step, Biplolar, BReLU(Bounded ReLU), Htanh(Hard Tanh), Pan(Frying pan function), STF(Soft Thresholding Formulas), HTF(Soft Thresholding Formulas), SReLU(S-shaped ReLU), MReLU(Mexican hat type ReLU), TSF(Trapezoid-shaped function) functions. Additionally, according to the equivalences of SquarePlus and SoftPlus functions, some classic compound AFs, such as ELU, Swish, Mish, SoftSign Logish and DLU functions, can be expressed via MSRF method also. The derivatives of their mollified versions demonstrate their smoothness properties. The proposed method can be extended to AFs composed of multiple PLFs easily, which will be investigated deeply in the future.Keywords
This publication has 19 references indexed in Scilit:
- Logish: A new nonlinear nonmonotonic activation function for convolutional neural networkNeurocomputing, 2021
- A survey on modern trainable activation functionsNeural Networks, 2021
- Ensemble of convolutional neural networks trained with different activation functionsExpert Systems with Applications, 2021
- Algorithm Unrolling: Interpretable, Efficient Deep Learning for Signal and Image ProcessingIEEE Signal Processing Magazine, 2021
- A survey of the recent architectures of deep convolutional neural networksArtificial Intelligence Review, 2020
- A comparative performance analysis of different activation functions in LSTM networks for classificationNeural Computing and Applications, 2017
- Bounded activation functions for enhanced training stability of deep neural networks on visual pattern recognition problemsNeurocomputing, 2016
- Fast Global Minimization of the Active Contour/Snake ModelJournal of Mathematical Imaging and Vision, 2007
- Approximation by superpositions of a sigmoidal functionMathematics of Control, Signals, and Systems, 1989
- Multilayer feedforward networks are universal approximatorsNeural Networks, 1989