[Paper Review] SMU: smooth activation function for deep networks using smoothing maximum technique
This paper proposes SMU (Smooth Maximum Unit), a novel smooth activation function derived from the smoothing maximum technique to approximate Leaky ReLU and other non-smooth activations. By using smooth approximations of the absolute value function—specifically $ x\text{erf}(\mu x) $ and $ \sqrt{x^2 + \mu^2} $—SMU achieves better training dynamics and performance, showing a 6.22% accuracy gain on CIFAR100 with ShuffleNet V2 compared to ReLU.
Deep learning researchers have a keen interest in proposing two new novel activation functions which can boost network performance. A good choice of activation function can have significant consequences in improving network performance. A handcrafted activation is the most common choice in neural network models. ReLU is the most common choice in the deep learning community due to its simplicity though ReLU has some serious drawbacks. In this paper, we have proposed a new novel activation function based on approximation of known activation functions like Leaky ReLU, and we call this function Smooth Maximum Unit (SMU). Replacing ReLU by SMU, we have got 6.22% improvement in the CIFAR100 dataset with the ShuffleNet V2 model.
Motivation & Objective
- To address the dying ReLU problem and improve training dynamics in deep neural networks by introducing a smooth, differentiable activation function.
- To develop a unified activation function that can approximate ReLU, Leaky ReLU, GELU, and Maxout through smooth approximation of the maximum function.
- To reduce computational overhead compared to parameter-heavy alternatives like PAU while maintaining or improving performance.
- To evaluate the proposed SMU across diverse deep learning tasks, including image classification, object detection, and semantic segmentation.
Proposed method
- Proposes SMU as a smooth approximation of the maximum function using the identity $ \text{max}(x_1, x_2) = \frac{(x_1 + x_2) + |x_1 - x_2|}{2} $, replacing the non-differentiable |x| with smooth alternatives.
- Employs two smooth approximations for |x|: $ x\text{erf}(\mu x) $ and $ \sqrt{x^2 + \mu^2} $, leading to two variants: SMU and SMU-1.
- Derives SMU as $ f_1(x_1, x_2; \mu) = \frac{(x_1 + x_2) + (x_1 - x_2)\text{erf}(\mu(x_1 - x_2))}{2} $, enabling smooth, trainable, and differentiable activation behavior.
- Demonstrates that GELU is a special case of SMU under specific parameter settings, establishing theoretical connections between existing and proposed functions.
- Introduces a differentiable, parameter-free activation function that avoids the complexity of trainable activation units like PAU while maintaining performance.
- Validates the method through extensive ablation and comparison across multiple architectures and datasets, including CIFAR10/100, Pascal VOC, and CityScapes.
Experimental results
Research questions
- RQ1Can a smooth approximation of the maximum function serve as an effective, differentiable activation function that outperforms ReLU and its variants?
- RQ2How does SMU compare to state-of-the-art smooth activation functions like Swish and GELU in terms of accuracy and training stability across diverse deep learning tasks?
- RQ3To what extent does the smooth approximation of Leaky ReLU via SMU mitigate the dying ReLU problem and improve network performance?
- RQ4Does SMU maintain high performance while avoiding the high parameter count and computational cost of other advanced activation units like PAU?
- RQ5Can SMU generalize across different network architectures and tasks, including image classification, object detection, and semantic segmentation?
Key findings
- SMU achieves a 6.22% top-1 accuracy improvement on CIFAR100 using ShuffleNet V2, with a test accuracy of 70.60% compared to ReLU’s 64.41%.
- On CIFAR10, SMU improves top-1 accuracy by up to 1.33% over ReLU across multiple models, including a 1.28% gain on MobileNet V2 (95.50% vs. 94.22%).
- In object detection on Pascal VOC using SSD-300 with VGG-16, SMU achieves 78.1% mAP, outperforming ReLU (77.2%) and matching or exceeding Swish and GELU.
- In semantic segmentation on CityScapes, SMU achieves 81.71% pixel accuracy and 71.45% mIOU, surpassing ReLU (79.49% and 69.31%) and outperforming Swish and GELU.
- SMU-1, the second variant, consistently performs within 0.3% of SMU across all benchmarks, indicating robustness and stability of the smoothing approach.
- The proposed SMU function is shown to be a generalization of GELU, ReLU, and Leaky ReLU under specific parameter settings, confirming its theoretical flexibility and expressiveness.
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.