TeLEx: Passive STL Learning Using Only Positive Examples

We propose a novel passive learning approach, TeLEx, to infer signal temporal logic formulas that characterize the behavior of a dynamical system using only observed signal traces of the system. The approach requires two inputs: a set of observed traces and a template Signal Temporal Logic (STL) formula. The unknown parameters in the template can include time-bounds of the temporal operators, as well as the thresholds in the inequality predicates. TeLEx finds the value of the unknown parameters such that the synthesized STL property is satisfied by all the provided traces and it is tight. This requirement of tightness is essential to generating interesting properties when only positive examples are provided and there is no option to actively query the dynamical system to discover the boundaries of legal behavior. We propose a novel quantitative semantics for satisfaction of STL properties which enables TeLEx to learn tight STL properties without multidimensional optimization. The proposed new metric is also smooth. This is critical to enable use of gradient-based numerical optimization engines and it produces a 30\(\times \)–100\(\times \) speed-up with respect to the state-of-art gradient-free optimization. The approach is implemented in a publicly available tool.

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

[2]  E. Mark Gold,et al.  Language Identification in the Limit , 1967, Inf. Control..

[3]  Ezio Bartocci,et al.  Data-Driven Statistical Learning of Temporal Logic Properties , 2014, FORMATS.

[4]  Rupak Majumdar,et al.  Quantifying Conformance Using the Skorokhod Metric , 2015, CAV.

[5]  Susmit Jha,et al.  Automated Synthesis of Safe Autonomous Vehicle Control Under Perception Uncertainty , 2016, NFM.

[6]  R. Storn,et al.  Differential Evolution: A Practical Approach to Global Optimization (Natural Computing Series) , 2005 .

[7]  Stephen Muggleton,et al.  Learning from Positive Data , 1996, Inductive Logic Programming Workshop.

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

[9]  Takumi Akazaki Falsification of Conditional Safety Properties for Cyber-Physical Systems with Gaussian Process Regression , 2016, RV.

[10]  Francisco Facchinei,et al.  A Truncated Newton Algorithm for Large Scale Box Constrained Optimization , 2002, SIAM J. Optim..

[11]  Calin Belta,et al.  Q-Learning for robust satisfaction of signal temporal logic specifications , 2016, 2016 IEEE 55th Conference on Decision and Control (CDC).

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

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

[14]  Houssam Abbas,et al.  Functional gradient descent method for Metric Temporal Logic specifications , 2014, 2014 American Control Conference.

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

[16]  Dimos V. Dimarogonas,et al.  Robust Control for Signal Temporal Logic Specifications using Average Space Robustness , 2016, ArXiv.

[17]  Alexandre Donzé,et al.  On Signal Temporal Logic , 2013, RV.

[18]  Alberto L. Sangiovanni-Vincentelli,et al.  Model predictive control with signal temporal logic specifications , 2014, 53rd IEEE Conference on Decision and Control.

[19]  Sanjit A. Seshia,et al.  A theory of formal synthesis via inductive learning , 2015, Acta Informatica.

[20]  George J. Pappas,et al.  Robustness of Temporal Logic Specifications , 2006, FATES/RV.

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

[22]  Calin Belta,et al.  Robust temporal logic model predictive control , 2015, 2015 53rd Annual Allerton Conference on Communication, Control, and Computing (Allerton).

[23]  Dejan Nickovic,et al.  Quantitative monitoring of STL with edit distance , 2016, Formal Methods in System Design.

[24]  Houssam Abbas,et al.  Robustness-guided temporal logic testing and verification for Stochastic Cyber-Physical Systems , 2014, The 4th Annual IEEE International Conference on Cyber Technology in Automation, Control and Intelligent.

[25]  Dejan Nickovic,et al.  Checking Temporal Properties of Discrete, Timed and Continuous Behaviors , 2008, Pillars of Computer Science.

[26]  Ufuk Topcu,et al.  Synthesis of Joint Control and Active Sensing Strategies Under Temporal Logic Constraints , 2016, IEEE Transactions on Automatic Control.

[27]  Leslie G. Valiant,et al.  A theory of the learnable , 1984, CACM.

[28]  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.

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

[30]  James Jay Horning,et al.  A study of grammatical inference , 1969 .

[31]  Susmit Jha,et al.  On Optimal Control of Stochastic Linear Hybrid Systems , 2016, FORMATS.

[32]  Jorge Nocedal,et al.  Algorithm 778: L-BFGS-B: Fortran subroutines for large-scale bound-constrained optimization , 1997, TOMS.

[33]  Georgios E. Fainekos,et al.  Querying Parametric Temporal Logic Properties on Embedded Systems , 2012, ICTSS.