Skip to content

    GELU

    AI fundamentals & modelsGaussian Error Linear UnitGELU activation
    Editorially reviewed on: 1 source
    Your reading view

    The short answer · 15 words

    In short

    GELU weights inputs smoothly based on their size instead of cutting them hard from zero.

    Flow-alerta.cab (2026): GELU. https://flow-alerta.cab/en/glossar/gelu. Editorially reviewed on: 10 October 2026.

    How much detail would you like?

    Practical

    GELU is a proven model building block, but not automatically better for every architecture.

    Hypothetical example: A transformer uses GELU in the feedforward block and is compared against ReLU-based variants.

    In the case of own training or model export, check the activation function and its numerical implementation.

    At a glance

    Core
    GELU is defined exactly by GELU(x) = x · Φ(x); Φ is the distribution function of the standard normal distribution. The function weights inputs softly based on their value. Implementations can use numerical approximations.
    Use
    GELU is a proven model building block, but not automatically better for every architecture.
    Example
    Hypothetical example: A transformer uses GELU in the feedforward block and is compared against ReLU-based variants.
    Limits
    Confuse names with Gauss noise; make activation in isolation responsible for quality; ignore numerical approximations.

    In context

    Questions about this term

    Is GELU probabilistic?

    The formula uses the Gaussian CDF, the activation itself is deterministic.

    Is it Relu?

    No.

    All details and background

    GELU is defined exactly by GELU(x) = x · Φ(x); Φ is the distribution function of the standard normal distribution. The function weights inputs softly based on their value. Implementations can use numerical approximations.

    ELI5 – Explained simply

    Small or negative signals are softly attenuated instead of abruptly cut off.

    Why it matters in practice

    GELU is a proven model building block, but not automatically better for every architecture.

    Example

    Hypothetical example: A transformer uses GELU in the feedforward block and is compared against ReLU-based variants.

    Pitfalls and limits

    • Confuse names with Gauss noise; make activation in isolation responsible for quality; ignore numerical approximations.

    Origin & history

    Dan Hendrycks and Kevin Gimpel published the GELU preprint in June 2016.

    Use in mid-sized companies

    • In the case of own training or model export, check the activation function and its numerical implementation.

    Sources

    Quellenprüfung: 10.10.2026. Definition und dokumentierte Einordnung abgeglichen; Beispiele beschreiben mögliche Anwendungen.

    Editorially reviewed on:

    Next step

    Put knowledge into practice