Gompertz Linear Units: Leveraging Asymmetry for Enhanced Learning Dynamics

Indrashis Das, Mahmoud Safari, Steven Adriaensen, Frank Hutter
2/5/2025
cs.LGcs.AIcs.CV

No official code found. Best implementation: automl/GoLU (28 stars, MIT, last commit 2025-10-04).

Abstract

Activation functions are fundamental elements of deep learning architectures as they significantly influence training dynamics. ReLU, while widely used, is prone to the dying neuron problem, which has been mitigated by variants such as LeakyReLU, PReLU, and ELU that better handle negative neuron outputs. Recently, self-gated activations like GELU and Swish have emerged as state-of-the-art alternatives, leveraging their smoothness to ensure stable gradient flow and prevent neuron inactivity. In this work, we introduce the Gompertz Linear Unit (GoLU), a novel self-gated activation function defined as $\mathrm{GoLU}(x) = x \, \mathrm{Gompertz}(x)$, where $\mathrm{Gompertz}(x) = e^{-e^{-x}}$. The GoLU activation leverages the right-skewed asymmetry in the Gompertz function to reduce variance in the latent space more effectively compared to GELU and Swish, while preserving robust gradient flow. Extensive experiments across diverse tasks, including Image Classification, Language Modeling, Semantic Segmentation, Object Detection, Instance Segmentation, and Diffusion, highlight GoLU's superior performance relative to state-of-the-art activation functions, establishing GoLU as a robust alternative to existing activation functions.

View on arXivView PDF

Code Implementations(1)

automl/GoLUCommunity100%
MIT

GoLU, a novel, self-gated and element-wise activation function that performs well over a diverse set of tasks

281C++, CudaJan 17, 20251 years agoMIT

Similar Papers

Cite this paper

@article{das2025gompertz,
  title  = {Gompertz Linear Units: Leveraging Asymmetry for Enhanced Learning Dynamics},
  author = {Indrashis Das and Mahmoud Safari and Steven Adriaensen and Frank Hutter},
  year   = {2025},
  eprint = {2502.03654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.03654v2}
}

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/2502.03654.svg)](https://codeofpaper.com/paper/2502.03654)

Discussion