Sigmoid
Category: Neural Networks & Architectures
An activation function that squashes inputs to the range (0, 1), historically important but largely replaced by ReLU in hidden layers.
Full Explanation
The sigmoid function, defined as f(x) = 1/(1 + e^(-x)), maps any real-valued input to a value between 0 and 1. This makes it naturally interpretable as a probability. Sigmoid was one of the earliest activation functions used in neural networks and remains the standard output activation for binary classification tasks. However, it has largely been replaced by ReLU in hidden layers due to the vanishing gradient problem: for very large or very small inputs, the gradient approaches zero, stalling learning in deep networks. The sigmoid function also suffers from non-zero-centered outputs, which can slow convergence. Despite its limitations for hidden layers, sigmoid remains essential in logistic regression, gating mechanisms in LSTMs and GRUs, and attention mechanisms.
Related Terms
More in Neural Networks & Architectures
Explore More
- AI Tools Library — Discover AI tools related to Sigmoid
- AI Education — Courses to learn about Neural Networks & Architectures
- AI News — Latest news and updates