An activation function maps a nodeās weighted inputs to its output; nonlinearity is essential for universal function approximation.
In artificial neural networks, an activation function is a node-level function that computes the output from a nodeās inputs and their weights. Using nonlinear activation functions enables neural networks to represent complex relationships; in particular, with nonlinearity, even relatively shallow networks can approximate arbitrary functions (as formalized by the Universal Approximation Theorem). Activation functions also differ in mathematical and practical properties that affect training, such as whether they are nonlinear, their output range (finite vs. infinite), and whether they are continuously differentiableāproperties that influence gradient-based optimization and issues like vanishing gradients. Mathematically, activation functions can be categorized by how they transform inputs. Commonly, they are grouped into ridge functions (depending on a linear combination of inputs), radial functions (often related to radial basis functions and depending on distance from a center), and fold functions (used for aggregation such as mean/min/max, and including softmax for multiclass outputs). Activation functions may be saturating or nonsaturating depending on whether their gradients approach zero as inputs grow large, which impacts learning dynamics. Examples include logistic/sigmoid, tanh, ReLU and its smooth variants (e.g., GELU), as well as radial basis functions like Gaussian RBFs, and softmax/maxout for multi-output settings.
An activation function maps a nodeās weighted inputs to its output; nonlinearity is essential for universal function approximation.
Activation functions differ by properties such as nonlinearity, output range, differentiability, and whether they are saturating vs. nonsaturating, which affects gradient-based training.
Activation functions can be organized into ridge, radial, and fold categories, with common examples like ReLU (ridge), Gaussian RBFs (radial), and softmax/maxout (fold/multivariate).
A function in a neural network node that computes the nodeās output from its inputs and weights.
A result stating that networks with nonlinear activation functions can approximate arbitrary functions given sufficient capacity.
An activation function whose gradient approaches zero as the input magnitude goes to infinity.
An activation function whose gradient does not approach zero as the input magnitude goes to infinity.
A multivariate activation function that depends on a linear combination of the input variables.
An activation function whose value depends primarily on the distance of the input from a center (often used in radial basis function networks).
An activation/aggregation function that combines multiple inputs using operations such as mean, min, max, or softmax for classification.
A common activation function defined as max(0, x), which is piecewise linear and helps mitigate vanishing gradients.
A multivariate activation function that converts a vector of scores into a probability distribution over classes.
An activation function that outputs the maximum value among a set of candidate linear functions.
āCan you explain what "An activation function maps a nodeās weighted inputs to its output; nonlinearity is essential for universal function approximation." means in simple terms?ā