Epsilon
A tiny constant for numerical safety (10⁻⁸ in Adam), or noise ε ~ 𝒩(0, I).
In ML papers
Two very different uses:
A small constant added to avoid dividing by zero or taking the square root of zero: in Adam's denominator, about inside LayerNorm's square root. It is a fixed number, not learned.
Noise: in VAEs and diffusion models, is a random draw from a standard normal, used in the reparameterization . Diffusion models are often trained to predict .
Other meanings, by context
- Reinforcement learning. The exploration rate in -greedy: act at random with probability .
- Proofs and bounds. An arbitrary small positive number: "for every ".
How to type it
| LaTeX | Shows |
|---|---|
\epsilon ϵ | |
\varepsilon ε |
A worked example
Without this division would blow up; with it, the result is large but finite.
Common confusions
- (a number) and (Element of, "is an element of") look alike; sits between two things.
Equations that use it
- Adam update
- Layer normalization
- RMSNorm
- Batch normalization
- PPO clipped objective
- DDPM simplified loss
- VAE reparameterization trick
- AdamW