Falsification of Cyber-Physical Systems Using Deep Reinforcement Learning

Type: Article

Publication Date: 2020-01-23

Citations: 39

DOI: https://doi.org/10.1109/tse.2020.2969178

Abstract

A <i>Cyber-Physical System</i> (CPS) is a system which consists of software components and physical components. Traditional system verification techniques such as model checking or theorem proving are difficult to apply to CPS because the physical components have infinite number of states. To solve this problem, robustness guided falsification of CPS is introduced. Robustness measures how robustly the given specification is satisfied. Robustness guided falsification tries to minimize the robustness by changing inputs and parameters of the system. The input with a minimal robustness (counterexample) is a good candidate to violate the specification. Existing methods use several optimization techniques to minimize robustness. However, those methods do not use temporal structures in a system input and often require a large number of simulation runs to minimize the robustness. In this paper, we explore state-of-the-art <i>Deep Reinforcement Learning</i> (DRL) techniques, i.e., <i>Asynchronous Advantage Actor-Critic</i> (A3C) and <i>Double Deep Q Network</i> (DDQN), to reduce the number of simulation runs required to find such counterexamples. We theoretically show how robustness guided falsification of a safety property is formatted as a reinforcement learning problem. Then, we experimentally compare the effectiveness of our methods with three baseline methods, i.e., random sampling, cross entropy and simulated annealing, on three well known CPS systems. We thoroughly analyse the experiment results and identify two factors of CPS which make DRL based methods better than existing methods. The most important factor is the availability of the system internal dynamics to the reinforcement learning algorithm. The other factor is the existence of learnable structure in the counterexample.

Locations

  • arXiv (Cornell University) - View - PDF
  • IEEE Transactions on Software Engineering - View

Similar Works

Action Title Year Authors
+ PDF Chat Falsification of Cyber-Physical Systems Using Deep Reinforcement Learning 2018 Takumi Akazaki
Shuang Liu
Yoriyuki Yamagata
Yihai Duan
Jianye Hao
+ When cyber-physical systems meet AI 2022 Jiayang Song
Deyun Lyu
Zhenya Zhang
Zhijie Wang
Tianyi Zhang
Lei Ma
+ PDF Chat When Cyber-Physical Systems Meet AI: A Benchmark, an Evaluation, and a Way Forward 2022 Jiayang Song
Deyun Lyu
Zhenya Zhang
Zhijie Wang
Tianyi Zhang
Lei Ma
+ Deep Reinforcement Learning for Online Error Detection in Cyber-Physical Systems 2023 Seyyedamirhossein Saeidi
Forouzan Fallah
Saeed Samieezafarghandi
Hamed Farbeh
+ PDF Chat Falsification of cyber-physical systems with robustness-guided black-box checking 2020 Masaki Waga
+ PDF Chat A Survey of Algorithms for Black-Box Safety Validation of Cyber-Physical Systems 2021 Anthony Corso
Robert J. Moss
Mark Koren
Ritchie Lee
Mykel J. Kochenderfer
+ A Survey of Algorithms for Black-Box Safety Validation of Cyber-Physical Systems. 2020 Anthony Corso
Robert J. Moss
Mark Koren
Ritchie Lee
Mykel J. Kochenderfer
+ PDF Chat Tolerance of Reinforcement Learning Controllers against Deviations in Cyber Physical Systems 2024 Changjian Zhang
Parv Kapoor
Eunsuk Kang
Rômulo Meira-Góes
David Garlan
Akila Ganlath
Shatadal Mishra
Nejib Ammar
+ STL-Based Synthesis of Feedback Controllers Using Reinforcement Learning 2022 Nikhil Kumar Singh
Indranil Saha
+ PDF Chat STL-Based Synthesis of Feedback Controllers Using Reinforcement Learning 2023 Nikhil Kumar Singh
Indranil Saha
+ PDF Chat Reachability Verification Based Reliability Assessment for Deep Reinforcement Learning Controlled Robotics and Autonomous Systems 2024 Yi Dong
Xingyu Zhao
Sen Wang
Xiaowei Huang
+ PDF Chat Dependability Analysis of Deep Reinforcement Learning based Robotics and Autonomous Systems through Probabilistic Model Checking 2022 Yi Dong
Xingyu Zhao
Xiaowei Huang
+ Dependability Analysis of Deep Reinforcement Learning based Robotics and Autonomous Systems through Probabilistic Model Checking 2021 Yi Dong
Xingyu Zhao
Xiaowei Huang
+ Reachability Verification Based Reliability Assessment for Deep Reinforcement Learning Controlled Robotics and Autonomous Systems 2022 Yi Dong
Xingyu Zhao
Sen Wang
Xiaowei Huang
+ PDF Chat Reinforcement Learning with Ensemble Model Predictive Safety Certification 2024 Sven Gronauer
Tom Haider
Felippe Schmoeller Roza
Klaus Diepold
+ PDF Chat Joint Differentiable Optimization and Verification for Certified Reinforcement Learning 2023 Yixuan Wang
Simon Zhan
Zhilu Wang
Chao Huang
Zhaoran Wang
Zhuoran Yang
Qi Zhu
+ Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizability 2022 Mengdi Xu
Zuxin Liu
Peide Huang
Wenhao Ding
Zhepeng Cen
Bo Li
Ding Zhao
+ PDF Chat Robustness Verification of Deep Reinforcement Learning Based Control Systems Using Reward Martingales 2024 Dapeng Zhi
Peixin Wang
Cheng Chen
Min Zhang
+ Robustness Verification of Deep Reinforcement Learning Based Control Systems using Reward Martingales 2023 Dapeng Zhi
Peixin Wang
Cheng Chen
Min Zhang
+ SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agents 2023 Amirhossein Zolfagharian
Manel Abdellatif
Lionel Briand
S Ramesh

