Learning-based Adaptive Control via Contraction Theory

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

Introduction

In the development of autonomous robots and aerospace vehicles, adaptive control represents a critical capability, allowing systems to adjust their behavior in response to unknown physical parameters such as varying wind speeds or shifting payloads. Despite its potential, traditional adaptive control faces two significant challenges: the difficulty of providing rigorous stability certificates for nonlinear systems and the high computational complexity of finding these certificates in real-time. Engineers often rely on Lyapunov functions, which are frequently discovered through trial and error rather than systematic derivation. This paper introduces the adaptive Neural Contraction Metric (aNCM), a framework that leverages Deep Neural Networks (DNNs) to learn stability certificates offline, enabling stable, real-time adaptation online.

Methodology: The aNCM Framework

The core of the proposed approach is the integration of contraction theory with neural approximation. Unlike standard stability analysis that focuses on equilibrium points, contraction theory examines the distance between any two trajectories. A "contracting" system ensures that all trajectories converge toward each other, providing inherent robustness to disturbances.

System architecture of the adaptive Neural Contraction Metric (aNCM) framework.

The aNCM framework utilizes a DNN to approximate an optimal contraction metric. By performing the computationally intensive convex optimization during an offline training phase, the robot only needs to execute a simple neural network forward pass to determine its control law during operation. To simplify the mathematical requirements and avoid real-time geodesic computations, the authors employ State-Dependent Coefficient (SDC) parameterization. Furthermore, the framework includes a novel adaptation law that updates estimates of unknown parameters (e.g., mass or friction) while explicitly accounting for the neural network's learning error.

Key Insights

A major contribution of this work is the derivation of stability bounds that incorporate the NCM learning error ($\epsilon_L$). By acknowledging that neural networks are not perfect, the authors prove that the system remains stable as long as the network's approximation is "good enough."

Another key insight is the separation of known kinematics from unknown parameters using a multiplicatively-separable structure ($f(x, \theta) = Y(x)Z(\theta)$). This allows for a clean adaptation process. Additionally, the paper highlights how over-parameterized neural networks can benefit from implicit regularization, which helps shape parameter distribution even when the system lacks sufficient excitation to learn all parameters perfectly.

Experimental Evaluation

The aNCM framework was validated using a simulated Cart-Pole Balancing Task, a classic under-actuated control problem. The task was made more challenging by introducing unknown drag coefficients and unknown system dynamics. The training dataset consisted of 10,000 samples generated via convex optimization (CV-STEM method) across various system states.

Tracking error performance on a cart-pole system with unknown drag coefficients.

The results demonstrate that aNCM significantly outperforms industry baselines such as iterative LQR (iLQR) and non-adaptive Robust NCM. In scenarios with unknown drag, aNCM successfully stabilized the cart-pole while other methods failed. Even when the system dynamics were replaced by a "black box" poorly-modeled DNN, aNCM achieved stabilization where baselines diverged. The adaptive version described in the paper also exhibited superior transient performance, showing smoother recovery compared to versions assuming matched uncertainty.

Conclusion and Future Work

While the aNCM framework provides a robust solution for adaptive control, it currently relies heavily on the "matched uncertainty" condition, where unknown forces act through the same channels as control inputs. Future research will focus on extending the theory to "unmatched" uncertainties. Additionally, reducing the offline training complexity for high-dimensional systems and extending the framework to handle stochastic real-world environments remain important areas for development.

Summary updated

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