Skip to main content
QUICK REVIEW

[Paper Review] SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learning

Wei Wen, Yandan Wang|arXiv (Cornell University)|May 21, 2018
Stochastic Gradient Optimization TechniquesComputer Science7 references28 citations
TL;DR

SmoothOut improves deep learning generalization by smoothing sharp minima through uniform weight perturbation, reducing sensitivity to weight fluctuations. The method proves theoretically that flat minima yield lower expected loss under perturbation, with empirical results showing improved robustness and accuracy on CIFAR-100 and ResNet-44 under both small and large batch training.

ABSTRACT

In Deep Learning, Stochastic Gradient Descent (SGD) is usually selected as a training method because of its efficiency; however, recently, a problem in SGD gains research interest: sharp minima in Deep Neural Networks (DNNs) have poor generalization; especially, large-batch SGD tends to converge to sharp minima. It becomes an open question whether escaping sharp minima can improve the generalization. To answer this question, we propose SmoothOut framework to smooth out sharp minima in DNNs and thereby improve generalization. In a nutshell, SmoothOut perturbs multiple copies of the DNN by noise injection and averages these copies. Injecting noises to SGD is widely used in the literature, but SmoothOut differs in lots of ways: (1) a de-noising process is applied before parameter updating; (2) noise strength is adapted to filter norm; (3) an alternative interpretation on the advantage of noise injection, from the perspective of sharpness and generalization; (4) usage of uniform noise instead of Gaussian noise. We prove that SmoothOut can eliminate sharp minima. Training multiple DNN copies is inefficient, we further propose an unbiased stochastic SmoothOut which only introduces the overhead of noise injecting and de-noising per batch. An adaptive variant of SmoothOut, AdaSmoothOut, is also proposed to improve generalization. In a variety of experiments, SmoothOut and AdaSmoothOut consistently improve generalization in both small-batch and large-batch training on the top of state-of-the-art solutions.

Motivation & Objective

  • To address poor generalization in deep neural networks caused by sharp minima in loss landscapes.
  • To formalize the relationship between weight perturbation and expected loss in flat versus sharp minima.
  • To develop a method that improves generalization by smoothing sharp minima through uniform perturbation.
  • To validate theoretically and empirically that flat minima yield lower expected loss under perturbation.

Proposed method

  • The method defines a uniform perturbation distribution over a box centered at weights, with radius $ a $, to compute expected loss $ \bar{C}(\bm{w}) $.
  • It proves that symmetric flat minima satisfy $ \nabla\bar{C}(\bm{w}_f) = \bm{0} $, indicating stability under perturbation.
  • Theoretical analysis shows that for sharp minima, the minimum expected loss over a perturbation region exceeds the maximum loss in that region.
  • It derives bounds on expected loss using volume ratios, showing that $ \min_{\mathcal{D}(\bm{w}_s,\varepsilon)} \bar{C}(\bm{w}) > \max_{\mathcal{D}(\bm{w}_s,\varepsilon)} C(\bm{w}) $ in high dimensions.
  • The method leverages the concentration of measure phenomenon, where high-dimensional perturbation volumes make sharp minima increasingly unstable.
  • Empirical validation uses CIFAR-100 and ResNet-44 with Adam and SGD optimizers under small and large batch settings.

Experimental results

Research questions

  • RQ1Does uniform weight perturbation effectively reduce sensitivity to sharp minima in deep learning?
  • RQ2Can theoretical bounds on expected loss distinguish between flat and sharp minima in high-dimensional weight spaces?
  • RQ3How does the expected loss in flat minima compare to that in sharp minima under uniform perturbation?
  • RQ4To what extent does SmoothOut improve generalization across different batch sizes and datasets?
  • RQ5What is the role of symmetry and dimensionality in stabilizing minima under perturbation?

Key findings

  • Theoretical analysis confirms that flat minima satisfy $ \nabla\bar{C}(\bm{w}_f) = \bm{0} $ under symmetric perturbation, indicating stability.
  • In high-dimensional spaces, the minimum expected loss over a perturbation region around a sharp minimum exceeds the maximum loss in that region, satisfying the Sharp Constraint.
  • For large $ m $, $ \min_{\mathcal{D}(\bm{w}_s,\varepsilon)} \bar{C}(\bm{w}) \to C^{(s)}_{\varepsilon'} $, showing that sharp minima become increasingly unstable under perturbation.
  • Empirical results on CIFAR-100 with $ C_3 $ network show that SmoothOut improves accuracy and loss stability across varying noise strengths.
  • On ResNet-44, SmoothOut maintains superior performance under both small and large batch training, demonstrating robustness to batch size effects.
  • Visualization confirms that SmoothOut effectively reduces sharpness in both small and large batch training regimes.

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.