LGMLJul 9, 2020

A Study of Gradient Variance in Deep Learning

arXiv:2007.04532v134 citations
AI Analysis

This work addresses the understanding of gradient noise for deep learning practitioners, but it is incremental as it builds on known issues without a major breakthrough.

The study tackled the problem of gradient noise in deep learning by analyzing gradient distributions and introducing Gradient Clustering to minimize variance, finding that gradient variance increases during training and smaller learning rates lead to higher variance, with normalized gradient variance correlating better with convergence speed.

The impact of gradient noise on training deep models is widely acknowledged but not well understood. In this context, we study the distribution of gradients during training. We introduce a method, Gradient Clustering, to minimize the variance of average mini-batch gradient with stratified sampling. We prove that the variance of average mini-batch gradient is minimized if the elements are sampled from a weighted clustering in the gradient space. We measure the gradient variance on common deep learning benchmarks and observe that, contrary to common assumptions, gradient variance increases during training, and smaller learning rates coincide with higher variance. In addition, we introduce normalized gradient variance as a statistic that better correlates with the speed of convergence compared to gradient variance.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes