Chip Foundry Services Request Assessment

AdamW

AdamW modifies the original Adam optimizer by decoupling weight decay from the adaptive gradient-based update, applying weight decay as a separate, direct shrinkage of the weights themselves rather than folding it into the gradient computation the way Adam's original L2-regularization implementation effectively did. This decoupling corrected a subtle but consequential interaction in the original Adam formulation, where weight decay folded into the gradient was inadvertently scaled by Adam's own adaptive per-parameter learning rate, producing an unintended, inconsistent effective regularization strength across different parameters that AdamW's decoupled approach avoids.