Reproduce “Understanding the Generalization of Adam in Learning Neural Networks with Proper Regularization” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Difan Zou, Yuan Cao, Yuanzhi Li, Quanquan Gu
Researchers from UCLA, The University of Hong Kong, and Carnegie Mellon University provide a theoretical explanation for Adam's worse generalization compared to gradient descent in deep learning, demonstrating that Adam tends to memorize noise patterns while GD focuses on learning generalizable features within non-convex optimization landscapes.
Key insights
- Adam's adaptive learning rates disproportionately emphasize rare, large gradients often associated with noise patterns, leading it to prioritize noise memorization.
- Gradient Descent (GD) consistently prioritizes learning generalizable features, maintaining low noise memorization throughout training.
- The effective learning rate ratio of noise components to feature components is higher for Adam compared to GD, mathematically explaining Adam's susceptibility to fitting noise.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.