When and Why Momentum Accelerates SGD:An Empirical Study
JFJingwen FuBWBohan Wang
Huishuai ZhangZhizheng Zhang
Wei ChenNZNanning Zheng JFJingwen Fu
BWBohan Wang

Huishuai Zhang
Zhizheng Zhang

Wei Chen
NZNanning Zheng
+6
This empirical study investigates when and why momentum accelerates SGD. Comparing SGD with Momentum (SGDM) and SGD under the same effective learning rate $\eta_{ef}$ (which unifies learning rate $\eta$, momentum coefficient $\mu$, and batch size $b$) and the same batch size, the authors find that when $\eta_{ef}$ is small, both perform similarly; when $\eta_{ef}$ exceeds a threshold, SGDM outperforms SGD, and this advantage grows with larger batch sizes. The acceleration is linked to "abrupt sharpening"—a sudden jump in the directional Hessian along the update direction—which SGDM prevents or delays, explaining why momentum helps.

arXiv ·
· June 15, 2023