TL;DR
This paper challenges the notion that complex neural network policies are required for image-based robot control. By combining a deep learning-based keypoint extractor with low-degree polynomial dynamic controllers, the authors demonstrate how to synthesize visuomotor policies with provable stability guarantees using Sums-of-Squares (SOS) optimization, even in the presence of perception noise.
What Problem Does This Paper Address?
When deploying autonomous robots in the real world, ensuring safety and stability is paramount. However, modern robots often rely on high-dimensional, non-smooth visual inputs (like camera images) to navigate and manipulate their environments—a challenge known as visuomotor output-feedback control.
Currently, the dominant paradigm for visuomotor control is Deep Reinforcement Learning (RL). While deep RL can learn impressive behaviors, the resulting neural network policies are black boxes: they are notoriously data-hungry, prone to unexpected failures, and nearly impossible to formally certify for stability. Conversely, traditional control theory offers powerful tools like Lyapunov analysis to guarantee stability, but these methods typically require full-state information (e.g., exact positions and velocities) and struggle to ingest raw pixels.
This paper bridges the gap by providing a framework to synthesize simple, stateful (dynamic) polynomial controllers directly driven by visual features, complete with provable regions of attraction (ROA) where the robot is guaranteed to safely converge to its goal.
Methods
The authors propose a two-stage pipeline that separates high-dimensional perception from control, while maintaining end-to-end stability guarantees:
- Perception via Keypoints: Instead of controlling directly from raw pixels, a Convolutional Neural Network (CNN) is trained to extract a small set of low-dimensional, smooth visual features—specifically, keypoints rigidly attached to the robot's body. Because these keypoints represent physical locations on a rigid body, their relationship to the true state of the robot can be modeled mathematically as a simple polynomial function plus some bounded observation noise.
- Dynamic Polynomial Control: The controller is parameterized as a low-degree polynomial that updates an internal latent state $z$ and outputs a control action $u$ based on the extracted keypoints. Crucially, the controller does not attempt to explicitly reconstruct the full robot state, which keeps the optimization problem computationally tractable.
To find the parameters of this polynomial controller and prove its stability, the authors present two algorithmic approaches:
- Method 1 (SOS Alternations): This method uses coordinate ascent to iteratively solve a sequence of convex Sum-of-Squares (SOS) optimization problems. It alternates between searching for a valid Lyapunov function and updating the controller parameters to maximize the certified Region of Attraction (ROA).
- Method 2 (Gradient-Based Synthesis + Post-Hoc Verification): Inspired by the scalability of RL, this method uses gradient descent to optimize the controller parameters over simulated trajectories first. Afterward, it runs a single, smaller SOS program to verify the closed-loop ROA a posteriori.
To handle real-world imperfections, the authors incorporate Extreme Value Theory (EVT) to statistically bound the CNN's keypoint prediction error. This bound is then fed into a robust SOS formulation, guaranteeing that the system will converge to a small, invariant error-bound set around the goal state despite perception noise.
Datasets
The method was evaluated on four simulated nonlinear, underactuated systems, with image datasets generated via simulation (and rendered using PyBullet for the quadrotors):
- Inverted Pendulum: Evaluated using a dataset of 4,000 pairs of $64\times64$ grayscale images and corresponding single-tip keypoints.
- Cart-Pole: Evaluated using 20,000 pairs of $56\times96$ grayscale images mapping to two keypoints (base and tip).
- Planar (2D) Quadrotor: Evaluated using 40,000 pairs of $128\times96$ grayscale images mapping to two keypoints (center and right propeller).
- 3D Quadrotor: Evaluated using 150,000 pairs of multi-view $128\times128\times3$ depth images mapping to three keypoints on the propellers.
Key Insights and Ideas
- Simplicity is Certifiable: Complex neural networks aren't always necessary for control. If the perception layer reduces the visual scene to geometric primitives (keypoints), a low-degree polynomial or even a linear dynamic controller is powerful enough to stabilize highly underactuated, nonlinear systems like quadrotors.
- Bypassing State Estimation: Traditional output-feedback control often decouples the problem into state estimation (e.g., Kalman filtering) and state-feedback control. This paper shows that directly optimizing a low-order latent variable $z$ within the controller avoids the need for explicit, full-state reconstruction, making the system less sensitive to initial estimation errors.
- Perception Errors as Bounded Disturbances: By treating the CNN's prediction errors as bounded noise, the authors successfully apply robust control theory to deep-learning vision components, providing an end-to-end guarantee from pixels to torques.
Key Results
The proposed methods were compared against two baselines: PPO (a popular deep reinforcement learning algorithm using a recurrent neural network policy) and LQG (Linear Quadratic Gaussian control, which separates linear state estimation from linear control).
- Inverted Pendulum Swing-Up: Method 2 successfully discovered a global swing-up and stabilization policy from images. While PPO also succeeded, it suffered from persistent "chattering" around the goal. LQG achieved a significantly smaller certified ROA.
- Cart-Pole Stabilization: Method 1 (SOS Alternations) successfully stabilized the cart-pole from images, outperforming PPO (which failed to stabilize the cart's horizontal position, resulting in large errors) and LQG (which yielded a smaller volume ROA and was highly sensitive to initial state estimates).
- Quadrotor Flight (2D & 3D): The proposed method certified massive ROAs, stabilizing the quadrotors from initial displacements as far as 15 meters away and from extreme tilt angles exceeding $\pi/2$ radians. PPO completely failed to stabilize the quadrotors, quickly driving them to crash due to destabilizing control actions early in training.
Limitations and Future Work
While a major step forward for verifiable visuomotor control, the authors note a few key limitations:
- Scalability of SOS: Sums-of-Squares optimization scales poorly with the number of state variables ($n_x$). For systems significantly larger than a 3D quadrotor (13 states), standard SOS becomes computationally prohibitive. The authors suggest exploring more scalable alternatives like DSOS/SDSOS.
- Supervised Keypoints: The current pipeline requires a labeled dataset of keypoints to train the perception module. Future work will investigate unsupervised learning techniques to extract polynomial latent dynamics directly from raw images without manual keypoint labeling.
Summary updated