Short Definition
An activation function is a nonlinear operation applied inside a neural network layer.
Intuition
Without nonlinear activations, many stacked layers would collapse into something no more expressive than a single linear transformation.
Technical Definition
Activation functions transform intermediate layer outputs elementwise or channelwise, enabling neural networks to approximate nonlinear functions.
Example
ReLU sets negative values to zero and leaves positive values unchanged.
Common Misunderstandings
Activation functions are not just cosmetic; they define what functions the network can learn.
Different activations affect optimization and gradient flow.