A New Supervised Learning Algorithm of Recurrent Neural Networks and L2 Stability Analysis in Discrete-Time Domain

Yilei Wu, Xulei Yang, Qing SongInTech 2008 · OpenAlex

Abstract

Recurrent Neural Networks (RNNs) are powerful tools for modeling nonlinear dynamic systems due to their ability to map arbitrary input sequences. However, traditional training algorithms like Backpropagation Through Time (BPTT) and Real-Time Recurrent Learning (RTRL) often struggle with a trade-off between convergence speed and mathematical stability. This paper introduces a Robust Adaptive Gradient Descent (RAGD) algorithm that utilizes adaptive learning rates and normalization factors. Furthermore, we provide a rigorous $L_2$ stability analysis using the conic sector theorem to guarantee system robustness during the training process.

Introduction: The Speed-Stability Dilemma

Training RNNs is inherently challenging due to their distributive parallel structure and feedback loops. In real-time signal processing, fast convergence is critical, yet increasing the learning rate often leads to instability or weight "explosion." While linear adaptive filters have long benefited from normalized algorithms like N-LMS, extending these concepts to the non-linear domain of RNNs has remained an open problem. The difficulty lies in calculating error derivatives and analyzing the underlying dynamics of the training process.

The Robust Adaptive Gradient Descent (RAGD) Algorithm

To address these challenges, the Robust Adaptive Gradient Descent (RAGD) algorithm is proposed. RAGD employs a hybrid training strategy governed by three primary adaptive mechanisms:

  1. Adaptive Dead Zone Learning Rates ($\alpha$): These rates ensure that weight updates are suppressed when the error falls below a specific threshold, preventing the network from chasing noise in the steady state.
  2. Hybrid Adaptive Learning Rates ($\beta$): This parameter acts as a switch between standard online Back Propagation and a more intensive recurrent mode. It allows the algorithm to identify and jump toward "deeper local attractors," significantly accelerating convergence.
  3. Normalization Factors ($\rho$): These factors scale the gradient updates to mitigate the "vanishing cone" problem, ensuring that gradients remain informative throughout the learning process.

Theoretical Foundation: $L_2$ Stability Analysis

A core contribution of this work is the formal proof of stability. By modeling the RNN training process as a closed-loop feedback system, the authors apply Lyapunov functions and the conic sector theorem (Cluett’s law).

Figure 1: Block diagram representing the RNN training process as a closed-loop feedback system for stability analysis.

As shown in Figure 1, the system is decomposed into forward ($H_1$) and feedback ($H_2$) paths. The $L_2$ stability analysis ensures that the ratio of output noise to input noise remains bounded. This is achieved by defining geometric boundary conditions for the learning parameters.

Figure 2: Geometric interpretation of the conic sector theorem, illustrating the stable region (inner side of the cone) for the learning parameters.

Figure 2 illustrates the "conic sector" $(C, R)$. If the adaptive parameters stay within the bounds defined by the lines $y=(c+r)x$ and $y=(c-r)x$, the network is mathematically guaranteed to remain stable, preventing the chaotic oscillations common in high-speed training.

Experimental Evaluation

The RAGD algorithm was tested against three benchmarks:

  • Time Series Prediction: RAGD achieved a Mean Squared Error (MSE) of $5.79 \times 10^{-3}$, outperforming Normalized RTRL.
  • System Identification: In modeling a complex Hammerstein-Wiener plant, RAGD converged in just 200 steps, a five-fold improvement over Truncated BPTT (1000 steps).
  • Pattern Association: The algorithm successfully recovered binary images from 40% pixel noise, demonstrating robustness comparable to BPTT but with significantly faster convergence (280 vs. 450 iterations).

Conclusion

The RAGD algorithm offers a significant advancement in RNN training by balancing efficiency with guaranteed stability. By treating training as a geometric problem within a conic sector, it avoids the computational pitfalls of deep unfolding while maintaining high accuracy. Future research will explore scaling this $L_2$ stability framework to deeper architectures and non-stationary environments.

Summary updated

Abstract

In the past decades, Recurrent Neural Network (RNN) has attracted extensive research interests in various disciplines. One important motivation of these investigations is the RNN's promising ability of modeling time-behavior of nonlinear dynamic systems. It has been theoretically proved that RNN is able to map arbitrary input sequences to output sequences with infinite accuracy regardless underline dynamics with sufficient training samples [1]. Moreover, from biological point of view, RNN is more plausible to the real neural models as compared to other adaptive methods such as Hidden Markov Models (HMM), feed-forward networks and Support Vector Machines (SVM). From the practical point of view, the dynamics approximation and adaptive learning capability make RNN a highly competitive candidate for a wide range of applications. See [2] [3] [4] for examples. Among the various applications, the realtime signal processing has constantly been one of the active topics of RNN. In such kind of applications, the convergence speed is always an important concern because of the tight timing requirement. For example, the conventional training algorithms of RNN, such as the Backpropagation Through Time (BPTT) and the Real Time Recurrent Learning (RTRL) always suffer from slow convergence speed. If a large learning rate is selected to speed up the weight updating, the training process may become unstable. Thus it is desirable to develop robust learning algorithms with variable or adaptive learning coecients to obtain a tradeoff between the stability and fast convergence speed. The issue has already been extensively studied for linear adaptive filters, e.g., the famous Normalized Least Mean Square (N-LMS) algorithm. However, for online training algorithms of RNN this is still an open topic. Due to the inherent feedback and distributive parallel structure, the adjustments of RNN weights can affect the entire neural network state variables during network training. Hence it is difficult to obtain the error derivative for gradient type updating rules, and in turn difficulty in the analysis of the underlying dynamics of the training. So far, a great number of works have been carried out to solve the problem. To name a few, in [5], B. Pearlmutter presented a detail survey on gradient calculation for RNN training algorithms. In [6] [7] , M. Rupp et al introduced a robustness
BibTeX
@inproceedings{wu2008new,
  author = {Yilei Wu and Xulei Yang and Qing Song},
  title = {{A New Supervised Learning Algorithm of Recurrent Neural Networks and L2 Stability Analysis in Discrete-Time Domain}},
  booktitle = {InTech},
  year = {2008},
  doi = {10.5772/5541},
}
Figure