Skip to main content

2019 | OriginalPaper | Buchkapitel

Shape Expressions for Specifying and Extracting Signal Features

verfasst von : Dejan Ničković, Xin Qin, Thomas Ferrère, Cristinel Mateis, Jyotirmoy Deshmukh

Erschienen in: Runtime Verification

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Cyber-physical systems (CPS) and the Internet-of-Things (IoT) result in a tremendous amount of generated, measured and recorded time-series data. Extracting temporal segments that encode patterns with useful information out of these huge amounts of data is an extremely difficult problem. We propose shape expressions as a declarative formalism for specifying, querying and extracting sophisticated temporal patterns from possibly noisy data. Shape expressions are regular expressions with arbitrary (linear, exponential, sinusoidal, etc.) shapes with parameters as atomic predicates and additional constraints on these parameters. We equip shape expressions with a novel noisy semantics that combines regular expression matching semantics with statistical regression. We characterize essential properties of the formalism and propose an efficient approximate shape expression matching procedure. We demonstrate the wide applicability of this technique on two case studies.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The signal with the empty time domain is equivalent to the empty word in the classical language theory.
 
2
We use \(\underline{l}\) instead of \(\underline{l}_{\sigma ,x}\) whenever its association to \(\sigma _{x}\) is clear from the context, and omit \(\underline{l}_{\sigma ,x}\) altogether when not interested in the duration of the shape.
 
3
We omit the duration variable \(\underline{l}\) whenever we are not interested in the duration of a shape - for instance we then use the notation \(\textsf {sin}(a,b,c,d)\).
 
4
We abuse the notation and replace a parameter variable by a constant, for instance \(\textsf {lin}_x(0,b)\), as a shortcut for \(\textsf {lin}_x(a_1,b)~:~a_1 = 0\).
 
5
We also assume that the SMA \(\hat{\mathcal {A}}\), the signal w, the noise tolerance threshold \(\nu \) and the minimum match length \(\lambda \) are given as global parameters to the main procedure \(\textsf {policy\_scheduler}\) and are implicitly propagated to all the other methods.
 
6
Recall that we require atomic matches of minimum length \(\lambda \).
 
7
The figure is under copyright by A. Rad.
 
8
We recall that \(\nu = 0\) denotes zero noise tolerance and \(\nu = 1\) allows arbitrary level of noise.
 
