GELU Activation Function in Deep Learning: A Comprehensive Mathematical Analysis and Performance

Minhyeok Lee
5/20/2023
cs.LGcs.AIcs.CV

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Selecting the most suitable activation function is a critical factor in the effectiveness of deep learning models, as it influences their learning capacity, stability, and computational efficiency. In recent years, the Gaussian Error Linear Unit (GELU) activation function has emerged as a dominant method, surpassing traditional functions such as the Rectified Linear Unit (ReLU) in various applications. This study presents a rigorous mathematical investigation of the GELU activation function, exploring its differentiability, boundedness, stationarity, and smoothness properties in detail. Additionally, we conduct an extensive experimental comparison of the GELU function against a broad range of alternative activation functions, utilizing a residual convolutional network trained on the CIFAR-10, CIFAR-100, and STL-10 datasets as the empirical testbed. Our results demonstrate the superior performance of GELU compared to other activation functions, establishing its suitability for a wide range of deep learning applications. This comprehensive study contributes to a more profound understanding of the underlying mathematical properties of GELU and provides valuable insights for practitioners aiming to select activation functions that optimally align with their specific objectives and constraints in deep learning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lee2023gelu,
  title  = {GELU Activation Function in Deep Learning: A Comprehensive Mathematical Analysis and Performance},
  author = {Minhyeok Lee},
  year   = {2023},
  eprint = {2305.12073},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.12073v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.12073.svg)](https://codeofpaper.com/paper/2305.12073)

Discussion