GELU
Also known as: Gaussian Error Linear Unit
Category: Neural Networks & Architectures
A smooth activation function that weights inputs by their probability of being positive under a Gaussian distribution.
Full Explanation
GELU (Gaussian Error Linear Unit) is an activation function defined as f(x) = x * Phi(x), where Phi is the cumulative distribution function of the standard normal distribution. Unlike ReLU, which has a hard cutoff at zero, GELU smoothly transitions between suppressing and passing inputs, weighting them by how likely they are to be positive. This stochastic interpretation gives GELU a mild regularization effect. GELU has become the default activation function in transformer-based models, including BERT, GPT, and most modern large language models. It consistently provides small but meaningful improvements over ReLU for natural language processing tasks. GELU is approximately equivalent to x * sigmoid(1.702 * x), which is used for efficient computation.
Related Terms
More in Neural Networks & Architectures
Explore More
- AI Tools Library — Discover AI tools related to GELU
- AI Education — Courses to learn about Neural Networks & Architectures
- AI News — Latest news and updates