Literatur
1.
Zurück zum Zitat IEEE standard on pulse Measurement and analysis by objective techniques. IEEE Std. 181–1977 (1977) IEEE standard on pulse Measurement and analysis by objective techniques. IEEE Std. 181–1977 (1977)
4.
Zurück zum Zitat Alur, R., Mamouras, K., Stanford, C.: Modular quantitative monitoring. In: Proceedings of the ACM on Programming Languages, vol. 3(POPL), p. 50 (2019)CrossRef Alur, R., Mamouras, K., Stanford, C.: Modular quantitative monitoring. In: Proceedings of the ACM on Programming Languages, vol. 3(POPL), p. 50 (2019)CrossRef
5.
Zurück zum Zitat André, É., Hasuo, I., Masaki, W.: Offline timed pattern matching under uncertainty. In: 23rd International Conference on Engineering of Complex Computer Systems, ICECCS 2018, Melbourne, Australia, 12–14 December 2018, pp. 10–20 (2018) André, É., Hasuo, I., Masaki, W.: Offline timed pattern matching under uncertainty. In: 23rd International Conference on Engineering of Complex Computer Systems, ICECCS 2018, Melbourne, Australia, 12–14 December 2018, pp. 10–20 (2018)
6.
Zurück zum Zitat Asarin, E., Caspi, P., Maler, O.: A Kleene theorem for timed automata. In: Logic in Computer Science (LICS), pp. 160–171 (1997) Asarin, E., Caspi, P., Maler, O.: A Kleene theorem for timed automata. In: Logic in Computer Science (LICS), pp. 160–171 (1997)
10.
Zurück zum Zitat D’Angelo, B., et al.: LOLA: runtime monitoring of synchronous systems. In: 12th International Symposium on Temporal Representation and Reasoning (TIME 2005), 23–25 June 2005, Burlington, Vermont, USA, pp. 166–174 (2005) D’Angelo, B., et al.: LOLA: runtime monitoring of synchronous systems. In: 12th International Symposium on Temporal Representation and Reasoning (TIME 2005), 23–25 June 2005, Burlington, Vermont, USA, pp. 166–174 (2005)
13.
Zurück zum Zitat Ghidella, J., Mosterman, P.: Requirements-based testing in aircraft control design. In: AIAA Modeling and Simulation Technologies Conference and Exhibit, p. 5886 (2005) Ghidella, J., Mosterman, P.: Requirements-based testing in aircraft control design. In: AIAA Modeling and Simulation Technologies Conference and Exhibit, p. 5886 (2005)
14.
Zurück zum Zitat Goldberger, A.L., et al.: Physiobank, physiotoolkit, and physionet: components of a new research resource for complex physiologic signals. Circulation 101(23), e215–e220 (2000)CrossRef Goldberger, A.L., et al.: Physiobank, physiotoolkit, and physionet: components of a new research resource for complex physiologic signals. Circulation 101(23), e215–e220 (2000)CrossRef
16.
Zurück zum Zitat Hallé, S., Khoury, R.: Event stream processing with beepbeep 3. In: RV-CuBES 2017. An International Workshop on Competitions, Usability, Benchmarks, Evaluation, and Standardisation for Runtime Verification Tools, 15 September 2017, Seattle, WA, USA, pp. 81–88 (2017) Hallé, S., Khoury, R.: Event stream processing with beepbeep 3. In: RV-CuBES 2017. An International Workshop on Competitions, Usability, Benchmarks, Evaluation, and Standardisation for Runtime Verification Tools, 15 September 2017, Seattle, WA, USA, pp. 81–88 (2017)
17.
Zurück zum Zitat Leucker, M., Sánchez, C., Scheffel, T., Schmitz, M., Schramm, A.: TeSSLa: runtime verification of non-synchronized real-time streams. In: Proceedings of the 33rd Annual ACM Symposium on Applied Computing, SAC 2018, Pau, France, 09–13 April 2018, pp. 1925–1933 (2018) Leucker, M., Sánchez, C., Scheffel, T., Schmitz, M., Schramm, A.: TeSSLa: runtime verification of non-synchronized real-time streams. In: Proceedings of the 33rd Annual ACM Symposium on Applied Computing, SAC 2018, Pau, France, 09–13 April 2018, pp. 1925–1933 (2018)
19.
Zurück zum Zitat Mamouras, K., Raghothaman, M., Alur, R., Ives, Z.G., Khanna, S.: StreamQRE: modular specification and efficient evaluation of quantitative queries over streaming data. In: ACM SIGPLAN Notices, vol. 52, pp. 693–708. ACM (2017)CrossRef Mamouras, K., Raghothaman, M., Alur, R., Ives, Z.G., Khanna, S.: StreamQRE: modular specification and efficient evaluation of quantitative queries over streaming data. In: ACM SIGPLAN Notices, vol. 52, pp. 693–708. ACM (2017)CrossRef
20.
Zurück zum Zitat Olszewski, R.T.: Generalized feature extraction for structural pattern recognition in time-series data. Technical report, Carnegie-Mellon Univ. School of Computer Science (2001) Olszewski, R.T.: Generalized feature extraction for structural pattern recognition in time-series data. Technical report, Carnegie-Mellon Univ. School of Computer Science (2001)
21.
Zurück zum Zitat Rakthanmanon, T., et al.: Searching and mining trillions of time series subsequences under dynamic time warping. In: Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 262–270. ACM (2012) Rakthanmanon, T., et al.: Searching and mining trillions of time series subsequences under dynamic time warping. In: Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 262–270. ACM (2012)
25.
Zurück zum Zitat Waga, M., Hasuo, I.: Moore-machine filtering for timed and untimed pattern matching. IEEE Trans. CAD Integr. Circ. Syst. 37(11), 2649–2660 (2018)CrossRef Waga, M., Hasuo, I.: Moore-machine filtering for timed and untimed pattern matching. IEEE Trans. CAD Integr. Circ. Syst. 37(11), 2649–2660 (2018)CrossRef
27.
Zurück zum Zitat Waga, M., Hasuo, I., Suenaga, K.: MONAA: a tool for timed pattern matching with automata-based acceleration. In: 3rd Workshop on Monitoring and Testing of Cyber-Physical Systems, MT@CPSWeek 2018, Porto, Portugal, 10 April, pp. 14–15 (2018) Waga, M., Hasuo, I., Suenaga, K.: MONAA: a tool for timed pattern matching with automata-based acceleration. In: 3rd Workshop on Monitoring and Testing of Cyber-Physical Systems, MT@CPSWeek 2018, Porto, Portugal, 10 April, pp. 14–15 (2018)
28.
Zurück zum Zitat Wenig, F., Klanatsky, P., Heschl, C., Mateis, C., Dejan, N.: Exponential pattern recognition for deriving air change rates from CO2 data. In: 26th IEEE International Symposium on Industrial Electronics, ISIE 2017, Edinburgh, United Kingdom, 19–21 June 2017, pp. 1507–1512 (2017) Wenig, F., Klanatsky, P., Heschl, C., Mateis, C., Dejan, N.: Exponential pattern recognition for deriving air change rates from CO2 data. In: 26th IEEE International Symposium on Industrial Electronics, ISIE 2017, Edinburgh, United Kingdom, 19–21 June 2017, pp. 1507–1512 (2017)
29.
Zurück zum Zitat Ye, L., Keogh, E.J.: Time series shapelets: a new primitive for data mining. In: Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Paris, France, 28 June–1 July 2009, pp. 947–956 (2009) Ye, L., Keogh, E.J.: Time series shapelets: a new primitive for data mining. In: Proceedings of the 15th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Paris, France, 28 June–1 July 2009, pp. 947–956 (2009)
Metadaten
Titel
Shape Expressions for Specifying and Extracting Signal Features
verfasst von
Dejan Ničković
Xin Qin
Thomas Ferrère
Cristinel Mateis
Jyotirmoy Deshmukh
Copyright-Jahr
2019
DOI
https://doi.org/10.1007/978-3-030-32079-9_17