SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learning

Wei Wen, Yandan Wang, Feng Yan, Cong Xu, Chunpeng Wu +2 more
5/21/2018
cs.LGstat.ML

Official code: wenwei202/smoothout (23 stars, Python, MIT, last commit 2018-11-21).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learning

233Python, ShellMay 18, 20188 years agoMIT

Similar Papers

Cite this paper

@article{wen2018smoothout,
  title  = {SmoothOut: Smoothing Out Sharp Minima to Improve Generalization in Deep Learning},
  author = {Wei Wen and Yandan Wang and Feng Yan and Cong Xu and Chunpeng Wu and Yiran Chen and Hai Li},
  year   = {2018},
  eprint = {1805.07898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.07898}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1805.07898.svg)](https://codeofpaper.com/paper/1805.07898)

Discussion