Abstract
In this paper, we solve the problem of finding a certified control policy that drives a robot from any given initial state and under any bounded disturbance to the desired reference trajectory, with guarantees on the convergence or bounds on the tracking error. Such a controller is crucial in safe motion planning. We leverage the advanced theory in Control Contraction Metric and design a learning framework based on neural networks to co-synthesize the contraction metric and the controller for control-affine systems. We further provide methods to validate the convergence and bounded error guarantees. We demonstrate the performance of our method using a suite of challenging robotic models, including models with learned dynamics as neural networks. We compare our approach with leading methods using sum-of-squares programming, reinforcement learning, and model predictive control. Results show that our methods indeed can handle a broader class of systems with less tracking error and faster execution speed.
Introduction
Motion planning in robotics typically involves two distinct phases: path generation and path following. While finding a safe path is a well-studied problem, ensuring a non-linear system (such as a drone or self-balancing robot) remains on that path despite real-world disturbances is significantly more challenging. Traditional control theory methods like Sum-of-Squares (SoS) offer formal stability certificates but are computationally prohibitive and limited to simple polynomial dynamics. Conversely, Reinforcement Learning (RL) handles complexity well but lacks formal safety guarantees. Model Predictive Control (MPC), while effective, often fails to meet the real-time constraints of high-speed maneuvers.
This paper introduces C3M (Certified Control using Contraction Metric), a framework that jointly learns a tracking controller and a stability certificate (a Contraction Metric) using neural networks. This co-synthesis approach enables robots to follow complex trajectories with formal guarantees on convergence and error bounds, outperforming existing methods in both speed and reliability.
Methodology
The core of C3M is based on Control Contraction Metric (CCM) theory. Unlike global stability approaches like Lyapunov functions, contraction theory focuses on "differential" stability, ensuring that neighboring trajectories naturally converge toward each other over time.
The C3M framework employs two neural networks: one representing the controller and another representing the "dual metric" (the certificate). These networks are trained jointly using a loss function derived from CCM conditions, forcing the controller to be stable while the metric simultaneously proves that stability.
Key features of the methodology include:
- Neural Co-synthesis: Joint optimization of the controller and the certificate.
- Offline Training: Training is conducted on independent state-input samples, making it more data-efficient than simulation-heavy RL.
- Formal Validation: The authors provide a deterministic approach using Lipschitz continuity for global stability proof and a probabilistic approach using conformal regression to bound tracking errors.
Experimental Evaluation
The method was evaluated across nine representative robotic models of varying dimensionality, including:
- Standard Benchmarks: PVTOL (6D), Quadrotor (9D), Segway (4D), Cart-pole, and Pendulum.
- Neural Lander: A drone model incorporating learned "ground effect" aerodynamics, representing a "black-box" dynamic that traditional polynomial-based methods cannot handle.
- High-Dimensional Systems: A 10D Quadrotor and a Two-Link Planar Robot Arm (TLPRA).
Results and Discussion
C3M demonstrated superior performance across all benchmarks. Notably, it was the only method to successfully find a stable tracking controller for all nine models, whereas RL failed on the 9D Quadrotor and SoS failed on the Segway and Neural Lander.
Key findings include:
- Superior Tracking: C3M consistently achieved lower tracking error (measured by Area Under the Curve, AUC) compared to RL and SoS.
- Real-Time Efficiency: C3M execution time averaged approximately 0.4ms per step, making it thousands of times faster than MPC, which required between 1900ms and 7400ms per step.
- Robustness: The controller maintained the robot within a mathematically guaranteed "tube" around the desired path, even under random wind-like disturbances.
- Flexibility: By using neural networks instead of polynomial equations, C3M breaks the "polynomial barrier," allowing for the certification of systems with complex, non-polynomial dynamics.
Conclusion
While C3M offers significant advantages, the deterministic validation process can be conservative, sometimes requiring extensive sampling for formal verification. Future work will focus on extending the framework to systems with completely unknown dynamics and non-control-affine systems. Nonetheless, C3M represents a major step forward in bridging the gap between high-performance neural control and formal stability guarantees.
Summary updated