Learning Tube-Certified Control Using Robust Contraction Metrics

Vivek Sharma, Pan Zhao, Naira HovakimyanarXiv 2023 · DOI

Introduction

Controlling complex robotic systems, such as drones or multi-link manipulators, remains a significant challenge due to real-world disturbances like wind, friction, and modeling inaccuracies. Traditional approaches often force a compromise: neural network (NN) controllers offer high performance in complex dynamics but lack formal safety guarantees, while robust control methods like Sum-of-Squares (SOS) programming provide rigorous "safety certificates" but fail to scale to high-dimensional or non-polynomial systems.

This paper introduces NN-RCCM (Neural Network Robust Control Contraction Metrics), a framework that jointly learns a robust nonlinear controller and a safety certificate using neural networks. By optimizing for disturbance rejection, the system generates "tubes"—guaranteed safety margins—around a robot's path. This approach achieves tighter control and executes approximately 50 times faster than traditional optimization-based methods.

Proposed Framework

The core of NN-RCCM is based on Contraction Theory, which analyzes whether system trajectories converge toward each other over time. The framework consists of a two-step offline learning process followed by online execution.

Overview of the NN-RCCM framework, showing the joint synthesis of the metric and controller (Step 1), tube refinement (Step 2), and online execution in a disturbed environment.

Joint Synthesis and Tube Refinement

  1. Joint Learning: Two neural networks—one representing the controller and another representing the "dual metric" (the safety certificate)—are trained simultaneously. The training objective is a loss function derived from Lyapunov-like matrix inequalities, ensuring that the system remains stable under disturbances.
  2. Universal $L_\infty$ Gain Optimization: The framework optimizes a parameter ($\alpha$), representing the "gain" from disturbance to error. This minimizes the maximum deviation caused by external disturbances.
  3. Tube Refinement: A unique feature of this method is the ability to refine tube sizes for specific state variables (e.g., position) without retraining the entire controller. This allows for task-specific precision, such as narrowing the safety margin for XYZ coordinates to navigate tight spaces while allowing more slack for less critical internal states.

Experimental Evaluation

The framework was validated across five simulated robotic benchmarks of increasing complexity:

  • PVTOL (4D): Planar vertical take-off and landing aircraft.
  • Quadrotor (10D): A standard drone model.
  • Neural Lander (6D): A lander dealing with complex ground-effect aerodynamics.
  • TLPRA (4D): A two-link planar robotic arm.
  • 10-Link Rope (22D): A high-dimensional system demonstrating the scalability of the approach.

Results and Analysis

NN-RCCM demonstrates significant improvements in both safety and efficiency compared to existing methods.

Tracking error comparison over time. NN-RCCM-P (red) maintains a tighter error bound than the standard NN-CCM (blue), staying well within the certified tube (dashed black line).

Key Performance Metrics

  • Tighter Safety Margins: In quadrotor benchmarks, NN-RCCM produced tracking errors roughly half the size of non-robust neural contraction methods (NN-CCM).
  • Scalability: By utilizing neural network training instead of SOS optimization, the framework successfully handled the 22D rope system, which is computationally prohibitive for traditional robust control.
  • Real-Time Efficiency: The learned controller is a direct neural network mapping, enabling execution speeds roughly 50 times faster than optimization-based alternatives (RCCM-P). This efficiency allows for real-time deployment on hardware with constrained computing resources.
  • Enhanced Navigation: In obstacle-rich environments with wind disturbances, the tighter "position tubes" allowed motion planners to identify safe paths through narrow gaps that other certified methods would reject as too risky.

Conclusion and Future Work

NN-RCCM bridges the gap between high-performance neural control and rigorous safety certification. While the current framework provides robust guarantees, the "tubes" are based on worst-case scenarios and can be conservative. Future work will explore reducing this conservatism and extending the framework to handle "unmatched disturbances"—those that cannot be directly countered by control inputs—through integrated uncertainty compensation. Additionally, while the training uses soft penalties, a formal verification step using Lipschitz continuity properties ensures the safety conditions are met across the workspace.

Summary updated

BibTeX
@misc{sharma2023learning,
  author = {Vivek Sharma and Pan Zhao and Naira Hovakimyan},
  title = {{Learning Tube-Certified Control Using Robust Contraction Metrics}},
  year = {2023},
  eprint = {2309.07443},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.07443},
}
Figure