Adam Optimizer

Also known as: Adam

Category: Foundations of ML/AI

An adaptive learning rate optimizer that combines momentum and RMSProp to adjust learning rates per parameter.

Full Explanation

Adam (Adaptive Moment Estimation) is one of the most widely used optimization algorithms in deep learning. It maintains running averages of both the first moment (mean) and second moment (uncentered variance) of the gradients, using them to adapt the learning rate for each parameter individually. Adam combines the benefits of momentum (using the first moment) and RMSProp (using the second moment) with bias correction to account for initialization at zero. It typically requires less hyperparameter tuning than SGD and converges faster in practice. Adam is the default optimizer for many deep learning tasks, especially in NLP. However, SGD with momentum can sometimes achieve better generalization for image classification tasks. Variants like AdamW fix weight decay implementation for improved regularization.

Related Terms

More in Foundations of ML/AI

Explore More