Safe Deep Policy Adaptation

Wenli Xiao, Tairan He, John Dolan, Guanya Shi
10/8/2023
cs.ROcs.AIcs.LG

Official code: LeCAR-Lab/SafeDPA (11 stars, MIT, last commit 2024-05-24).

Abstract

A critical goal of autonomy and artificial intelligence is enabling autonomous robots to rapidly adapt in dynamic and uncertain environments. Classic adaptive control and safe control provide stability and safety guarantees but are limited to specific system classes. In contrast, policy adaptation based on reinforcement learning (RL) offers versatility and generalizability but presents safety and robustness challenges. We propose SafeDPA, a novel RL and control framework that simultaneously tackles the problems of policy adaptation and safe reinforcement learning. SafeDPA jointly learns adaptive policy and dynamics models in simulation, predicts environment configurations, and fine-tunes dynamics models with few-shot real-world data. A safety filter based on the Control Barrier Function (CBF) on top of the RL policy is introduced to ensure safety during real-world deployment. We provide theoretical safety guarantees of SafeDPA and show the robustness of SafeDPA against learning errors and extra perturbations. Comprehensive experiments on (1) classic control problems (Inverted Pendulum), (2) simulation benchmarks (Safety Gym), and (3) a real-world agile robotics platform (RC Car) demonstrate great superiority of SafeDPA in both safety and task performance, over state-of-the-art baselines. Particularly, SafeDPA demonstrates notable generalizability, achieving a 300% increase in safety rate compared to the baselines, under unseen disturbances in real-world experiments.

View on arXivView PDF

Code Implementations(1)

LeCAR-Lab/SafeDPAOfficial100%
MIT
111PythonJan 29, 20242 years agoMIT

Similar Papers

Cite this paper

@article{xiao2023safe,
  title  = {Safe Deep Policy Adaptation},
  author = {Wenli Xiao and Tairan He and John Dolan and Guanya Shi},
  year   = {2023},
  eprint = {2310.08602},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.08602v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.08602.svg)](https://codeofpaper.com/paper/2310.08602)

Discussion