Control-oriented meta-learning

Spencer M. Richards, Navid Azizan, Jean-Jacques E. Slotine, Marco Pavone

TL;DR

This paper introduces "control-oriented meta-learning" to train adaptive controllers for robots. By optimizing for trajectory tracking error directly during meta-training, their method significantly outperforms traditional regression-based approaches, especially in challenging, dynamic environments with unknown disturbances.

What Problem Does This Paper Address?

Controlling robots in complex, dynamic environments is a major challenge. While adaptive control can help robots track desired trajectories even with unknown dynamics, it often relies on knowing the structure of these unknown dynamics beforehand, which is rarely the case in real-world scenarios. Existing machine learning approaches often focus on accurately modeling the robot's input-output behavior (regression-oriented), assuming this leads to good control. However, the authors argue that for control, the learning process itself should be tailored to the control objective, not just model accuracy. This paper tackles the problem of learning adaptive controllers that perform well in closed-loop tracking tasks without prior knowledge of the exact dynamics, by directly optimizing for tracking performance during the learning phase.

Methods

The core innovation is control-oriented meta-learning. Instead of learning a model that fits input-output data, they meta-learn an adaptive controller. This involves:

  1. Offline Training: The process happens offline using collected trajectory data.
  2. Base-Learner: An adaptive controller (which includes a parametric model and an adaptation law) acts as the base-learner.
  3. Meta-Objective: The meta-learner optimizes the average integrated tracking error across a set of simulated target trajectories.
  4. Closed-Loop Simulation: Crucially, the meta-learning process back-propagates gradients through a closed-loop simulation of the adaptive controller. This directly links the learning to the control performance.

They formalize this as a bi-level optimization problem. They also show how this framework can be applied to specific classes of nonlinear systems, like fully-actuated Lagrangian systems and control-affine systems with matched uncertainty, by learning neural network representations of unknown dynamics and control gains.

Datasets

The paper uses simulated data generated from the dynamics of two robotic systems:

  • Planar Fully-Actuated Rotorcraft (PFAR): Simulated using nonlinear equations of motion, with unknown external forces modeled as quadratic drag due to wind.
  • Planar Vertical Take-Off and Landing (PVTOL) vehicle: Simulated using its nonlinear dynamics, also subject to quadratic drag from wind.

For training, they generate trajectories by fitting smooth polynomial splines to random walks and then simulating the system with a nominal controller (without knowledge of the wind disturbance). For testing, they use a different wind distribution (out-of-distribution samples) to evaluate generalization.

Key Insights and Ideas

  • Control-Oriented Learning is Key: Optimizing directly for tracking error in closed-loop simulation during meta-training is more effective than optimizing for model accuracy (regression). This is because adaptive control often works by "canceling" disturbances on a "need-to-know" basis, rather than precisely identifying the disturbance itself.
  • Meta-Learning for Adaptive Controllers: The framework elegantly integrates meta-learning with adaptive control principles, allowing the system to learn not just features for the unknown dynamics but also the control and adaptation gains.
  • Robustness to Distribution Shift: The proposed method shows improved performance even when tested with wind conditions (disturbances) that differ significantly from those seen during training. This highlights its generalization capabilities.
  • Sample Efficiency: The meta-learned controllers demonstrate good performance with a relatively small number of training trajectories, suggesting efficient learning.

Key Results

  • Improved Tracking Performance: In simulations for both PFAR and PVTOL systems, the control-oriented meta-learned adaptive controller consistently achieved lower RMS tracking errors compared to baseline methods (nominal controllers and regression-based meta-learning).
  • Handling Wind Disturbances: The method showed significant robustness to wind disturbances, particularly when the wind conditions during testing were out-of-distribution compared to training.
  • Meta-Learned Gains: The paper demonstrates that meta-learning control and adaptation gains can be competitive with or superior to manually tuned gains, offering a significant advantage for practical deployment.
  • Qualitative Improvements: Visualizations show the meta-learned controller quickly adapting and maintaining better trajectory tracking, especially under challenging wind conditions, compared to baselines.

Limitations and Future Work

  • Simulation-Based: The current work is primarily based on simulations. Real-world deployment would require further validation.
  • Constraints: The authors express interest in extending the framework to handle constraints, such as state and input constraints, which would involve integrating with differentiable convex optimization techniques.
  • Unmatched Uncertainties: Future work aims to extend the meta-learning approach to systems with unmatched uncertainties, which are notoriously difficult for traditional adaptive controllers. This would involve learning universal adaptive controllers parameterized by stability certificate functions.
  • Real-World Data: While the paper uses simulated data, future work could explore meta-learning directly from real-world robot data.

Summary updated

BibTeX
@article{richards2023control,
  author = {Spencer M. Richards and Navid Azizan and Jean-Jacques E. Slotine and Marco Pavone},
  title = {{Control-oriented meta-learning}},
  journal = {Int. J. Robotics Res.},
  year = {2023},
  doi = {10.1177/02783649231165085},
}
Figure