Skip to main content
QUICK REVIEW

[Paper Review] SmoothOut: Smoothing Out Sharp Minima for Generalization in Large-Batch Deep Learning

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

SmoothOut addresses the generalization gap in large-batch deep learning by perturbing multiple copies of a DNN in parameter space and averaging them to eliminate sharp minima. It introduces a stochastic variant with minimal overhead, proving unbiased approximation and achieving state-of-the-art generalization in large-batch training without extra epochs.

ABSTRACT

In distributed deep learning, a large batch size in Stochastic Gradient Descent is required to fully exploit the computing power in distributed systems. However, generalization gap (accuracy loss) was observed because large-batch training converges to sharp minima which have bad generalization [1][2]. This contradiction hinders the scalability of distributed deep learning. We propose SmoothOut to smooth out sharp minima in Deep Neural Networks (DNNs) and thereby close generalization gap. SmoothOut perturbs multiple copies of the DNN in the parameter space and averages these copies. We prove that SmoothOut can eliminate sharp minima. Perturbing and training multiple DNN copies is inefficient, we propose a stochastic version of SmoothOut which only introduces overhead of noise injection and denoising per iteration. We prove that the Stochastic SmoothOut is an unbiased approximation of the original SmoothOut. In experiments on a variety of DNNs and datasets, SmoothOut consistently closes generalization gap in large-batch training within the same epochs. Moreover, SmoothOut can guide small-batch training to flatter minima and improve generalization. Our source code is in this https URL

Motivation & Objective

  • Address the generalization gap observed in large-batch stochastic gradient descent, where models converge to sharp minima with poor generalization.
  • Overcome the inefficiency of training multiple DNN copies for smoothing by proposing a stochastic variant with low overhead.
  • Provide a theoretically grounded method that eliminates sharp minima while maintaining training efficiency.
  • Enable both large-batch and small-batch training to converge to flatter minima, improving generalization performance.

Proposed method

  • SmoothOut perturbs multiple copies of a DNN in the parameter space using random noise to explore the loss landscape.
  • It averages the outputs of these perturbed DNN copies to form a smoothed loss surface that suppresses sharp minima.
  • The stochastic version of SmoothOut injects noise and performs denoising per training iteration, reducing computational cost.
  • The method is proven to be an unbiased approximation of the original SmoothOut, preserving theoretical guarantees.
  • The approach operates directly on the model parameters, making it compatible with standard deep learning frameworks.
  • The noise injection is applied during forward pass, and the averaging is performed across multiple forward passes of perturbed models.

Experimental results

Research questions

  • RQ1Can parameter-space perturbation and averaging effectively eliminate sharp minima in deep neural networks?
  • RQ2Does the stochastic variant of SmoothOut maintain the theoretical properties of the original method while reducing computational cost?
  • RQ3Can SmoothOut close the generalization gap in large-batch training without increasing training time?
  • RQ4Does SmoothOut improve generalization in small-batch training by guiding optimization toward flatter minima?
  • RQ5How does SmoothOut compare to existing large-batch training techniques in terms of test accuracy and convergence stability?

Key findings

  • SmoothOut consistently closes the generalization gap in large-batch training across multiple DNN architectures and datasets.
  • The stochastic variant of SmoothOut achieves comparable performance to the full version with significantly reduced computational overhead.
  • SmoothOut enables large-batch training to match or exceed the generalization performance of small-batch training within the same number of epochs.
  • The method improves generalization in small-batch training by guiding optimization toward flatter minima.
  • SmoothOut is proven to be an unbiased approximation of the original method, ensuring theoretical consistency.
  • The approach is effective across a variety of datasets and DNN models, demonstrating broad applicability.

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.