skip to main content
10.1145/3641513.3650128acmconferencesArticle/Chapter ViewAbstractPublication PagescpsweekConference Proceedingsconference-collections
research-article
Free Access

Fast and Scalable Monitoring for Value-Freeze Operator augmented Signal Temporal Logic

Published:14 May 2024Publication History

ABSTRACT

Signal Temporal Logic (STL) is a timed temporal logic formalism that has found widespread adoption for rigorous specification of properties in Cyber-Physical Systems. However, STL is unable to specify oscillatory properties commonly required in engineering design. This limitation can be overcome by the addition of additional operators, for example, signal-value freeze operators, or with first order quantification. Previous work on augmenting STL with such operators has resulted in intractable monitoring algorithms. We present the first efficient and scalable offline monitoring algorithms for STL augmented with independent freeze quantifiers. Our final optimized algorithm has a |ρ|log (|ρ|) dependence on the trace length |ρ| for most traces ρ arising in practice, and a |ρ|2 dependence in the worst case. We also provide experimental validation of our algorithms – we show the algorithms scale to traces having 100k time samples.

References

  1. R. Alur and D. L. Dill. 1994. A Theory of Timed Automata. Theor. Comput. Sci. 126, 2 (1994), 183–235.Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. Alur and T. A. Henzinger. 1994. A Really Temporal Logic. J. ACM 41, 1 (1994), 181–204.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. C. Baier and J. P. Katoen. 2008. Principles of model checking. MIT Press.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. A. Bakhirkin and N. Basset. 2019. Specification and Efficient Monitoring Beyond STL(LNCS, Vol. 11428). Springer, 79–97.Google ScholarGoogle Scholar
  5. A. Bakhirkin, T. Ferrère, T. A. Henzinger, and D. Nickovic. 2018. The first-order logic of signals: keynote. In EMSOFT’18. IEEE, 1.Google ScholarGoogle Scholar
  6. E. Bartocci, J. V. Deshmukh, A. Donzé, G. Fainekos, O. Maler, D. Nickovic, and S. Sankaranarayanan. 2018. Specification-Based Monitoring of Cyber-Physical Systems: A Survey on Theory, Tools and Applications. In Lectures on Runtime Verification - Introductory and Advanced Topics. LNCS, Vol. 10457. Springer, 135–175.Google ScholarGoogle Scholar
  7. J. L. Bentley and A. C. Yao. 1976. An almost optimal algorithm for unbounded searching. Inform. Process. Lett. 5, 3 (1976), 82–87.Google ScholarGoogle ScholarCross RefCross Ref
  8. P. Bouyer, F. Chevalier, and N. Markey. 2010. On the expressiveness of TPTL and MTL. Inf. Comput. 208, 2 (2010), 97–116.Google ScholarGoogle ScholarCross RefCross Ref
  9. L. Brim, P. Dluhos, D. Safránek, and T. Vejpustek. 2014. STL*: Extending signal temporal logic with signal-value freezing operator. Inf. Comput. 236 (2014), 52–67.Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. J. V. Deshmukh, A. Donzé, S. Ghosh, X. Jin, G. Juniwal, and S. A. Seshia. 2017. Robust online monitoring of signal temporal logic. Formal Methods Syst. Des. 51, 1 (2017), 5–30.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. A. Dokhanchi, B. Hoxha, C.E. Tuncali, and G. Fainekos. 2016. An efficient algorithm for monitoring practical TPTL specifications. In MEMOCODE’16. IEEE, 184–193.Google ScholarGoogle Scholar
  12. A. Donzé. 2010. Breach, A Toolbox for Verification and Parameter Synthesis of Hybrid Systems. In CAV’10(LNCS, Vol. 6174). Springer, 167–170.Google ScholarGoogle Scholar
  13. A. Donzé, T. Ferrère, and O. Maler. 2013. Efficient Robust Monitoring for STL. In CAV’13(LNCS 8044). Springer, 264–279.Google ScholarGoogle Scholar
  14. G. Ernst, S. Sedwards, Z. Zhang, and I. Hasuo. 2021. Falsification of Hybrid Systems Using Adaptive Probabilistic Search. ACM Trans. Model. Comput. Simul. 31, 3 (2021), 18:1–18:22.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. G. Fainekos, B. Hoxha, and S. Sankaranarayanan. 2019. Robustness of Specifications and Its Applications to Falsification, Parameter Mining, and Runtime Monitoring with S-TaLiRo. In RV’19(LNCS, Vol. 11757). Springer, 27–47.Google ScholarGoogle Scholar
  16. G. E. Fainekos and G. J. Pappas. 2009. Robustness of temporal logic specifications for continuous-time signals. Theor. Comput. Sci. 410, 42 (2009), 4262–4291.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. G. E. Fainekos, S. Sankaranarayanan, K. Ueda, and H. Yazarel. 2012. Verification of automotive control applications using S-TaLiRo. In ACC’12. IEEE, 3567–3572.Google ScholarGoogle Scholar
  18. B. Ghorbel and V. S. Prabhu. 2022. Linear Time Monitoring for One Variable TPTL. In HSCC ’22. ACM, 5:1–5:11.Google ScholarGoogle Scholar
  19. B. Ghorbel and V. S. Prabhu. 2023. Quantitative Robustness for Signal Temporal Logic with Time-Freeze Quantifiers. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 42, 12 (2023), 4436–4449.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. A. Grez, F. Mazowiecki, M. Pilipczuk, G. Puppis, and C. Riveros. 2021. Dynamic Data Structures for Timed Automata Acceptance. In IPEC’ 21(LIPIcs, Vol. 214). Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 20:1–20:18.Google ScholarGoogle Scholar
  21. J. Kapinski, X. Jin, J. Deshmukh, A. Donzé, T. Yamaguchi, H. Ito, T. Kaga, S. Kobuna, and S. Seshia. 2016. ST-Lib: A Library for Specifying and Classifying Model Behaviors. SAE Technical Paper Series.Google ScholarGoogle Scholar
  22. Z. Kong, A. Jones, and C. Belta. 2017. Temporal Logics for Learning and Detection of Anomalous Behavior. IEEE Trans. Autom. Control. 62, 3 (2017), 1210–1222.Google ScholarGoogle ScholarCross RefCross Ref
  23. W. Liu, N. Mehdipour, and C. Belta. 2022. Recurrent Neural Network Controllers for Signal Temporal Logic Specifications Subject to Safety Constraints. IEEE Control. Syst. Lett. 6 (2022), 91–96.Google ScholarGoogle ScholarCross RefCross Ref
  24. O. Maler and D. Nickovic. 2004. Monitoring Temporal Properties of Continuous Signals. In FORMATS/FTRTFT. Springer, 152–166.Google ScholarGoogle Scholar
  25. O. Maler and D. Nickovic. 2013. Monitoring properties of analog and mixed-signal circuits. STTT 15, 3 (2013), 247–268.Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. N. Markey and J-F. Raskin. 2006. Model checking restricted sets of timed paths. Theor. Comput. Sci. 358, 2-3 (2006), 273–292.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. V. S. Prabhu and M. Savaliya. 2022. Towards Efficient Input Space Exploration for Falsification of Input Signal Class Augmented STL. In MEMOCODE’ 22. IEEE, 1–11.Google ScholarGoogle Scholar
  28. V. Raman, A. Donzé, M. Maasoumy, R.M. Murray, A.L. Sangiovanni-Vincentelli, and S.A. Seshia. 2017. Model Predictive Control for Signal Temporal Logic Specification. CoRR abs/1703.09563 (2017). arXiv:1703.09563Google ScholarGoogle Scholar
  29. V. Raman, A. Donzé, D. Sadigh, R. M. Murray, and S. A. Seshia. 2015. Reactive synthesis from signal temporal logic specifications. In HSCC’15. ACM, 239–248.Google ScholarGoogle Scholar
  30. G. Rosu and K. Havelund. 2001. Synthesizing Dynamic Programming Algorithms From Linear Temporal Logic Formulae. Technical Report.Google ScholarGoogle Scholar
  31. S. Sankaranarayanan, S. A. Kumar, F. Cameron, B. W. Bequette, G. Fainekos, and D.M. Maahs. 2017. Model-based falsification of an artificial pancreas control system. SIGBED Rev. 14, 2 (2017), 24–33.Google ScholarGoogle ScholarDigital LibraryDigital Library
  32. M. Waga and I. Hasuo. 2018. Moore-Machine Filtering for Timed and Untimed Pattern Matching. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst. 37, 11 (2018), 2649–2660.Google ScholarGoogle ScholarCross RefCross Ref
  33. M. Waga, I. Hasuo, and K. Suenaga. 2017. Efficient Online Timed Pattern Matching by Automata-Based Skipping. In FORMATS’ 17, Proceedings(LNCS 10419). Springer, 224–243.Google ScholarGoogle Scholar

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    HSCC '24: Proceedings of the 27th ACM International Conference on Hybrid Systems: Computation and Control
    May 2024
    307 pages
    ISBN:9798400705229
    DOI:10.1145/3641513

    Copyright © 2024 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 14 May 2024

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    Overall Acceptance Rate153of373submissions,41%
  • Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)2

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format .

View HTML Format