[Paper Review] Symmetrical Gaussian Error Linear Units (SGELUs)
This paper proposes Symmetrical Gaussian Error Linear Units (SGELU), a novel activation function that combines the stochastic regularization of GELU with symmetrical properties to enable bidirectional optimization and mitigate gradient vanishing. SGELU achieves superior convergence and accuracy over GELU and LiSHT in MNIST classification and auto-encoding tasks, with improved weight distribution and reduced need for batch normalization via efficient min-max normalization.
In this paper, a novel neural network activation function, called Symmetrical Gaussian Error Linear Unit (SGELU), is proposed to obtain high performance. It is achieved by effectively integrating the property of the stochastic regularizer in the Gaussian Error Linear Unit (GELU) with the symmetrical characteristics. Combining with these two merits, the proposed unit introduces the capability of the bidirection convergence to successfully optimize the network without the gradient diminishing problem. The evaluations of SGELU against GELU and Linearly Scaled Hyperbolic Tangent (LiSHT) have been carried out on MNIST classification and MNIST auto-encoder, which provide great validations in terms of the performance, the convergence rate among these applications.
Motivation & Objective
- To address the gradient vanishing problem in deep networks by enhancing activation functions with symmetrical properties.
- To improve model performance by integrating stochastic regularization from GELU with symmetric output behavior.
- To reduce dependency on batch normalization by designing an activation function compatible with lightweight normalization techniques.
- To validate the superiority of SGELU over GELU and LiSHT in classification and auto-encoding tasks.
Proposed method
- Proposes SGELU as a symmetrical variant of GELU using the formulation $ SGELU(x) = \alpha x \cdot \mathrm{erf}\left(\frac{x}{\sqrt{2}}\right) $, where $ \alpha $ is a learnable hyperparameter.
- Introduces a min-max normalization technique applied after SGELU outputs to stabilize training, replacing batch normalization.
- Employs the chain rule to derive gradients and analyze weight updates, showing that SGELU maintains non-zero gradients for negative inputs.
- Uses the Kolmogorov-Smirnov test to validate that SGELU weights follow a normal distribution, enhancing model robustness.
- Compares training dynamics and loss convergence across ReLU, ELU, GELU, LiSHT, and SGELU using MNIST classification and auto-encoder benchmarks.
- Analyzes the incompatibility of SGELU with dropout due to its non-sparse activation in negative regions.
Experimental results
Research questions
- RQ1Can symmetrical activation functions improve gradient flow and convergence in deep networks compared to GELU and LiSHT?
- RQ2How does the integration of stochastic regularization and symmetry in SGELU affect weight distribution and model generalization?
- RQ3Does SGELU reduce the need for batch normalization, and if so, what alternative normalization technique enables comparable or better performance?
- RQ4Why does SGELU perform poorly with dropout, and how does its activation behavior differ from ReLU and GELU in this context?
- RQ5To what extent does SGELU outperform GELU and LiSHT in terms of accuracy and convergence speed on MNIST classification and auto-encoding tasks?
Key findings
- SGELU achieved faster convergence and higher test accuracy than GELU and LiSHT on MNIST classification, with training and test loss decreasing more smoothly.
- In MNIST auto-encoding, SGELU outperformed GELU and LiSHT in both training and testing median results across five runs.
- The weights of SGELU networks passed the Kolmogorov-Smirnov normality test in seven out of eight hidden layers, compared to only two for GELU, indicating better weight distribution.
- SGELU achieved comparable or better accuracy than GELU without batch normalization, using min-max normalization instead, which is computationally cheaper.
- The use of min-max normalization after SGELU reduced training time significantly compared to batch normalization, due to lower computational complexity.
- SGELU showed poor compatibility with dropout, as its non-zero negative activations prevent neuron sparsity, making dropout less effective.
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.