Reproduce “The Anisotropic Noise in Stochastic Gradient Descent: Its Behavior of Escaping from Sharp Minima and Regularization Effects” 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
Zhanxing Zhu, Jingfeng Wu, Bing Yu, Lei Wu, Jinwen Ma
Zhu et al. (2019) demonstrate that the anisotropic nature of noise in Stochastic Gradient Descent (SGD) is crucial for its ability to escape sharp minima and converge to flatter, well-generalizing solutions in deep neural networks. Their analysis introduces the trace of the product of the Hessian and noise covariance, Tr(HΣ), as an indicator for escaping efficiency, showing that SGD's noise is naturally aligned with the loss function's curvature.
Key insights
- Anisotropic noise can significantly outperform isotropic noise in escaping sharp minima, provided the loss function's Hessian is ill-conditioned and the noise covariance is aligned with the Hessian's dominant eigenvectors (Proposition 1).
- SGD's intrinsic gradient covariance is closely related to the loss function's Hessian (Fisher information matrix), inherently satisfying the alignment condition required for anisotropic noise benefits (Proposition 2 & 3).
- The indicator Tr(HΣ) quantifies the efficiency of escaping minima, highlighting the importance of noise structure and its alignment with local curvature for successful optimization.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.