122Implement the AdamW optimizer from scratch and explain how decoupled weight decay differs from Adam.▼mediumOpenAIGoogle DeepMindMeta1 replies◆ premiumA from-scratch test of modern optimizers. The signal is the moment estimates, bias correction, and the one change that matters: AdamW decouples weight decay from the gradient instead of folding it into the loss. Here is the implementation and why it wins.Open full answer →
07Compare SGD, momentum, RMSProp, Adam, and AdamW. Why does AdamW decouple weight decay?▼mediumNVIDIAGoogleMeta2 repliesunlockedOptimizer questions test whether you understand what each one adapts and the subtle AdamW fix that the whole field now uses. The signal is the per-parameter adaptivity story plus why coupling weight decay to Adam was a bug. Here is that answer.Open full answer →