Leaky ReLU

Category: Neural Networks & Architectures

A ReLU variant that allows a small non-zero gradient for negative inputs to prevent the dying ReLU problem.

Full Explanation

Leaky ReLU modifies the standard ReLU by allowing a small, non-zero gradient (typically 0.01) for negative inputs instead of zero. Defined as f(x) = x if x > 0, or f(x) = alpha * x otherwise, where alpha is a small positive constant. This addresses the dying ReLU problem where neurons can become permanently inactive if they receive consistently negative inputs. The small negative slope ensures that gradients always flow through the neuron, even for negative inputs. Parametric ReLU (PReLU) extends this by making alpha a learnable parameter. Leaky ReLU is simple to implement and can improve training stability. While empirical results vary, it is often used when dying ReLU is a concern, particularly in deeper networks and generative models.

Related Terms

More in Neural Networks & Architectures

Explore More