Mining Environment Assumptions for Cyber-Physical System Models

Many complex cyber-physical systems can be modeled as heterogeneous components interacting with each other in real-time. We assume that the correctness of each component can be specified as a requirement satisfied by the output signals produced by the component, and that such an output guarantee is expressed in a real-time temporal logic such as Signal Temporal Logic (STL). In this paper, we hypothesize that a large subset of input signals for which the corresponding output signals satisfy the output requirement can also be compactly described using an STL formula that we call the environment assumption. We propose an algorithm to mine such an environment assumption using a supervised learning technique. Essentially, our algorithm treats the environment assumption as a classifier that labels input signals as good if the corresponding output signal satisfies the output requirement, and as bad otherwise. Our learning method simultaneously learns the structure of the STL formula as well as the values of the numeric constants appearing in the formula.1 To achieve this, we combine a procedure to systematically enumerate candidate Parametric STL (PSTL) formulas, with a decision-tree based approach to learn parameter values. We demonstrate experimental results on real world data from several domains including transportation and health care.

[1]  Ashish Tiwari,et al.  TeLEx: Passive STL Learning Using Only Positive Examples , 2017, RV.

[2]  Ezio Bartocci,et al.  A Robust Genetic Algorithm for Learning Temporal Specifications from Data , 2018, QEST.

[3]  Matthias Woehrle,et al.  Industrial Examples of Formal Specifications for Test Case Generation , 2015, ARCH@CPSWeek.

[4]  Sanjit A. Seshia,et al.  Mining Requirements From Closed-Loop Control Models , 2015, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[5]  Kenneth R. Butts,et al.  Powertrain control verification benchmark , 2014, HSCC.

[6]  Alberto L. Sangiovanni-Vincentelli,et al.  Stochastic contracts for cyber-physical system design under probabilistic requirements , 2017, MEMOCODE.

[7]  Sanjit A. Seshia,et al.  Scalable specification mining for verification and diagnosis , 2010, Design Automation Conference.

[8]  Georgios E. Fainekos,et al.  Mining parametric temporal logic properties in model-based design for cyber-physical systems , 2015, International Journal on Software Tools for Technology Transfer.

[9]  Oded Maler,et al.  Robust Satisfaction of Temporal Logic over Real-Valued Signals , 2010, FORMATS.

[10]  Dejan Nickovic,et al.  Interface-aware signal temporal logic , 2019, HSCC.

[11]  Alberto Sangiovanni-Vincentelli,et al.  From Relational Interfaces to Assume-Guarantee Contracts , 2014 .

[12]  Jyotirmoy V. Deshmukh,et al.  Interpretable classification of time-series data using efficient enumerative techniques , 2019, HSCC.

[13]  Sanjit A. Seshia,et al.  Combining requirement mining, software model checking and simulation-based verification for industrial automotive systems , 2016, 2016 Formal Methods in Computer-Aided Design (FMCAD).

[14]  Ebru Aydin Gol,et al.  Synthesis of Monitoring Rules via Data Mining , 2019, 2019 American Control Conference (ACC).

[15]  Garvit Juniwal,et al.  CPSGrader: Synthesizing temporal logic testers for auto-grading an embedded systems laboratory , 2014, 2014 International Conference on Embedded Software (EMSOFT).

[16]  Oded Maler Learning Monotone Partitions of Partially-Ordered Domains (Work in Progress) , 2017 .

[17]  Alberto L. Sangiovanni-Vincentelli,et al.  Time Series Learning using Monotonic Logical Properties , 2018, RV.

[18]  Gang Chen,et al.  Active learning based requirement mining for cyber-physical systems , 2016, 2016 IEEE 55th Conference on Decision and Control (CDC).

[19]  Sanjit A. Seshia,et al.  Logical Clustering and Learning for Time-Series Data , 2016, 1612.07823.

[20]  Dejan Nickovic,et al.  Parametric Identification of Temporal Properties , 2011, RV.

[21]  Calin Belta,et al.  Temporal logic inference for classification and prediction from data , 2014, HSCC.

[22]  James Kapinski,et al.  Stochastic Local Search for Falsification of Hybrid Systems , 2015, ATVA.

[23]  Sriram Sankaranarayanan,et al.  S-TaLiRo: A Tool for Temporal Logic Falsification for Hybrid Systems , 2011, TACAS.

[24]  Alexandre Donzé,et al.  Breach, A Toolbox for Verification and Parameter Synthesis of Hybrid Systems , 2010, CAV.

[25]  Calin Belta,et al.  Anomaly detection in cyber-physical systems: A formal methods approach , 2014, 53rd IEEE Conference on Decision and Control.

[26]  Houssam Abbas,et al.  Benchmarks for Temporal Logic Requirements for Automotive Systems , 2014, ARCH@CPSWeek.

[27]  Calin Belta,et al.  Online Learning of Temporal Logic Formulae for Signal Classification , 2018, 2018 European Control Conference (ECC).

[28]  Dejan Nickovic,et al.  Monitoring Temporal Properties of Continuous Signals , 2004, FORMATS/FTRTFT.

[29]  Ezio Bartocci,et al.  Learning Temporal Logical Properties Discriminating ECG models of Cardiac Arrhytmias , 2013, ArXiv.

[30]  Ebru Aydin Gol Efficient Online Monitoring and Formula Synthesis with Past STL , 2018, 2018 5th International Conference on Control, Decision and Information Technologies (CoDIT).

[31]  Sanjit A. Seshia,et al.  ST-Lib: A Library for Specifying and Classifying Model Behaviors , 2016, SAE Technical Paper Series.

[32]  Sriram Sankaranarayanan,et al.  Analyzing Neighborhoods of Falsifying Traces in Cyber-Physical Systems , 2017, 2017 ACM/IEEE 8th International Conference on Cyber-Physical Systems (ICCPS).

[33]  Sriram Sankaranarayanan,et al.  Towards a Verified Artificial Pancreas: Challenges and Solutions for Runtime Verification , 2015, RV.

[34]  Calin Belta,et al.  A Decision Tree Approach to Data Classification using Signal Temporal Logic , 2016, HSCC.