Adam vs AdamW: why decoupled weight decay isn't the same as adding λ||w||² to the loss

cneuralnetwork · x · 2026-10-30

Framed as an ML interview question, the author explains the difference between Adam and AdamW. The easy answer is decoupled weight decay; the harder follow-up asks why adding λ||w||² directly to Adam's loss is not equivalent to the decoupled weight decay AdamW uses.

Original post →

More from Research

Research channel →