QuaDUE-CCM: Interpretable Distributional Reinforcement Learning using Uncertain Contraction Metrics for Precise Quadrotor Trajectory Tracking

Yanran Wang, James O'Keeffe, Qiuchen Qian, David E. Boyle

Abstract

Accuracy and stability are critical requirements for quadrotor trajectory tracking, yet designing controllers that maintain both under unknown and dynamic aerodynamic conditions remains a significant challenge. We present QuaDUE-CCM, a framework that merges the predictive power of Distributional Reinforcement Learning (RL) with the formal stability guarantees of Control Contraction Metrics (CCM). By utilizing a novel quantile-approximation-based estimator (QuaDUE) to model aerodynamic uncertainties, the system achieves a 56.6% reduction in tracking error compared to standard data-driven methods and recovers from disturbances three times faster than previous state-of-the-art RL controllers.

Introduction

Quadrotors are highly agile vehicles, yet their performance is often limited by complex aerodynamics. At high speeds or in gusty conditions, forces such as drag and turbulent rotor interactions create chaotic disturbances that are difficult to model analytically. Traditional control methods provide stability proofs but rely on accurate physical models, while standard machine learning approaches can learn complex noise but often lack formal safety guarantees. QuaDUE-CCM bridges this gap by using RL to learn chaotic forces while maintaining the rock-solid stability guarantees of control theory.

Methodology: Bridging RL and Control Theory

The QuaDUE-CCM framework integrates two distinct components: a distributional RL estimator and a contraction-based controller working in tandem.

The QuaDUE-CCM framework architecture, integrating distributional RL for uncertainty estimation with CCM-based MPC.

1. QuaDUE (Uncertainty Estimator)

Unlike standard RL, which predicts a single expected value, QuaDUE utilizes Distributional RL to estimate the entire probability distribution of aerodynamic uncertainties. Specifically, it employs a quantile-approximation-based approach. By modeling the distribution's quantiles, the agent captures the "tails" of the uncertainty—rare, high-impact events like sudden wind gusts—enabling risk-aware control.

2. CCM-based Controller

The uncertainty estimates from QuaDUE are fed into a Control Contraction Metric (CCM) framework. Contraction theory ensures that any two trajectories of the system will exponentially converge toward each other. In this context, it guarantees that the quadrotor's actual flight path will converge to the desired reference trajectory. The RL-derived uncertainty terms are incorporated into a Nonlinear Model Predictive Control (NMPC) loop, satisfying CCM constraints to maintain stability.

Experimental Evaluation

The system was evaluated in the RotorS simulator, a high-fidelity Gazebo environment. Training involved external forces ranging from -3 to 3 $m/s^2$ to simulate diverse wind conditions. Reference paths were generated using Kino-JSS for agile flight. QuaDUE-CCM was benchmarked against Gaussian Process-based MPC (GP-MPC), standard RL (DDPG-CCM), and a prior distributional RL method (QuaDRED-MPC).

Results and Discussion

The integration of distributional RL with CCM yields significant improvements in both accuracy and robustness across varying disturbance zones.

Performance comparison of QuaDUE-CCM against baselines across different external disturbance zones, showing tracking error and recovery rates.

Key Performance Metrics

  • Tracking Accuracy: Under significant aerodynamic disturbances (>2 $m/s^2$), QuaDUE-CCM reduced tracking error by 56.6% compared to baseline data-driven methods.
  • Recovery Speed: The system demonstrated a 3x improvement in contraction rate over QuaDRED-MPC, indicating a much more aggressive return to the reference path following a disturbance.
  • Reliability: In extreme scenarios where GP-MPC failed completely (0% success), QuaDUE-CCM maintained an 84.1% success rate.

Interpretability and Trade-offs

A key finding is the stability-accuracy trade-off. While some methods might occasionally achieve lower absolute error, QuaDUE-CCM prioritizes a higher contraction rate. This "conservative" behavior ensures the drone returns to a safe path quickly, which is critical for real-world safety. Furthermore, the authors provided mathematical proofs for the convergence of the distributional RL agent, moving RL toward a more interpretable tool for control engineers.

Conclusion

QuaDUE-CCM represents a significant step toward deploying agile quadrotors in unpredictable environments. By combining risk-aware distributional RL with the rigorous stability of contraction metrics, the framework achieves unprecedented tracking precision and disturbance recovery. Future work will focus on reducing computational overhead for higher-frequency deployment and conducting real-world outdoor flight tests.

Summary updated

BibTeX
@inproceedings{wang2022quadue,
  author = {Yanran Wang and James O'Keeffe and Qiuchen Qian and David E. Boyle},
  title = {{QuaDUE-CCM: Interpretable Distributional Reinforcement Learning using Uncertain Contraction Metrics for Precise Quadrotor Trajectory Tracking}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=7vKFlv74AA},
}
Figure