Skip to main content
QUICK REVIEW

[Paper Review] S-SGD: Symmetrical Stochastic Gradient Descent with Weight Noise Injection for Reaching Flat Minima

Wonyong Sung, Iksoo Choi|arXiv (Cornell University)|Sep 5, 2020
Advanced Neural Network ApplicationsComputer Science44 references5 citations
TL;DR

This paper proposes Symmetrical Stochastic Gradient Descent (S-SGD), a regularization method that injects fixed-magnitude symmetrical noise to deep neural network weights during training to encourage convergence to flat minima. By evaluating the loss at two perturbed weight points, S-SGD stabilizes training and improves generalization, outperforming standard SGD, Dropout, and DropConnect across CNNs, RNNs, and speech recognition tasks with consistent accuracy gains.

ABSTRACT

The stochastic gradient descent (SGD) method is most widely used for deep neural network (DNN) training. However, the method does not always converge to a flat minimum of the loss surface that can demonstrate high generalization capability. Weight noise injection has been extensively studied for finding flat minima using the SGD method. We devise a new weight-noise injection-based SGD method that adds symmetrical noises to the DNN weights. The training with symmetrical noise evaluates the loss surface at two adjacent points, by which convergence to sharp minima can be avoided. Fixed-magnitude symmetric noises are added to minimize training instability. The proposed method is compared with the conventional SGD method and previous weight-noise injection algorithms using convolutional neural networks for image classification. Particularly, performance improvements in large batch training are demonstrated. This method shows superior performance compared with conventional SGD and weight-noise injection methods regardless of the batch-size and learning rate scheduling algorithms.

Motivation & Objective

  • To address the challenge of overfitting and poor generalization in deep neural network (DNN) training by promoting convergence to flat minima.
  • To improve training stability and generalization performance through a novel regularization technique that explicitly measures loss surface flatness.
  • To develop a simple, flexible, and effective method applicable to fully connected, convolutional, and recurrent layers.
  • To provide a training algorithm that enhances robustness to weight and data perturbations by leveraging Hessian-dependent gradient updates.

Proposed method

  • S-SGD injects fixed-magnitude symmetrical noise to network weights during each update, computing the loss at both the perturbed and original weight points.
  • The algorithm evaluates the loss at two symmetric points: w + ε and w - ε, where ε is a fixed noise vector, to estimate loss surface flatness.
  • Weight updates are computed based on the average gradient over the two perturbed points, effectively incorporating Hessian information into the update rule.
  • The method is designed to favor flat minima by penalizing sharp minima through increased loss variation in high-curvature regions.
  • It is compatible with standard SGD and can be applied to fully connected, convolutional, and recurrent layers without architectural changes.
  • The approach avoids the computational cost of Hessian computation by using a finite-difference-like approximation via symmetric perturbations.

Experimental results

Research questions

  • RQ1Can symmetrical weight noise injection improve generalization in DNN training by promoting convergence to flat minima?
  • RQ2How does S-SGD compare to conventional regularization techniques like Dropout and DropConnect in terms of test accuracy and robustness?
  • RQ3Does the use of fixed-magnitude symmetric noise enhance training stability and loss surface flatness compared to random noise injection?
  • RQ4To what extent does S-SGD improve performance across diverse architectures, including CNNs, RNNs, and Gated ConvNets?
  • RQ5Can S-SGD effectively avoid sharp minima and overfitting, as evidenced by loss surface visualization and Hessian eigenvalue analysis?

Key findings

  • S-SGD achieved 92.62% test accuracy on CIFAR-10 using ResNet20, outperforming SGD (92.17%) and DropConnect (92.18%) in the same setup.
  • On CIFAR-100, S-SGD reached 69.63% test accuracy, surpassing SGD (68.51%) and SGD with fine-tuning (68.51%) after 125 epochs.
  • Loss surface visualization showed that S-SGD converges to a flatter region near the center of the loss basin, avoiding steep walls associated with sharp minima.
  • The Hessian eigenvalue analysis confirmed that S-SGD-trained models exhibit lower maximum eigenvalues, indicating flatter minima and better generalization.
  • In end-to-end speech recognition with Gated ConvNet, S-SGD showed consistent performance improvements over baseline SGD and noise injection methods.
  • S-SGD demonstrated superior stability and robustness, with training loss located farther from steep loss walls compared to SGD, suggesting reduced overfitting.

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.