Abstract
We present a new method for learning control law that stabilizes an unknown nonlinear dynamical system at an equilibrium point. We formulate a system identification task in a self-supervised learning setting that jointly learns a controller and corresponding stable closed-loop dynamics hypothesis. The input-output behavior of the unknown dynamical system under random control inputs is used as the supervising signal to train the neural network-based system model and the controller. The proposed method relies on the Lyapunov stability theory to generate a stable closed-loop dynamics hypothesis and corresponding control law. We demonstrate our method on various nonlinear control problems such as n-link pendulum balancing and trajectory tracking, pendulum on cart balancing, and wheeled vehicle path following.
Introduction
Controlling nonlinear systems—ranging from multi-link robotic manipulators to autonomous vehicles—traditionally requires a precise mathematical model of the underlying physics. Engineers often rely on Jacobian linearization or feedback linearization to manage these complexities. However, real-world dynamics are frequently too complex to model accurately or are entirely unknown.
While deep learning offers a potential solution, many existing methods require prior knowledge of dynamics or a pre-existing "teacher" controller. "Neural Identification for Control" (NI4C) addresses this gap by proposing a self-supervised framework that learns a stabilizing control law for completely unknown systems using only raw input-output observations. By embedding Lyapunov stability theory directly into the neural architecture, the system jointly learns a controller and a guaranteed-stable hypothesis of closed-loop behavior.
Methodology
The NI4C framework utilizes a two-step self-supervised learning approach to bridge the gap between unknown dynamics and stable control.
1. Learning the Control Effect
In the first stage, a neural network ($NN_{\hat{g}}$) is trained to identify how control inputs influence the system. This is achieved by comparing the system's autonomous dynamics (behavior with zero input) against its response to random control pulses. This allows the model to isolate the control-dependent components of the dynamics without needing a full physical model.
2. Joint Learning of Stability and Control
The core innovation of NI4C lies in the simultaneous training of two networks: the controller ($NN_{\pi}$) and the "Stability Architect" ($NN_{P}$). Unlike standard predictors, $NN_{P}$ is architecturally constrained by Lyapunov stability theory. As shown in Figure 1, the network uses a specific matrix decomposition ($P(x) = A(x)^T A(x) + B(x) - B(x)^T$) to ensure that any output it produces represents a mathematically stable closed-loop dynamics hypothesis ($f_s$). The controller is then trained to "push" the real-world system to match this stable target.
Iterative Learning and Bootstrapping
To expand the safe operating region, the authors employ an iterative strategy. Training begins in a small, safe region near the equilibrium. As the controller improves, it is used to explore and collect data from progressively wider regions, effectively bootstrapping the system's stability and expanding its Region of Attraction (ROA).
Experimental Evaluation
The method was evaluated using simulated nonlinear systems, including n-link pendulums, inverted pendulums on carts, and wheeled vehicles. Training data consisted of 10,000 randomly sampled state-input pairs.
Key Results
- Superior Stability Regions: NI4C achieved a larger or comparable ROA compared to traditional Linear Quadratic Regulators (LQR) and Reinforcement Learning methods like Proximal Policy Optimization (PPO). Figure 2 demonstrates the resulting stable phase portrait where trajectories converge to the equilibrium.
- Robustness: By utilizing Monte Carlo Dropout, the researchers showed the controller remains effective even under model uncertainty.
- Non-Affine Capability: The framework successfully handled non-affine systems, where control inputs do not appear linearly in the equations—a significant challenge for many traditional nonlinear control methods.
Discussion and Conclusion
NI4C shifts the focus from general "System Identification" to "Identification for Control." Rather than attempting to model every physical nuance, the framework identifies only the dynamics necessary for stabilization. By designing stability into the network architecture rather than treating it as a training objective, the method provides stronger mathematical guarantees for unknown systems.
Future work will address the challenge of identifying the initial "safe" region for highly unstable systems and reducing the data intensity required for training on physical hardware. Despite these hurdles, NI4C represents a significant step toward autonomous systems that can learn to stabilize themselves in entirely novel environments.
Summary updated