Sigma (lowercase)
Either the sigmoid function σ(z) = 1/(1+e⁻ᶻ) or a standard deviation. The context decides.
In ML papers
has two common meanings, and papers rarely say which:
The sigmoid function when it is applied to something: squashes any number into . Gates in LSTMs and the output of a binary classifier use it. Some papers use for "any activation function".
A standard deviation when it stands alone or squared: is a variance, as in or LayerNorm's .
Other meanings, by context
- Linear algebra. Singular values of a matrix (the diagonal of in the SVD).
- Capital Σ. A covariance matrix; see Sigma (capital).
How to type it
| LaTeX | Shows |
|---|---|
\sigma |
A worked example
As a standard deviation instead: the numbers and have mean and .
Common confusions
- If you see with an argument, it is a function; next to or squared is a standard deviation.
- is not (Sigma (capital)) and neither is the summation sign (Summation).
Equations that use it
- Layer normalization
- Backpropagation through one layer
- Batch normalization
- DPO loss
- VAE reparameterization trick
- Logistic regression
- Singular value decomposition (SVD)