Skip to main content
QUICK REVIEW

[Paper Review] Directional Analysis of Stochastic Gradient Descent via von Mises-Fisher Distributions in Deep learning

Cheolhyoung Lee, Kyunghyun Cho|arXiv (Cornell University)|Sep 29, 2018
Stochastic Gradient Optimization TechniquesComputer Science5 citations
TL;DR

This paper introduces a directional analysis of stochastic gradient descent (SGD) in deep learning using von Mises-Fisher (vMF) distributions to model the concentration of minibatch gradient directions. It demonstrates theoretically and empirically that gradient directional uniformity—measured by the vMF concentration parameter κ—increases during training, and that this directional stochasticity is a stronger driver of overall gradient stochasticity (signal-to-noise ratio) than norm stochasticity.

ABSTRACT

Although stochastic gradient descent (SGD) is a driving force behind the recent success of deep learning, our understanding of its dynamics in a high-dimensional parameter space is limited. In recent years, some researchers have used the stochasticity of minibatch gradients, or the signal-to-noise ratio, to better characterize the learning dynamics of SGD. Inspired from these work, we here analyze SGD from a geometrical perspective by inspecting the stochasticity of the norms and directions of minibatch gradients. We propose a model of the directional concentration for minibatch gradients through von Mises-Fisher (VMF) distribution, and show that the directional uniformity of minibatch gradients increases over the course of SGD. We empirically verify our result using deep convolutional networks and observe a higher correlation between the gradient stochasticity and the proposed directional uniformity than that against the gradient norm stochasticity, suggesting that the directional statistics of minibatch gradients is a major factor behind SGD.

Motivation & Objective

  • To understand the high-dimensional dynamics of SGD beyond norm-based analysis by focusing on gradient directionality.
  • To model the directional concentration of minibatch gradients using the von Mises-Fisher (vMF) distribution.
  • To investigate whether directional uniformity increases during training and whether it correlates more strongly with gradient stochasticity than norm stochasticity.
  • To validate the proposed directional analysis across modern deep learning architectures, including those with batch normalization and residual connections.
  • To establish that directional statistics, not just norm statistics, are central to understanding SGD's learning dynamics.

Proposed method

  • Model the distribution of minibatch gradient directions using the von Mises-Fisher (vMF) distribution, parameterized by concentration κ.
  • Theoretically prove that the directional uniformity (1/κ) of gradients increases as training progresses, implying decreasing directional variance.
  • Estimate the vMF concentration parameter κ from minibatch gradients using maximum likelihood estimation.
  • Define gradient stochasticity (SNR) as the inverse of the coefficient of variation of gradients, and decompose it into norm stochasticity and directional stochasticity.
  • Use log-log scatter plots and normalized time-series evolution to compare SNR with κ and normSNR across multiple training runs and architectures.
  • Conduct experiments on CNNs, ResNets, and wide networks with and without batch normalization on MNIST and CIFAR-10 to validate the directional uniformity trend.

Experimental results

Research questions

  • RQ1Does the directional concentration of minibatch gradients, as modeled by the vMF distribution, increase during the training of deep neural networks?
  • RQ2How does the directional uniformity (measured by vMF κ) correlate with the overall gradient stochasticity (SNR) compared to norm stochasticity?
  • RQ3To what extent do modern deep learning components like batch normalization and residual connections affect the directional dynamics of SGD?
  • RQ4Is the directional stochasticity of gradients a more significant driver of SNR than the norm stochasticity of gradients?
  • RQ5Can the vMF distribution effectively model the directional behavior of minibatch gradients in high-dimensional deep learning optimization?

Key findings

  • The estimated vMF concentration parameter κ increases significantly over training, indicating growing directional uniformity of minibatch gradients.
  • The inverse of gradient stochasticity (SNR) and the inverse of directional uniformity (1/κ) are highly correlated across all experimental settings, with R² > 0.9 in log-log scatter plots.
  • Gradient norm stochasticity (normSNR) shows substantially weaker correlation with SNR, indicating it is a less dominant factor in overall gradient variability.
  • The directional uniformity trend holds across diverse architectures, including standard CNNs, CNNs with batch normalization, and residual networks.
  • The correlation between SNR and κ remains strong across four different random weight initializations, confirming robustness.
  • The absolute values of κ are not comparable across different network sizes due to dimensionality effects, suggesting the need for relative or normalized analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.