NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gradient Noise Convolution (GNC): Smoothing Loss Function for Distributed Large-Batch SGD

Kosuke Haruki, Taiji Suzuki, Yohei Hamakawa, Takeshi Toda, Ryuji Sakai, Masahiro Ozawa, Mitsuhiro KimuraarXiv 2019

Abstract

Large-batch distributed training is essential for scaling deep learning but often results in a "generalization gap" where models settle into suboptimal sharp minima. We introduce Gradient Noise Convolution (GNC), a technique that leverages the natural variance between parallel workers to re-inject directional noise into the training process. Unlike isotropic random noise, GNC is anisotropic, targeting the sharpest directions of the loss landscape to provide a smoothing effect similar to small-batch SGD. Our experiments on CIFAR and ImageNet show that GNC significantly improves validation accuracy and gradient stability in large-batch settings, outperforming standard baselines and random noise injection.

Introduction

Data-Parallel SGD (DP-SGD) is the standard for training massive models across multiple GPUs. While large-batch training accelerates computation, it frequently leads to poor generalization. This phenomenon is often explained by the sharp/flat hypothesis: small-batch training possesses inherent stochastic noise that helps the optimizer escape sharp minima—narrow regions of the loss landscape that do not generalize well—and settle into flatter, more robust minima. Large-batch training lacks this noise, causing it to become trapped in sharp pits. Previous attempts to fix this by adding artificial random noise often fail because the noise is isotropic and does not account for the specific geometry of the loss landscape.

Methodology: Gradient Noise Convolution

The proposed Gradient Noise Convolution (GNC) addresses the generalization gap by re-introducing "smart" noise. The core insight is that the gradient variance between different data subsets (or workers) is naturally higher in the sharper directions of the loss function.

Anisotropic Noise Injection

GNC utilizes this internal variance as a natural compass. By using the difference between local worker gradients and the global average, GNC injects noise specifically along the directions that require the most smoothing. This makes the noise anisotropic, focusing its exploratory power where it is most needed.

Gradient noise acts as a natural indicator of landscape sharpness, providing larger noise in sharp regions to facilitate escape.

Implementation and Efficiency

GNC is computationally efficient and easy to integrate into existing distributed training pipelines. Each worker computes its local gradient, and the noise is defined as the deviation from the previous step's global average. This noise is then convolved into the weights before the subsequent gradient calculation. Notably, GNC achieves a Hessian-like smoothing effect using only first-order gradients, avoiding the heavy computational cost of second-order methods.

Experimental Results

We evaluated GNC across CIFAR-10, CIFAR-100, and ImageNet-1K benchmarks.

Performance on ImageNet

In large-batch settings (batch size 32,768), GNC achieved a peak top-1 accuracy of 76.29% on ImageNet. This significantly outperforms standard large-batch baselines. On CIFAR-100 with a batch size of 8,192, GNC improved validation accuracy from a baseline of 69.21% to 71.35%.

Gradient Stability and Smoothing

GNC acts as a low-pass filter on the loss landscape. Analysis of "gradient predictiveness"—the similarity between gradients at adjacent points—shows that GNC stabilizes the optimization trajectory. As illustrated in the results below, GNC maintains higher gradient similarity and reaches higher accuracy faster than the baseline.

Empirical results showing (a) improved validation accuracy and (b) increased gradient similarity (predictiveness) with GNC (dotted line) compared to the baseline (solid line).

Discussion and Conclusion

GNC effectively restores the benefits of small-batch stochasticity to large-batch distributed training. By ensuring that noise is directional (anisotropic), GNC avoids the pitfalls of random noise injection, which often explores unproductive flat directions.

While GNC shows strong results, some limitations remain. Interactions with heavy data augmentation can occasionally lead to slight accuracy drops, suggesting that different noise sources may interfere. Additionally, the high noise levels beneficial in early training might be counterproductive in the final stages; strategies like transitioning to isotropic noise (GNCtoRNC) near the end of training have shown promise for further stabilization. Future work will focus on refining these transitions and exploring the theoretical underpinnings of gradient predictiveness shifts following learning rate decay.

Summary updated

BibTeX
@misc{haruki2019gradient,
  author = {Kosuke Haruki and Taiji Suzuki and Yohei Hamakawa and Takeshi Toda and Ryuji Sakai and Masahiro Ozawa and Mitsuhiro Kimura},
  title = {{Gradient Noise Convolution (GNC): Smoothing Loss Function for Distributed Large-Batch SGD}},
  year = {2019},
  eprint = {1906.10822},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.10822},
}
Figure