Works That Cite This (12)

Action Title Year Authors
+ PDF Chat Learning safe control for multi-robot systems: Methods, verification, and open challenges 2024 Kunal Garg
Songyuan Zhang
Oswin So
Charles Dawson
Chuchu Fan
+ PDF Chat Reflections on Surrogate-Assisted Search-Based Testing: A Taxonomy and Two Replication Studies based on Industrial ADAS and Simulink Models 2023 Shiva Nejati
Lev Sorokin
Damir A. Safin
Federico Formica
Mohammad Mahdi Mahboob
Claudio Menghi
+ PDF Chat Active fuzzing for testing and securing cyber-physical systems 2020 Yuqi Chen
Bohan Xuan
Christopher M. Poskitt
Jun Sun
Fan Zhang
+ PDF Chat Simulation-Based Testing of Simulink Models With Test Sequence and Test Assessment Blocks 2023 Federico Formica
Tony Fan
Akshay Rajhans
Vera Pantelic
Mark Lawford
Claudio Menghi
+ PDF Chat Part-X: A Family of Stochastic Algorithms for Search-Based Test Generation With Probabilistic Guarantees 2023 Giulia Pedrielli
Tanmay Khandait
Yumeng Cao
Quinn Thibeault
Hao Huang
Mauricio Castillo‐Effen
Georgios Fainekos
+ PDF Chat Finding Causally Different Tests for an Industrial Control System 2023 Christopher M. Poskitt
Yuqi Chen
Jun Sun
Yu Jiang
+ PDF Chat When Cyber-Physical Systems Meet AI: A Benchmark, an Evaluation, and a Way Forward 2022 Jiayang Song
Deyun Lyu
Zhenya Zhang
Zhijie Wang
Tianyi Zhang
Lei Ma
+ Test Case Generation for Drivability Requirements of an Automotive Cruise Controller: An Experience with an Industrial Simulator 2023 Federico Formica
Nicholas Petrunti
Lucas Bruck
Vera Pantelic
Mark Lawford
Claudio Menghi
+ Reinforcement Learning for Intelligent Healthcare Systems: A Comprehensive Survey. 2021 Alaa Awad Abdellatif
Naram Mhaisen
Zina Chkirbene
Amr Mohamed
Aiman Erbad
Mohsen Guizani
+ Search-Based Software Testing Driven by Automatically Generated and Manually Defined Fitness Functions 2023 Federico Formica
Tony Fan
Claudio Menghi