Dependability Analysis of Deep Reinforcement Learning based Robotics and Autonomous Systems

Yi Dong, Xingyu Zhao, Xiaowei Huang · DOI

TL;DR

This paper introduces a novel framework for formally analyzing the dependability of Deep Reinforcement Learning (DRL)-driven robots. By constructing probabilistic models and using model checking, they can rigorously assess properties like safety, resilience, and robustness, revealing crucial trade-offs and limitations in current DRL training.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) is revolutionizing robotics and autonomous systems (RAS), enabling them to handle complex tasks. However, the "black-box" nature of DRL policies and the unpredictable real-world environments they operate in create significant challenges for ensuring their dependability. Existing safety approaches often focus narrowly on preventing immediate failures, neglecting a holistic view of system quality that includes reliability, safety, availability, and performance. This paper aims to bridge this gap by providing a formal method to analyze a broader spectrum of dependability properties for DRL-based RAS.

Methods

The core of the proposed method involves two main steps:

  1. DTMC Construction: The authors construct a Discrete-Time Markov Chain (DTMC) to model the risk dynamics of a DRL-driven RAS interacting with its environment. This DTMC captures different levels of "risk" (from negligible to catastrophic failure) and transitions between them. The DTMC is built by sampling trajectories from the DRL policy's execution and then estimating transition probabilities based on observed state sequences.
  2. Probabilistic Model Checking (PMC): Once the DTMC is built, they use Probabilistic Model Checking (PMC) to verify a set of formally defined dependability properties. These properties are expressed in Probabilistic Computation Tree Logic (PCTL), a temporal logic that allows for quantitative reasoning about probabilities and rewards. The paper defines specific properties for safety, resilience, robustness, detection, and recovery.

Datasets

The paper does not explicitly list or introduce new datasets for training DRL models. Instead, it focuses on the analysis of DRL policies trained using existing methods. For evaluation, they utilize:

  • Simulated Environment: ROS and Gazebo are used to create a simulated environment for training and initial testing.
  • Physical Environment: A Turtlebot3 Waffle Pi robot is used for real-world experiments, equipped with a LiDAR sensor.

The experimental setup involves generating sampled trajectories from trained DRL policies to construct the DTMCs for analysis.

Key Insights and Ideas

  • Holistic Dependability: The paper moves beyond simple "safe action" constraints to formally define and analyze a suite of dependability properties (safety, resilience, robustness, detection, recovery), offering a more comprehensive view of system quality.
  • DTMC for Risk Dynamics: Using a DTMC to model the dynamics of risk (rather than just states) is a key innovation, allowing for probabilistic analysis of failure progression.
  • DRL Training Limitations: Standard DRL training, focused on maximizing rewards, does not inherently improve dependability properties like resilience or detection. This suggests a need for bespoke optimization objectives.
  • Trade-offs Revealed: The analysis clearly shows conflicts between different dependability properties. For instance, as disturbances increase, safety and robustness decrease, while detection becomes easier and resilience might appear to improve (due to how it's defined and calculated). This highlights the necessity of explicit trade-off considerations during development.
  • Sensitivity to Disturbances: The framework allows for sensitivity analysis of dependability properties with respect to environmental disturbance levels, providing valuable insights for deployment decisions.

Key Results

  • The proposed framework effectively assesses dependability properties of DRL-driven RAS.
  • Experimental results show that standard DRL training stabilizes dependability properties but does not improve them.
  • Sensitivity analysis reveals that increased environmental disturbances lead to decreased safety and robustness, while detection becomes easier and resilience appears to improve (though this is nuanced).
  • The analysis successfully uncovered conflicts between properties, indicating the need for trade-offs.
  • The dependability analysis results were found to be stable with respect to the number of sampled trajectories (especially beyond 300 samples).

Limitations and Future Work

  • Recovery Property Omission: The authors note that the verification of the recovery property was omitted in experiments due to limitations in current model checkers' ability to handle rewards with nested LTL.
  • Simplified Disturbance Model: The experiments used a simplified half-Gaussian distribution for disturbance modeling, though the authors suggest this can be extended.
  • Bespoke Optimization: A significant future direction is the development of DRL training methods that explicitly incorporate optimization objectives for dependability properties, rather than relying on standard reward maximization.
  • Incorporating Disparate Evidence: While mentioned as a possibility, the paper primarily uses sampling for DTMC construction. Future work could explore more deeply integrating diverse evidence sources (domain knowledge, FMEA, etc.) into DTMC construction.

Summary updated

BibTeX
@inproceedings{dong2022dependability,
  author = {Yi Dong and Xingyu Zhao and Xiaowei Huang},
  title = {{Dependability Analysis of Deep Reinforcement Learning based Robotics and Autonomous Systems}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2022},
  doi = {10.1109/iros47612.2022.9981794},
}
Figure