English

An STL-based Formulation of Resilience in Cyber-Physical Systems

Logic in Computer Science 2022-07-20 v2

Abstract

Resiliency is the ability to quickly recover from a violation and avoid future violations for as long as possible. Such a property is of fundamental importance for Cyber-Physical Systems (CPS), and yet, to date, there is no widely agreed-upon formal treatment of CPS resiliency. We present an STL-based framework for reasoning about resiliency in CPS in which resiliency has a syntactic characterization in the form of an STL-based Resiliency Specification (SRS). Given an arbitrary STL formula φ\varphi, time bounds α\alpha and β\beta, the SRS of φ\varphi, Rα,β(φ)R_{\alpha,\beta}(\varphi), is the STL formula ¬φU[0,α]G[0,β)φ\neg\varphi\mathbf{U}_{[0,\alpha]}\mathbf{G}_{[0,\beta)}\varphi, specifying that recovery from a violation of φ\varphi occur within time α\alpha (recoverability), and subsequently that φ\varphi be maintained for duration β\beta (durability). These RR-expressions, which are atoms in our SRS logic, can be combined using STL operators, allowing one to express composite resiliency specifications, e.g., multiple SRSs must hold simultaneously, or the system must eventually be resilient. We define a quantitative semantics for SRSs in the form of a Resilience Satisfaction Value (ReSV) function rr and prove its soundness and completeness w.r.t. STL's Boolean semantics. The rr-value for Rα,β(φ)R_{\alpha,\beta}(\varphi) atoms is a singleton set containing a pair quantifying recoverability and durability. The rr-value for a composite SRS formula results in a set of non-dominated recoverability-durability pairs, given that the ReSVs of subformulas might not be directly comparable (e.g., one subformula has superior durability but worse recoverability than another). To the best of our knowledge, this is the first multi-dimensional quantitative semantics for an STL-based logic. Two case studies demonstrate the practical utility of our approach.

Keywords

Cite

@article{arxiv.2205.03961,
  title  = {An STL-based Formulation of Resilience in Cyber-Physical Systems},
  author = {Hongkai Chen and Shan Lin and Scott A. Smolka and Nicola Paoletti},
  journal= {arXiv preprint arXiv:2205.03961},
  year   = {2022}
}

Comments

16 pages excluding references and appendix (23 pages in total), 6 figures