mej7.comHow AI Works

Nonlinearity

Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.

Any function not of the form Wx + b. Without nonlinearities, a deep net is one matrix. Softmax and GELU are the two nonlinearities that matter most in a transformer block.

In one paragraph. Any function not of the form Wx + b. Without nonlinearities, a deep net is one matrix. Softmax and GELU are the two nonlinearities that matter most in a transformer block.

Used in

Related terms

Full glossary