Skip to main content
QUICK REVIEW

[Paper Review] An Empirical Study of Large-Batch Stochastic Gradient Descent with Structured Covariance Noise

Yeming Wen, Kevin Luk|arXiv (Cornell University)|Feb 21, 2019
Stochastic Gradient Optimization TechniquesComputer Science65 references12 citations
TL;DR

This paper proposes adding structured covariance noise—specifically diagonal Fisher noise—to large-batch stochastic gradient descent (SGD) to improve generalization without sacrificing optimization speed. By leveraging the noise structure rather than variance alone, the method achieves small-batch generalization performance in large-batch training, with empirical results showing faster convergence and comparable test accuracy to small-batch SGD.

ABSTRACT

The choice of batch-size in a stochastic optimization algorithm plays a substantial role for both optimization and generalization. Increasing the batch-size used typically improves optimization but degrades generalization. To address the problem of improving generalization while maintaining optimal convergence in large-batch training, we propose to add covariance noise to the gradients. We demonstrate that the learning performance of our method is more accurately captured by the structure of the covariance matrix of the noise rather than by the variance of gradients. Moreover, over the convex-quadratic, we prove in theory that it can be characterized by the Frobenius norm of the noise matrix. Our empirical studies with standard deep learning model-architectures and datasets shows that our method not only improves generalization performance in large-batch training, but furthermore, does so in a way where the optimization performance remains desirable and the training duration is not elongated.

Motivation & Objective

  • Address the generalization gap in large-batch SGD training, where larger batches improve optimization but hurt generalization.
  • Investigate whether noise structure in gradient updates—beyond just variance—can better characterize optimization behavior.
  • Develop a noise injection method that preserves fast convergence while improving generalization in large-batch settings.
  • Demonstrate that diagonal Fisher noise offers a favorable trade-off between generalization and optimization speed compared to full Fisher or isotropic noise.
  • Establish a theoretical and empirical link between noise covariance structure and convergence in non-convex deep learning settings.

Proposed method

  • Propose injecting gradient noise with covariance structure derived from the diagonal of the Fisher information matrix into large-batch SGD updates.
  • Use the Fisher information matrix under log-likelihood loss to model the difference between small- and large-batch gradients as noise.
  • Replace full Fisher noise with diagonal Fisher noise to reduce computational cost and improve convergence speed.
  • Theoretical analysis shows that convergence in convex-quadratic settings is characterized by the Frobenius norm of the noise covariance matrix.
  • Empirically validate the method on standard deep learning models (e.g., ResNet44 on CIFAR-10) with fixed training epochs.
  • Compare against baseline methods: small-batch SGD, large-batch SGD, large-batch with isotropic noise, and large-batch with full Fisher noise.

Experimental results

Research questions

  • RQ1Can structured noise with a specific covariance matrix improve generalization in large-batch SGD without degrading optimization speed?
  • RQ2Is gradient variance alone sufficient to predict optimization behavior, or does noise structure play a more critical role?
  • RQ3How does the choice of noise covariance—specifically diagonal vs. full Fisher—impact convergence and generalization in large-batch training?
  • RQ4Can diagonal Fisher noise replicate the generalization performance of small-batch SGD while maintaining large-batch training efficiency?
  • RQ5What is the theoretical relationship between noise covariance structure and convergence in non-convex deep learning problems?

Key findings

  • Large-batch SGD with diagonal Fisher noise achieves generalization performance comparable to small-batch SGD within the same number of training epochs.
  • Despite having high gradient variance, large-batch training with diagonal Fisher noise converges significantly faster than with full Fisher noise.
  • Full Fisher noise leads to extremely slow convergence, making it impractical for large-batch training, even after 8000 parameter updates.
  • Theoretical analysis shows that in convex-quadratic settings, convergence is characterized by the Frobenius norm of the noise covariance matrix.
  • Empirical results confirm that the Frobenius norm of the noise matrix remains a strong predictor of optimization behavior in non-convex deep learning settings.
  • Diagonal Fisher noise outperforms isotropic Gaussian noise and full Fisher noise in balancing generalization and convergence speed.

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.