[Paper Review] LiSHT: Non-Parametric Linearly Scaled Hyperbolic Tangent Activation Function for Neural Networks
This paper proposes LiSHT, a non-parametric, linearly scaled hyperbolic tangent activation function that enhances non-linearity and mitigates the dying gradient problem by unbounding the Tanh function. Evaluated on image, vector, and NLP tasks, LiSHT achieves state-of-the-art accuracy improvements—up to 9.48% on CIFAR100 with ResNet—through smoother loss landscapes, symmetric weight distributions, and better activation dynamics compared to ReLU, Swish, and other SOTA activations.
The activation function in neural network introduces the non-linearity required to deal with the complex tasks. Several activation/non-linearity functions are developed for deep learning models. However, most of the existing activation functions suffer due to the dying gradient problem and non-utilization of the large negative input values. In this paper, we propose a Linearly Scaled Hyperbolic Tangent (LiSHT) for Neural Networks (NNs) by scaling the Tanh linearly. The proposed LiSHT is non-parametric and tackles the dying gradient problem. We perform the experiments on benchmark datasets of different type, such as vector data, image data and natural language data. We observe the superior performance using Multi-layer Perceptron (MLP), Residual Network (ResNet) and Long-short term memory (LSTM) for data classification, image classification and tweets classification tasks, respectively. The accuracy on CIFAR100 dataset using ResNet model with LiSHT is improved by 9.48, 3.40, 3.16, 4.26, and 1.17\% as compared to Tanh, ReLU, PReLU, LReLU, and Swish, respectively. We also show the qualitative results using loss landscape, weight distribution and activations maps in support of the proposed activation function.
Motivation & Objective
- To address the dying gradient problem and limited utilization of negative inputs in existing activation functions like ReLU and Tanh.
- To develop a non-parametric activation function that enhances non-linearity while maintaining symmetry and smoothness.
- To improve training stability and convergence by creating a more favorable loss landscape and balanced weight distribution.
- To evaluate the proposed LiSHT across diverse deep learning tasks, including image classification, vector data processing, and sequence modeling.
- To demonstrate superior performance over SOTA activation functions such as ReLU, Swish, PReLU, and LReLU on benchmark datasets.
Proposed method
- LiSHT is derived by linearly scaling the hyperbolic tangent function, transforming it from a bounded [-1, 1] output to an unbounded range, thereby enhancing non-linearity.
- The activation is non-parametric, meaning it has no learnable parameters, ensuring stability and generalization across architectures.
- The function is designed to be symmetric, smooth, and non-monotonic, promoting balanced gradient flow in both positive and negative input regions.
- The method is evaluated using Multi-layer Perceptron (MLP), Residual Networks (ResNet), and Long Short-Term Memory (LSTM) models on diverse datasets.
- Visual analysis includes loss landscape visualization (2D and 3D), weight distribution mapping, and activation map comparisons to validate training dynamics.
- Experiments are conducted on benchmark datasets including MNIST, CIFAR100, and Twitter sentiment classification to assess performance across modalities.
Experimental results
Research questions
- RQ1Can a linearly scaled version of Tanh outperform ReLU and its variants in mitigating the dying gradient problem?
- RQ2How does LiSHT affect the structure of the loss landscape in deep networks, particularly in terms of convergence and non-convexity?
- RQ3To what extent does LiSHT improve weight distribution symmetry and range compared to ReLU and Swish?
- RQ4Does LiSHT enhance activation map quality and feature representation in convolutional and recurrent networks?
- RQ5How does LiSHT compare to SOTA activation functions in accuracy across image, vector, and sequence classification tasks?
Key findings
- On CIFAR100 with ResNet, LiSHT improves accuracy by 9.48% over Tanh, 3.40% over ReLU, 3.16% over PReLU, 4.26% over LReLU, and 1.17% over Swish.
- LiSHT produces smoother and more convex loss landscapes than ReLU and Swish, enabling faster and more stable convergence during training.
- Weight distribution in LiSHT is symmetric and extends to higher absolute values (e.g., -8 to 6), unlike ReLU (biased positive) or Tanh (bounded between -5 and 4).
- Activation maps using LiSHT show less noise and more uniform distribution across feature maps, indicating better feature learning.
- The first and second-order derivatives of LiSHT confirm increased non-linearity compared to standard Tanh and ReLU.
- LiSHT outperforms all baselines in both image classification (ResNet) and sequence modeling (LSTM on tweets), demonstrating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.