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

Adding Gradient Noise Improves Learning for Very Deep Networks

Arvind Neelakantan, Luke Vilnis, Quoc V. Le, Ilya Sutskever, Lukasz Kaiser, Karol Kurach, James MartensarXiv 2015

Introduction

As neural network architectures grow in depth and complexity—exemplified by Neural Turing Machines, Memory Networks, and Neural GPUs—optimization becomes increasingly difficult. Standard Stochastic Gradient Descent (SGD) frequently encounters plateaus or local minima where gradients vanish, halting the learning process. While specialized initializations and architectures like LSTMs provide some relief, they often fall short for "exotic" models or extremely deep configurations. This paper proposes a remarkably simple solution: adding decaying Gaussian noise to the gradients during training.

Methodology: The Gradient Noise Trick

The proposed method involves adding time-dependent Gaussian noise to the gradient $g_t$ at every training step $t$. The update rule is defined as:

$$g_t \leftarrow g_t + N(0, \sigma_t^2)$$

Crucially, the noise is annealed, meaning its magnitude decreases over time according to a specific schedule:

$$\sigma_t^2 = \frac{\eta}{(1 + t)^\gamma}$$

In this formula, $\eta$ represents a scaling factor (typically 0.01, 0.3, or 1.0), and $\gamma$ is set to 0.55. This annealing process functions similarly to simulated annealing: high initial noise encourages aggressive exploration of the parameter space, while the subsequent decay allows the model to settle into a high-quality local minimum. The authors also emphasize that gradient clipping is a necessary companion to this technique to prevent large gradients from overwhelming the beneficial noise.

Experimental Evaluation

The effectiveness of gradient noise was tested across a diverse array of challenging tasks and architectures:

  • Deep MNIST: A 20-layer fully-connected network.
  • bAbI (Toy Q&A): End-to-End Memory Networks.
  • Synthetic Table Comprehension: The "Neural Programmer" architecture.
  • Algorithmic Tasks: Neural Random Access Machines (NRAM) learning linked-list search.
  • Binary Multiplication: Neural GPUs.
Architecture of a Neural Random Access Machine (NRAM), one of the complex models tested.

Key Results and Insights

The primary finding is that gradient noise acts as an optimizer rather than just a regularizer. Unlike Dropout, which primarily prevents overfitting, gradient noise actively helps models find lower training loss by escaping plateaus that standard SGD cannot navigate.

Comparison of training loss and test accuracy with and without gradient noise. The noise allows the model to escape a long plateau around epoch 150.

Quantitative improvements were substantial:

  • Robustness to Initialization: In a 20-layer ReLU MNIST network with all weights initialized to zero, standard SGD failed (11% accuracy), while the noise-enhanced version reached 94.5% accuracy.
  • Memory Networks: The error rate on question-answering tasks saw a 72% relative reduction compared to tuned baselines.
  • Algorithmic Learning: For NRAM, the success rate in learning linked-list search jumped from 1.3% to 11.3%.
  • Neural GPUs: For binary multiplication, the number of models achieving <1% error more than doubled.

Conclusion

Adding annealed gradient noise is a simple, "one-line-of-code" modification that significantly improves the training of deep and complex neural networks. It is particularly effective in "low-information" regimes where optimal weight initialization is unknown. While the benefit is less pronounced when using state-of-the-art analytical initializations, the technique remains a powerful tool for making optimization more robust across a wide variety of architectures.

Summary updated

BibTeX
@misc{neelakantan2015adding,
  author = {Arvind Neelakantan and Luke Vilnis and Quoc V. Le and Ilya Sutskever and Lukasz Kaiser and Karol Kurach and James Martens},
  title = {{Adding Gradient Noise Improves Learning for Very Deep Networks}},
  year = {2015},
  eprint = {1511.06807},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06807},
}
Figure