Machine Learning & AI
Intermediate

Adam Optimizer

Adaptive optimizer combining momentum and per-parameter learning rates.

Formula

θ:=θαm^tv^t+ϵ\theta := \theta - \alpha\,\dfrac{\hat{m}_t}{\sqrt{\hat{v}_t}+\epsilon}

Variables

\hat{m}_tBias-corrected 1st moment
\hat{v}_t2nd moment
\epsilonSmall constant

Example

Default alpha=0.001 works for most nets

Did You Know?

Adam (2015) is the default optimizer for most deep-learning models today.

Share this formula