Abstract
This paper presents a new dynamic integral quadratic constraint (IQC) for the repeated Rectified Linear Unit (ReLU). These dynamic IQCs can be used to analyze stability and induced $\ell_2$-gain performance of discrete-time, recurrent neural networks (RNNs) with ReLU activation functions. These analysis conditions can be incorporated into learning-based controller synthesis methods, which currently rely on static IQCs. We show that our proposed dynamic IQCs for repeated ReLU form a superset of the dynamic IQCs for repeated, slope-restricted nonlinearities. We also prove that the $\ell_2$-gain bounds are nonincreasing with respect to the horizon used in the dynamic IQC filter. A numerical example using a simple RNN shows that our proposed IQCs lead to less conservative bounds than existing IQCs.
Introduction: The Challenge of RNN Stability
Recurrent Neural Networks (RNNs) are essential for processing temporal data, yet their "black box" nature poses significant risks in safety-critical control systems. To guarantee that an RNN-based controller will not oscillate or fail under disturbance, researchers often model these networks as "Lurye-type" systems. In this framework, the RNN is represented as a linear state-space model interconnected in a feedback loop with a nonlinear component—the activation functions.
To prove stability, control theorists use Quadratic Constraints (QCs) to bound the behavior of the nonlinearity. However, standard QCs are often "static," meaning they only evaluate the input and output of the ReLU at a single point in time. Furthermore, many existing tools treat ReLU as a generic "slope-restricted" function, failing to exploit its unique structural properties. This lack of specificity leads to conservative mathematical guarantees that often underestimate the system's true performance.
Methodology: Dynamic IQCs for Repeated ReLU
The researchers bridge the gap between general control theory and specific neural network structures by introducing a dynamic IQC framework tailored for repeated ReLU functions. This approach relies on three primary innovations:
- Dynamic Filtering: The authors introduce a dynamic filter ($\Psi_N$) that captures the history of signals passing through the ReLU. By looking at a "lifting horizon" ($N$) of past values, the constraint accounts for temporal dependencies that static methods ignore.
- Exploiting ReLU Structure: Unlike generic slope-restricted functions, ReLU exhibits specific sign-invariance and structural properties. The authors derive new Linear Matrix Inequalities (LMIs) that specifically exploit these features for multiple neurons in a layer.
- Hard IQC Framework: By utilizing "hard" IQCs, which are valid over any finite time horizon, the framework can effectively analyze transient performance, specifically the induced $\ell_2$-gain of discrete-time systems.
A key theoretical insight of this work is the "superset" relationship: the new ReLU-specific dynamic IQCs encompass the best existing dynamic IQCs for slope-restricted functions. Furthermore, the authors prove that as the lifting horizon $N$ increases, the resulting performance bounds are non-increasing, ensuring that more historical data always leads to tighter (less conservative) guarantees.
Performance Analysis and Results
The effectiveness of the proposed method was evaluated using a synthetic RNN example designed to minimize the induced $\ell_2$-gain—a measure of how much the system amplifies noise or disturbances. The numerical results demonstrate a significant reduction in conservatism compared to traditional methods.
As shown in the data, the proposed dynamic IQCs for ReLU achieve the tightest bounds. At a lifting horizon of $N=3$, the proposed method yields a bound of 1.136, which is substantially lower than the 1.698 achieved by previous dynamic methods for slope-restricted functions and the 2.357 achieved by static ReLU methods. This tightening of the bound represents a major step forward in providing realistic safety guarantees for RNNs.
Conclusion and Future Directions
While the dynamic IQC framework significantly reduces conservatism, it introduces increased computational complexity. As the horizon $N$ or the number of neurons grows, the resulting Semidefinite Program (SDP) becomes more expensive to solve. Future research will focus on integrating advanced static constraints, such as those based on copositivity, into this dynamic framework to further refine performance. Additionally, optimizing LMI solvers will be crucial for scaling these methods to deep, large-scale recurrent architectures used in modern machine learning.
Summary updated