[Paper Review] Improving Deep Learning by Inverse Square Root Linear Units (ISRLUs)
This paper introduces the Inverse Square Root Linear Unit (ISRLU), a novel activation function that improves deep learning by enabling faster convergence and better generalization than ReLU and ELU. ISRLU achieves this through smooth, differentiable negative saturation with lower computational cost than ELU, particularly benefiting CPU and hardware-optimized inference in CNNs and RNNs.
We introduce the "inverse square root linear unit" (ISRLU) to speed up learning in deep neural networks. ISRLU has better performance than ELU but has many of the same benefits. ISRLU and ELU have similar curves and characteristics. Both have negative values, allowing them to push mean unit activation closer to zero, and bring the normal gradient closer to the unit natural gradient, ensuring a noise-robust deactivation state, lessening the over fitting risk. The significant performance advantage of ISRLU on traditional CPUs also carry over to more efficient HW implementations on HW/SW codesign for CNNs/RNNs. In experiments with TensorFlow, ISRLU leads to faster learning and better generalization than ReLU on CNNs. This work also suggests a computationally efficient variant called the "inverse square root unit" (ISRU) which can be used for RNNs. Many RNNs use either long short-term memory (LSTM) and gated recurrent units (GRU) which are implemented with tanh and sigmoid activation functions. ISRU has less com- putational complexity but still has a similar curve to tanh and sigmoid.
Motivation & Objective
- To address the limitations of ReLU and ELU in deep learning by introducing a new activation function with improved training dynamics.
- To reduce computational overhead in activation functions, especially as convolutional operations become more efficient.
- To explore the feasibility and performance of ISRLU in both CNNs and RNNs, including hardware-optimized implementations.
- To evaluate ISRLU's ability to reduce bias shift and improve generalization through negative activation values and smooth gradients.
Proposed method
- Proposes ISRLU as a piecewise function: f(x) = x for x ≥ 0, and f(x) = x / √(1 + αx²) for x < 0, with α as a learnable hyperparameter.
- Derives the first derivative as f’(x) = 1 for x ≥ 0, and f’(x) = [1 / √(1 + αx²)]³ for x < 0, ensuring smooth gradients.
- Introduces ISRU as a variant for RNNs, defined as f(x) = x / √(1 + αx²), with similar functional form but no identity for positive inputs.
- Employs standard training protocols with ADAM optimizer, weight initialization via truncated normal distribution, and batch normalization in experiments.
- Compares ISRLU performance against ReLU, ELU, and ISRU across multiple CNN and RNN architectures on MNIST.
- Evaluates computational efficiency using cycles per output element on Intel Xeon Platinum 8160, showing ISRLU’s advantage over ELU in activation cost.
Experimental results
Research questions
- RQ1Can ISRLU outperform ReLU and ELU in terms of training speed and generalization in deep CNNs?
- RQ2Does the lower computational complexity of ISRLU compared to ELU translate into measurable performance gains on CPUs and in hardware-optimized settings?
- RQ3Can ISRLU effectively reduce bias shift and improve mean activation centering toward zero, similar to ELU?
- RQ4Is the ISRU variant suitable as a replacement for tanh and sigmoid in RNNs like LSTM and GRU, given its computational efficiency?
- RQ5How does the learnable hyperparameter α in ISRLU affect model performance and convergence across different network depths and architectures?
Key findings
- On MNIST, ISRLU with α=1.0 and α=3.0 achieved test accuracies of 99.30% and 99.32%, respectively, outperforming ReLU (99.17%) and ELU (99.09%) under similar conditions.
- ISRLU networks achieved lower cross-entropy loss (2.308 for α=3.0) compared to ReLU (2.644) and ELU (2.395), indicating better generalization.
- The training error for ISRLU decreased more rapidly than for ReLU and ELU, demonstrating faster convergence during optimization.
- ISRLU showed a 3x to 6x speedup over tanh and comparable or better performance than sigmoid in ISRU-based RNNs, depending on x86 architecture.
- The computational cost of ISRLU was significantly lower than ELU, with cycles per output element reduced to ~0.51 for 3x1 and 1x3 Inception-style filters.
- The ISRLU’s smooth, continuous derivatives and negative saturation behavior help reduce bias shift and improve gradient flow, contributing to faster learning.
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.