Introduction
Deep Neural Networks (DNNs) have revolutionized the modeling of complex dynamics, yet their integration into safety-critical control systems remains a significant challenge. The "black box" nature of DNNs makes it difficult to provide formal guarantees regarding system stability and safety. While much of the existing literature on Neural Feedback Loops (NFLs) focuses on Linear Time-Invariant (LTI) plants, many real-world applications—ranging from robotics to systems identified via Koopman theory—exhibit bilinear dynamics. In these systems, control inputs interact with states in a non-additive manner, complicating the design of stabilizing controllers. This paper presents a robust framework for designing controllers for bilinear systems with neural networks in the loop, providing rigorous mathematical guarantees of local exponential stability.
Methodology
The proposed approach transforms the challenge of controlling a nonlinear neural system into a solvable convex optimization problem through a multi-step pipeline:
- Implicit Neural Network Representation: Neural components are modeled as Implicit Neural Networks (INNs). This flexible class encompasses standard Multi-Layer Perceptrons (MLPs) and allows for a unified treatment of various architectures.
- Linear Fractional Representation (LFR): The bilinear-NFL system is reformulated as an LFR. This crucial step decouples the known linear dynamics from the nonlinearities, which include both neural network activations and bilinear terms.
- Quadratic Constraints (QCs): To manage nonlinearities, the authors employ "slope-restricted" quadratic constraints. This technique effectively bounds the neural network's input-output behavior within a mathematically defined "box."
- LMI-Based Synthesis: By integrating the LFR and QCs, the controller design is cast as a set of Linear Matrix Inequalities (LMIs). These convex optimization problems can be solved efficiently to synthesize a controller with guaranteed stability.
Experimental Validation
The framework was evaluated using a synthetic 4-dimensional generalized bilinear system. The system features a 4D state space and two control inputs. Nonlinearities within the system, such as $e^{u_1}-1$ and a rational function of $u_2$, were approximated using ReLU-based MLPs with two hidden layers of 10 neurons each. The simulation was implemented in Python using the CVXPY toolbox and the MOSEK solver.
Key Results
The proposed controller demonstrated superior performance in stabilizing the 4D nonlinear system. While a baseline controller—which ignored the neural network's nonlinearities—exhibited poor performance or failed to maintain stability, the LMI-based controller successfully drove the system to equilibrium.
Beyond mere stabilization, the method provides a quantifiable Region of Attraction (ROA). In the test case, a trace value of 0.1959 was achieved, offering engineers a concrete "safe zone" within the state space. The resulting controller is inherently "richer" than standard linear gains, as it functions as a nonlinear state-dependent map that accounts for the internal hidden states of the neural network.
Discussion and Future Work
A primary insight of this work is the treatment of neural networks as bounded uncertainties, allowing the application of robust control theory to modern AI problems. By performing a coordinate shift to a "shifted" LFR, the authors ensure the system remains near a desired equilibrium.
However, several challenges remain. The use of quadratic constraints can introduce conservatism, potentially leading to overly cautious control actions. Future work may explore Integral Quadratic Constraints (IQCs) to achieve tighter bounds. Additionally, the scalability of LMI solvers for high-dimensional systems or larger neural networks is a concern. Potential solutions include neural network pruning and the development of specialized semi-definite programming (SDP) solvers. Finally, investigating the conditions under which the LMIs become infeasible remains an open research question.
Summary updated