Activation Functions
Properties
created
08.10.2024, 09:23
modified
22.03.2026, 10:09
published
Empty
sources
ChatGPT
topics
Activation Functions
authors
Empty
ai-assisted
No
This note aggregates information about different activation functions.
# Unit Step
Binary threshold activation. Outputs 1 if input is non-negative, otherwise 0.
- Non-differentiable at ( x = 0 )
- Used in early perceptron models
# ReLU
Rectified Linear Unit. Outputs input if positive, otherwise 0.
- Computationally efficient
- Helps mitigate vanishing gradients
- Can suffer from “dying ReLU” problem
# Leaky ReLU
Variant of ReLU allowing small negative slope for negative inputs.
- ( \alpha ) is small (e.g., 0.01)
- Reduces dying ReLU issue
# SELU
Scaled Exponential Linear Unit. Self-normalizing activation.
- Typical constants: ( \alpha \approx 1.6733 ), ( \lambda \approx 1.0507 )
- Promotes self-normalizing neural networks
- Designed for deep feedforward networks
# Sigmoid
S-shaped function squashing inputs to \((0, 1)\).
- Used in binary classification output layers
- Suffers from vanishing gradients at extremes
# Softmax
Generalizes Sigmoid to multi-class output. Converts logits to a probability distribution summing to 1.
- Used in multi-class classification output layers