Sigmoid

Sigmoid is an S-shaped function that maps real-valued inputs into values between 0 and 1.
Also known as
logistic function

Intuition

It squashes a number into a probability-like range, which is useful for binary decisions but can slow deep networks when saturated.

Technical definition

The logistic sigmoid computes sigma(x) = 1 / (1 + exp(-x)) and has gradients that become small for large positive or negative inputs.

Example

A binary classifier may use sigmoid to estimate the probability of the positive class.

Common misunderstandings

  • Sigmoid outputs are not automatically calibrated probabilities.
  • Sigmoid is less common than ReLU-like activations in hidden layers of deep networks.

Need this inside a product?

The studio builds the systems these terms describe. Tell us what you are working on.