[Paper Review] Noisy Recurrent Neural Networks
This paper introduces Noisy Recurrent Neural Networks (NRNNs), which inject noise into hidden states during training to implicitly regularize the model. By modeling NRNNs as discretized stochastic differential equations, the authors show that noise injection promotes flatter minima, enhances dynamical stability, and increases classification margins—leading to improved robustness against input perturbations while maintaining state-of-the-art performance on clean data.
We provide a general framework for studying recurrent neural networks (RNNs) trained by injecting noise into hidden states. Specifically, we consider RNNs that can be viewed as discretizations of stochastic differential equations driven by input data. This framework allows us to study the implicit regularization effect of general noise injection schemes by deriving an approximate explicit regularizer in the small noise regime. We find that, under reasonable assumptions, this implicit regularization promotes flatter minima; it biases towards models with more stable dynamics; and, in classification tasks, it favors models with larger classification margin. Sufficient conditions for global stability are obtained, highlighting the phenomenon of stochastic stabilization, where noise injection can improve stability during training. Our theory is supported by empirical results which demonstrate that the RNNs have improved robustness with respect to various input perturbations.
Motivation & Objective
- To develop a theoretical framework for understanding how noise injection in RNNs improves generalization and robustness.
- To identify the implicit regularization effect of noise injection by deriving an explicit regularizer in the small noise regime.
- To establish connections between noise-induced stability, flat minima, and large classification margins in RNNs.
- To empirically validate that NRNNs are more robust to input perturbations while maintaining high accuracy on clean data.
- To demonstrate that noise injection can lead to stochastic stabilization, improving training dynamics.
Proposed method
- Model RNNs as discretizations of stochastic differential equations (SDEs) driven by input data and noise.
- Derive an explicit regularizer in the small noise regime to characterize the implicit regularization effect.
- Use Lyapunov stability analysis to prove sufficient conditions for global stability under noise injection.
- Formulate the classification margin as a function of RNN dynamics and noise-induced regularization.
- Train NRNNs with both additive and multiplicative noise, tuning noise levels to optimize performance on clean data.
- Compare NRNNs against state-of-the-art RNN variants (e.g., CoRNN, Lipschitz RNN, Exponential RNN) on benchmark tasks under clean and perturbed inputs.
Experimental results
Research questions
- RQ1How does noise injection in RNNs affect the implicit regularization of the training process?
- RQ2What is the explicit form of the regularizer induced by noise injection in the small noise regime?
- RQ3Can noise injection lead to improved stability and flatter minima in RNN training?
- RQ4Does noise injection enhance the classification margin in RNNs, and if so, how is this linked to dynamical stability?
- RQ5To what extent do NRNNs improve robustness to input perturbations compared to deterministic RNNs?
Key findings
- NRNNs achieve state-of-the-art performance on clean MNIST and permuted MNIST benchmarks, with test accuracy of 94.9% on clean data.
- Under white noise perturbations (σ=0.3), NRNNs maintain 94.3% accuracy, significantly outperforming CoRNN (29.1%) and Exponential RNN (61.6%).
- Under salt-and-pepper noise (α=0.1), NRNNs achieve 88.6% accuracy, compared to 72.6% for the Antisymmetric RNN and 52.6% for CoRNN.
- The Hessian landscape of NRNNs is smoother than that of deterministic RNNs, indicating flatter minima.
- Noise injection leads to stochastic stabilization, with theoretical conditions showing improved global stability in continuous-time NRNNs.
- The implicit regularization from noise favors models with larger classification margins, which is linked to better generalization and robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.