Skip to content

AI Glossary · Concepts

What is Activation function?

Activation function

An activation function is a small mathematical rule inside a neural network that decides how strongly each artificial neuron passes its signal on, which lets the network learn complex, non-linear patterns.

Also known as: activation functions

· Chain of Thought

  • 2 sources

Each neuron in a neural network adds up its weighted inputs. The activation function then transforms that sum. The most common one, ReLU (rectified linear unit), is simple: keep the number if it’s positive, otherwise output zero. Others, such as sigmoid and tanh, squash values into a fixed range, and GELU and SwiGLU are smoother variants used in many modern language models.

Without activation functions, stacking many layers would be no more powerful than a single layer, because a chain of purely linear steps collapses into one linear step. The bends that activation functions add are what let networks recognize faces, understand language and so on.

Why it matters

The choice of activation function affects how well and how fast a network trains. Early functions like sigmoid made deep networks hard to train because learning signals faded across layers; ReLU helped make deep learning practical.

No published Chain of Thought episode discusses activation functions directly yet, so this entry relies on the sources below.

Multilayer perceptron is the simplest network where activations matter. Backpropagation is how networks learn through them.

Sources