[Paper Review] Natural-Logarithm-Rectified Activation Function in Convolutional Neural Networks
This paper proposes the Natural-Logarithm-Rectified Linear Unit (NLReLU), a novel activation function that enhances ReLU by applying a parametric natural logarithmic transform to mitigate the dying ReLU and vanishing gradient problems. Experiments show NLReLU improves classification accuracy by 0.16% on MNIST and 2.04% on CIFAR-10 in shallow networks, with a 1.35% average gain on deep CIFAR-10 networks compared to ReLU.
Activation functions play a key role in providing remarkable performance in deep neural networks, and the rectified linear unit (ReLU) is one of the most widely used activation functions. Various new activation functions and improvements on ReLU have been proposed, but each carry performance drawbacks. In this paper, we propose an improved activation function, which we name the natural-logarithm-rectified linear unit (NLReLU). This activation function uses the parametric natural logarithmic transform to improve ReLU and is simply defined as. NLReLU not only retains the sparse activation characteristic of ReLU, but it also alleviates the "dying ReLU" and vanishing gradient problems to some extent. It also reduces the bias shift effect and heteroscedasticity of neuron data distributions among network layers in order to accelerate the learning process. The proposed method was verified across ten convolutional neural networks with different depths for two essential datasets. Experiments illustrate that convolutional neural networks with NLReLU exhibit higher accuracy than those with ReLU, and that NLReLU is comparable to other well-known activation functions. NLReLU provides 0.16% and 2.04% higher classification accuracy on average compared to ReLU when used in shallow convolutional neural networks with the MNIST and CIFAR-10 datasets, respectively. The average accuracy of deep convolutional neural networks with NLReLU is 1.35% higher on average with the CIFAR-10 dataset.
Motivation & Objective
- To address the limitations of ReLU, such as dying ReLU and vanishing gradients, in deep convolutional neural networks.
- To reduce bias shift and heteroscedasticity in neuron activations across network layers to accelerate learning.
- To develop an activation function that maintains ReLU's sparsity while improving gradient flow and model performance.
- To evaluate the proposed NLReLU across diverse network architectures and datasets for robustness and generalization.
Proposed method
- The NLReLU is defined as f(x) = ln(1 + exp(αx)) for x ≥ 0, where α is a learnable parameter, combining the ReLU behavior with a natural logarithmic transformation.
- The parametric form allows the network to learn optimal scaling of the input before applying the logarithmic nonlinearity.
- The function preserves the sparsity of ReLU by outputting zero for negative inputs, maintaining computational efficiency.
- The logarithmic component softens the gradient for large positive values, reducing the risk of dying ReLU and stabilizing training.
- The method is integrated into ten different convolutional neural network architectures across two benchmark datasets: MNIST and CIFAR-10.
- Training is conducted with standard optimization protocols, and performance is evaluated using standard accuracy metrics.
Experimental results
Research questions
- RQ1Can a parametric logarithmic transformation improve the training dynamics of ReLU in deep CNNs?
- RQ2Does NLReLU effectively reduce the dying ReLU problem and vanishing gradient issue compared to standard ReLU?
- RQ3To what extent does NLReLU reduce bias shift and heteroscedasticity in neuron activation distributions across layers?
- RQ4How does NLReLU compare in performance to other established activation functions on standard vision benchmarks?
- RQ5Does NLReLU consistently improve accuracy across varying network depths and architectures?
Key findings
- NLReLU achieves an average accuracy improvement of 0.16% over ReLU on shallow convolutional neural networks using the MNIST dataset.
- On the CIFAR-10 dataset, NLReLU improves average accuracy by 2.04% compared to ReLU in shallow networks.
- For deep convolutional neural networks on CIFAR-10, NLReLU delivers an average accuracy gain of 1.35% over ReLU.
- The proposed NLReLU demonstrates comparable performance to other well-known activation functions such as Leaky ReLU and ELU.
- NLReLU effectively reduces the bias shift and heteroscedasticity in neuron activation distributions, contributing to faster convergence.
- The parametric nature of NLReLU allows it to adaptively learn optimal transformation parameters, enhancing generalization and training stability.
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.