Noise Injection Node Regularization for Robust Learning

Noam Levi, Itay M. Bloch, Marat Freytsis, Tomer Volansky

Abstract

We introduce Noise Injection Node Regularization (NINR), a method of injecting structured noise into Deep Neural Networks (DNN) during the training stage, resulting in an emergent regularizing effect. We present theoretical and empirical evidence for substantial improvement in robustness against various test data perturbations for feed-forward DNNs when trained under NINR. The novelty in our approach comes from the interplay of adaptive noise injection and initialization conditions such that noise is the dominant driver of dynamics at the start of training. As it simply requires the addition of external nodes without altering the existing network structure or optimization algorithms, this method can be easily incorporated into many standard problem specifications. We find improved stability against a number of data perturbations, including domain shifts, with the most dramatic improvement obtained for unstructured noise, where our technique outperforms other existing methods such as Dropout or $L_2$ regularization, in some cases. We further show that desirable generalization properties on clean data are generally maintained.

Introduction

Deep Neural Networks (DNNs) have achieved remarkable success across various domains, often reaching superhuman accuracy on clean datasets. However, these models are notoriously brittle when faced with real-world perturbations, such as camera noise, lighting changes (domain shift), or adversarial attacks. While standard regularization techniques like Dropout or $L_2$ weight decay are effective at preventing overfitting, they do not inherently improve robustness to out-of-distribution data or corrupted inputs.

Conceptual diagram showing the relationship between clean data ($f_{\text{data}}$), corrupted data ($f_{\text{corrupted}}$), and adversarial examples ($f_{\text{adv}}$) within the broader image space ($f_{\text{images}}$).

Noise Injection Node Regularization (NINR)

We propose Noise Injection Node Regularization (NINR), a novel approach that introduces "noise nodes" into the network architecture during training. Unlike standard methods that add noise directly to inputs, NINR adds external nodes that feed uncorrelated random noise into specific layers through optimizable weights.

Mechanism and Dynamics

The network treats these noise weights as standard parameters. Since the noise is uninformative for the target task, the optimization process naturally attempts to suppress it. This process implicitly regularizes the local Hessian of the loss landscape, forcing the network toward "flatter" minima associated with higher stability.

Training dynamics are characterized by four distinct phases based on the noise magnitude: Decoupled, Decay, Catapult, and Divergent. The "Catapult" phase, where noise initially dominates the training dynamics and causes a temporary spike in loss, was found to yield the most significant gains in final model robustness.

Experimental Results

The effectiveness of NINR was evaluated on benchmarks including Fashion-MNIST (FMNIST), MNIST, USPS, and CIFAR-10.

Robustness to Unstructured Noise

On FMNIST, NINR-trained models demonstrated significantly higher resilience to random input noise compared to standard regularization. As shown in the results below, NINR variants—particularly those trained in the "Catapult" phase—maintain high test accuracy even as noise levels increase, whereas performance for Dropout and $L_2$ regularization drops sharply toward random guessing.

Test accuracy vs. noise level ($\sigma_{\text{noise}}$) for Fully Connected and Convolutional DNNs, comparing NINR variants against standard regularization methods.

Domain Shift and Adversarial Defense

NINR also showed strong performance in domain shift scenarios. For instance, a CNN trained on MNIST using "Full-NINR" in the catapult phase achieved 89.7% accuracy on the USPS dataset, a significant improvement over the 80.3% achieved by an unregularized network. Furthermore, NINR improved resilience against white-box adversarial attacks like FGSM and PGD without incurring a "clean data tax"—the models performed as well as standard models on uncorrupted test data.

Conclusion

NINR provides a simple yet powerful framework for enhancing DNN robustness. By leveraging the adaptive suppression of structured noise, models develop emergent stability against various perturbations. Future work will explore scaling NINR to modern architectures like Transformers and optimizing noise scheduling to reduce training time.

Summary updated

BibTeX
@inproceedings{levi2023noise,
  author = {Noam Levi and Itay M. Bloch and Marat Freytsis and Tomer Volansky},
  title = {{Noise Injection Node Regularization for Robust Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=gmSZ-GPNY6},
}
Figure