计算机科学 > 机器学习
[提交于 2020年2月10日 (v1),最后修订于 2020年6月22日 (此版本, v14)]
标题:A Diffusion Theory For Deep Learning Dynamics: Stochastic Gradient Descent Exponentially Favors Flat Minima
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Stochastic Gradient Descent (SGD) and its variants are mainstream methods for training deep networks in practice. SGD is known to find a flat minimum that often generalizes well. However, it is mathematically unclear how deep learning can select a flat minimum among so many minima. To answer the question quantitatively, we develop a density diffusion theory (DDT) to reveal how minima selection quantitatively depends on the minima sharpness and the hyperparameters. To the best of our knowledge, we are the first to theoretically and empirically prove that, benefited from the Hessian-dependent covariance of stochastic gradient noise, SGD favors flat minima exponentially more than sharp minima, while Gradient Descent (GD) with injected white noise favors flat minima only polynomially more than sharp minima. We also reveal that either a small learning rate or large-batch training requires exponentially many iterations to escape from minima in terms of the ratio of the batch size and learning rate. Thus, large-batch training cannot search flat minima efficiently in a realistic computational time.
提交历史
来自:Zeke Xie[v1] 2020年2月10日 星期一 02:04:49 UTC
[v2] 2020年6月29日 星期一 05:27:27 UTC
[v4] 2020年9月26日 星期六 11:36:52 UTC
[v5] 2020年11月24日 星期二 05:12:13 UTC
[v6] 2021年1月15日 星期五 14:57:46 UTC
[v7] 2020年2月18日 星期二 06:24:38 UTC
[v8] 2020年2月20日 星期四 04:40:24 UTC
[v9] 2020年2月26日 星期三 08:27:12 UTC
[v11] 2020年4月14日 星期二 10:51:51 UTC
[v13] 2020年5月21日 星期四 00:54:13 UTC
[v14] 2020年6月22日 星期一 03:52:54 UTC