AdamW

Method · 2017

Definition

“L$_2$ regularization and weight decay regularization are equivalent for standard stochastic gradient descent (when rescaled by the learning rate), but as we demonstrate this is \emph{not} the case for adaptive gradient algorithms, such as Adam.”

From the defining paper: Decoupled Weight Decay Regularization (Ilya Loshchilov, Frank Hutter, ICLR 2019).

Lineage

Parent: Adam

Children: Lion; Sophia

Incoming edges (1)

improves · generalization

From Adam · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“allowing it to compete with SGD with momentum on image classification datasets” Source: Decoupled Weight Decay Regularization
Mechanism
“to recover the original formulation of weight decay regularization” Source: Decoupled Weight Decay Regularization
Trade-off
No trade-off quoted.

Outgoing edges (2)

improves · memory efficiency

To Lion · confidence 1 (All three quotes are verbatim substrings of the to-paper abstract; confidence 1.0.)

Bottleneck
“It is more memory-efficient than Adam as it only keeps track of the momentum” Source: Symbolic Discovery of Optimization Algorithms
Mechanism
“its update has the same magnitude for each parameter calculated through the sign operation” Source: Symbolic Discovery of Optimization Algorithms
Trade-off
“It also requires a smaller learning rate than Adam due to the larger norm of the update produced by the sign function” Source: Symbolic Discovery of Optimization Algorithms

improves · training complexity

To Sophia · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)

Bottleneck
“more sophisticated second-order (Hessian-based) optimizers often incur too much per-step overhead” Source: Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training
Mechanism
“uses a light-weight estimate of the diagonal Hessian as the pre-conditioner” Source: Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training
Trade-off
No trade-off quoted.

Back to the explorer