Learning-based Adaptive Control using Contraction Theory

Hiroyasu Tsukamoto, Soon-Jo Chung, Jean-Jacques E. Slotine

TL;DR

This paper introduces the adaptive Neural Contraction Metric (aNCM), a novel deep learning-based framework for adaptive control of nonlinear systems. It guarantees provable stability and robustness against parametric uncertainties, learning errors, and external disturbances, outperforming existing methods in simulations.

What Problem Does This Paper Address?

Autonomous systems operating in complex, unknown environments face significant challenges in control. Traditional adaptive control methods often struggle with stability guarantees when using learned models, especially when dealing with substantial parametric uncertainties or when the system dynamics are not well-understood. Existing robust and adaptive control techniques can be overly conservative or computationally intensive. This paper aims to bridge this gap by developing a real-time implementable adaptive control framework that leverages deep learning for learning optimal control policies while providing formal stability and robustness guarantees.

Methods

The core contribution is the adaptive Neural Contraction Metric (aNCM). This framework builds upon prior work on Neural Contraction Metrics (NCMs) but explicitly incorporates a mechanism to handle learning errors inherent in deep neural network approximations.

Here's a breakdown of the key methods:

  • Contraction Theory: This theoretical foundation provides the basis for stability and robustness guarantees. It relies on finding a "contraction metric" that ensures the distance between system trajectories shrinks exponentially.
  • Deep Neural Networks (DNNs): DNNs are used to approximate these optimal contraction metrics and, consequently, the stabilizing adaptive control laws in real-time. This allows for broad applicability to various nonlinear systems.
  • Adaptive Control Law: The paper derives a novel adaptive control law that utilizes the learned contraction metric and an adaptation law for the unknown system parameters. This adaptation law is designed to explicitly account for the NCM's learning error.
  • Multiplicatively-Separable Systems: The framework is generalized to handle systems where the dynamics can be expressed as a product of functions of the state and unknown parameters (e.g., $f(x, \theta) = Y(x)Z(\theta)$). This class of systems is common in robotics and other applications.
  • Convex Optimization: The construction of contraction metrics relies on solving convex optimization problems, which ensures that the learned metrics are well-behaved.

What's new compared to prior work:

  • Explicit handling of NCM learning error: This is a key advancement that allows for provable stability guarantees even when the learned model is imperfect.
  • Generalization to multiplicatively-separable systems: This expands the applicability of the framework.
  • Avoidance of minimizing geodesics: Unlike some previous methods, the aNCM simplifies the computation of the control law.

Datasets

The paper does not introduce new datasets. Instead, it uses a simulated cart-pole balancing model for evaluation. The simulation data is generated for the specific experiments described in Section V.

Key Insights and Ideas

  • Learning and Provable Stability Can Coexist: The most significant insight is that deep learning, often perceived as a "black box," can be integrated with rigorous mathematical frameworks like contraction theory to achieve provably stable and robust control. This is a crucial step towards deploying AI in safety-critical applications.
  • Learning Error is Not a Dealbreaker: The paper demonstrates that even with imperfect learned models (due to approximation errors), adaptive control can still achieve stability and robustness, provided the learning error is bounded and accounted for in the adaptation law.
  • Contraction Theory as a Powerful Tool for Learning: Contraction theory provides a principled way to design learning-based controllers that are not only performant but also guarantee safety and reliability.
  • Generalization is Key: Extending the framework to handle multiplicatively-separable systems and systems modeled by function approximators (like neural networks) significantly broadens its practical relevance.

Key Results

The paper presents theoretical guarantees and simulation results:

  • Theoretical Guarantees: The paper provides theorems (Theorem 1-4) that formally prove exponential boundedness of the tracking error for various classes of nonlinear systems under parametric uncertainty, learning errors, and external disturbances.
  • Simulation Performance: In the cart-pole balancing task, the proposed aNCM framework consistently outperformed existing adaptive and robust control techniques.
  • In simulations with unknown drags, the aNCM achieved stabilization, while iLQR, feedback linearization, and a baseline NCM failed.
  • In simulations with an unknown dynamical system (modeled by a neural network), the aNCM also achieved stabilization, whereas iLQR and a robust NCM diverged. The aNCM (Theorem 4) showed better transient behavior than aNCM (Theorem 2) when the matching condition was not strictly met.

Limitations and Future Work

  • Learning Error Bound: The theoretical guarantees rely on the learning error ($\epsilon$) being sufficiently small. While the paper shows how to handle it, the practical challenge of ensuring this bound in real-world scenarios remains.
  • Computational Cost: While the DNN allows for real-time implementation of the control law, the initial training of the DNN and the convex optimization steps for constructing contraction metrics can still be computationally intensive.
  • Specific System Classes: The current framework is primarily focused on systems with affine parametric uncertainty or multiplicatively-separable structures. Extending it to more general forms of uncertainty could be a future direction.
  • Implicit Regularization: The paper mentions incorporating implicit regularization for over-parameterized systems, suggesting this as a practical implementation technique. Further exploration of this aspect could be beneficial.
  • Adaptive Motion Planning: The authors suggest that the aNCM framework could be used for adaptive motion planning under stochastic perturbations, indicating a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{tsukamoto2021learning,
  author = {Hiroyasu Tsukamoto and Soon-Jo Chung and Jean-Jacques E. Slotine},
  title = {{Learning-based Adaptive Control using Contraction Theory}},
  booktitle = {CDC},
  year = {2021},
  doi = {10.1109/cdc45484.2021.9683435},
}
Figure