paper-with-me

홈 › Papers

Understanding the Generalization of Stochastic Gradient Adam in Learning Neural Networks

2025-10-13 · Xuan Tang, Han Zhang, Yuan Cao, Difan Zou arxiv

Adam is a popular and widely used adaptive gradient method in deep learning, which has also received tremendous focus in theoretical research. However, most existing theoretical work primarily analyzes its full-batch version, which differs fundamentally from the stochastic variant used in practice. Unlike SGD, stochastic Adam does not converge to its full-batch counterpart even with infinitesimal learning rates. We present the first theoretical characterization of how batch size affects Adam's generalization, analyzing two-layer over-parameterized CNNs on image data. Our results reveal that while both Adam and AdamW with proper weight decay $λ$ converge to poor test error solutions, their mini-batch variants can achieve near-zero test error. We further prove Adam has a strictly smaller effective weight decay bound than AdamW, theoretically explaining why Adam requires more sensitive $λ$ tuning. Extensive experiments validate our findings, demonstrating the critical role of batch size and weight decay in Adam's generalization performance.

📄 PDF Abstract BibTeX arXiv:2510.11354

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Towards Theoretically Understanding Why SGD Generalizes Better Than ADAM in Deep Learning

2020-10-12 · NeurIPS 2020 12 · Pan Zhou, Jiashi Feng, Chao Ma, Caiming Xiong 외

It is not clear yet why ADAM-alike adaptive gradient algorithms suffer from worse generalization performance than SGD despite their faster training speed. This work aims to provide understandings on this generalization g…

Understanding the Generalization of Adam in Learning Neural Networks with Proper Regularization

2021-08-25 · Difan Zou, Yuan Cao, Yuanzhi Li, Quanquan Gu

Adaptive gradient methods such as Adam have gained increasing popularity in deep learning optimization. However, it has been observed that compared with (stochastic) gradient descent, Adam can converge to a different sol…

Deep Learningimage-classificationImage Classification

Reinforced stochastic gradient descent for deep neural network learning

2017-01-27 · Haiping Huang, Taro Toyoizumi

Stochastic gradient descent (SGD) is a standard optimization method to minimize a training error with respect to network parameters in modern neural network learning. However, it typically suffers from proliferation of s…

Convergence guarantees for RMSProp and ADAM in non-convex optimization and an empirical comparison to Nesterov acceleration

2018-07-18 · ICLR 2019 5 · Soham De, Anirbit Mukherjee, Enayat Ullah

RMSProp and ADAM continue to be extremely popular algorithms for training neural nets but their theoretical convergence properties have remained unclear. Further, recent work has seemed to suggest that these algorithms h…

Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradients

2017-05-22 · ICML 2018 7 · Lukas Balles, Philipp Hennig

The ADAM optimizer is exceedingly popular in the deep learning community. Often it works very well, sometimes it doesn't. Why? We interpret ADAM as a combination of two aspects: for each weight, the update direction is d…