Abstract
We present a method for synthesizing dynamic, reduced-order output-feedback polynomial control policies for control-affine nonlinear systems which guarantees runtime stability to a goal state, when using visual observations and a learned perception module in the feedback control loop. We leverage Lyapunov analysis to formulate the problem of synthesizing such policies. This problem is nonconvex in the policy parameters and the Lyapunov function that is used to prove the stability of the policy. To solve this problem approximately, we propose two approaches: the first solves a sequence of sum-of-squares optimization problems to iteratively improve a policy which is provably-stable by construction, while the second directly performs gradient-based optimization on the parameters of the polynomial policy, and its closed-loop stability is verified a posteriori. We extend our approach to provide stability guarantees in the presence of observation noise, which realistically arises due to errors in the learned perception module. We evaluate our approach on several underactuated nonlinear systems, including pendula and quadrotors, showing that our guarantees translate to empirical stability when controlling these systems from images, while baseline approaches can fail to reliably stabilize the system.
Introduction
In modern robotics, the ideal scenario where a system has perfect knowledge of its state—position, velocity, and orientation—is rarely met. Instead, robots must often rely on high-dimensional, noisy sensor data, such as camera images, to navigate and perform tasks. Controlling a nonlinear system, like a quadrotor, based solely on a history of visual observations is known as the output-feedback problem. This problem is notoriously difficult to solve while maintaining rigorous safety and stability guarantees.
While Deep Reinforcement Learning (RL) has shown promise in learning "visuomotor" policies that map pixels directly to actions, these neural networks remain largely "black boxes." They lack formal guarantees that the robot will not oscillate or crash when starting from an unfamiliar state. Conversely, classical control methods that offer such guarantees often struggle with the high dimensionality of image data or require highly accurate environmental models. This research bridges the gap by providing a framework for provably stable nonlinear control with vision in the loop.
Methodology
The proposed pipeline consists of two primary stages: perception and stable policy synthesis.
Perception via Keypoints
To bridge the gap between high-dimensional pixels and control theory, the method utilizes a Convolutional Neural Network (CNN) to extract a set of "keypoints" (e.g., the tips of a quadrotor’s propellers). This step reduces the image into a low-dimensional, polynomial-friendly representation, making it computationally feasible to apply formal verification tools.
Dynamic Reduced-Order Controllers
The researchers design a dynamic reduced-order controller. This controller is "dynamic" because it maintains its own internal memory (a latent state) to account for the history of observations, and "reduced-order" because this memory is significantly smaller than the robot's actual physical state. The policy itself is represented as a polynomial function.
Stability via Sums-of-Squares (SOS)
To ensure the system converges to a goal state, the authors employ Lyapunov analysis. They seek a Lyapunov function—a mathematical "energy" function that decreases over time—to prove stability. Because the resulting optimization problem is nonconvex, they propose two distinct strategies:
- SOS Alternations (Method 1): This approach solves a sequence of convex Sums-of-Squares programs. By iteratively updating the policy and the Lyapunov function, it constructs a controller that is stable by design.
- Gradient Descent + Verification (Method 2): This approach uses standard gradient-based optimization to train the controller parameters first. Subsequently, SOS optimization is used to certify the Region of Attraction (ROA)—the specific set of initial conditions from which the robot is guaranteed to reach its goal.
Crucially, the framework accounts for "perception noise." By modeling the error between predicted and true keypoints as a bounded disturbance, the stability proofs remain valid even when the CNN is imperfect.
Experimental Evaluation
The method was evaluated on four simulated nonlinear systems within the PyBullet environment: an inverted pendulum, a cart-pole system, a planar quadrotor, and a full 13-state 3D quadrotor. Perception modules were trained on supervised datasets ranging from 4,000 to 150,000 image-keypoint pairs.
Key Results
- Expanded Safety Zones: On the inverted pendulum and quadrotor tasks, the proposed method certified significantly larger Regions of Attraction compared to classical baselines like Linear Quadratic Gaussian (LQG) control.
- Performance vs. RL: In the 3D quadrotor task, Proximal Policy Optimization (PPO), a standard RL algorithm, failed to stabilize the system reliably, resulting in a mean goal error of approximately 9.9 meters. In contrast, the SOS-based method stabilized the drone from distances as far as 15 meters with a formal certificate of success.
- Robustness to Noise: The research demonstrated that even with perception errors, the system is guaranteed to converge to a small "invariant set" around the goal, preventing the robot from drifting away indefinitely.
Discussion and Future Work
A central insight of this work is that low-degree polynomial controllers can be more effective than massive neural networks when stability is a priority. Because polynomials are mathematically tractable, they allow for the "carving out" of guaranteed safety zones.
However, challenges remain regarding scalability. As the robot's state dimension increases, SOS optimization becomes computationally expensive. Future research may explore more scalable variants, such as DSOS (Diagonally Dominant Sums-of-Squares). Additionally, while the current method requires supervised keypoint labels, future iterations could investigate learning latent dynamics directly from video in an unsupervised manner.
By combining the representational power of deep learning with the rigorous guarantees of Lyapunov theory, this approach moves us closer to deploying autonomous systems that are both highly capable and mathematically safe.
Summary updated