ReLU

Also known as: Rectified Linear Unit

Category: Neural Networks & Architectures

A widely used activation function that outputs the input directly if positive, or zero otherwise: f(x) = max(0, x).

Full Explanation

ReLU (Rectified Linear Unit) is the most popular activation function in deep learning, defined as f(x) = max(0, x). It outputs zero for negative inputs and passes positive inputs unchanged. ReLU addressed the vanishing gradient problem that plagued sigmoid and tanh activations, since its gradient is either 0 or 1. Its simplicity also makes computation efficient. However, ReLU suffers from the "dying ReLU" problem, where neurons with large negative inputs always output zero and stop learning. This has motivated variants like Leaky ReLU, PReLU, and ELU. ReLU was a key enabler of training deep networks successfully and is the default activation function in most CNN and MLP architectures. Despite newer alternatives, ReLU remains the most widely deployed activation function.

Related Terms

More in Neural Networks & Architectures

Explore More