DOI QR코드

DOI QR Code

QP-DTW: Upgrading Dynamic Time Warping to Handle Quasi Periodic Time Series Alignment

  • Received : 2016.03.10
  • Accepted : 2016.08.09
  • Published : 2018.08.31

Abstract

Dynamic time warping (DTW) is the main algorithms for time series alignment. However, it is unsuitable for quasi-periodic time series. In the current situation, except the recently published the shape exchange algorithm (SEA) method and its derivatives, no other technique is able to handle alignment of this type of very complex time series. In this work, we propose a novel algorithm that combines the advantages of the SEA and the DTW methods. Our main contribution consists in the elevation of the DTW power of alignment from the lowest level (Class A, non-periodic time series) to the highest level (Class C, multiple-periods time series containing different number of periods each), according to the recent classification of time series alignment methods proposed by Boucheham (Int J Mach Learn Cybern, vol. 4, no. 5, pp. 537-550, 2013). The new method (quasi-periodic dynamic time warping [QP-DTW]) was compared to both SEA and DTW methods on electrocardiogram (ECG) time series, selected from the Massachusetts Institute of Technology - Beth Israel Hospital (MIT-BIH) public database and from the PTB Diagnostic ECG Database. Results show that the proposed algorithm is more effective than DTW and SEA in terms of alignment accuracy on both qualitative and quantitative levels. Therefore, QP-DTW would potentially be more suitable for many applications related to time series (e.g., data mining, pattern recognition, search/retrieval, motif discovery, classification, etc.).

Keywords

References

  1. R. Agrawal, C. Faloutsos, and A. Swami, "Efficient similarity search in sequence databases," in Foundations of Data Organization and Algorithms. Heidelberg: Springer, 1993, pp. 69-84.
  2. A. Barbulescu and E. Bautu, "A hybrid approach for modeling financial time series," The International Arab Journal of Information Technology, vol. 9, no. 4, pp. 327-335, 2012.
  3. M. Awad, H. Pomares, I. R. Ruiz, O. Salameh, and M. Hamdon, "Prediction of time series using RBF neural networks: a new approach of clustering," The International Arab Journal of Information Technology, vol. 6, no. 2, pp. 138-143, 2009.
  4. M. Z. Arshad, J. M. Nawaz, and S. J. Hong, "Fault detection in the semiconductor etch process using the seasonal autoregressive integrated moving average modeling," Journal of Information Processing System, vol. 10, no. 3, pp. 429-442, 2014. https://doi.org/10.3745/JIPS.04.0004
  5. L. Ulanova, T. Yan, H. Chen, G. Jiang, E. Keogh, and K. Zhang, "Efficient long-term degradation profiling in time series for complex physical systems," in Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Sydney, Australia, 2015, pp. 2167-2176.
  6. A. Vishwa and A. Sharma, "Arrhythmic ECG signal classification using machine learning techniques," International Journal of Computer Science, Information Technology, & Security, vol. 1, no. 2, pp. 163-167, 2011.
  7. K. Vimala and D. V. Kalaivani, "Classification of cardiac vascular disease from ECG signals for enhancing modern health care scenario," Health Informatics-An International Journal (HIIJ), vol. 2, no. 4, pp. 63-72, 2013. https://doi.org/10.5121/hiij.2013.2405
  8. E. J. D. S. Luz, W. R. Schwartz, G. Camara-Chavez, and D. Menotti, "ECG-based heartbeat classification for arrhythmia detection: a survey," Computer Methods and Programs in Biomedicine, vol. 127, pp. 144-164, 2016. https://doi.org/10.1016/j.cmpb.2015.12.008
  9. B. Boucheham, "Matching of quasi-periodic time series patterns by exchange of block-sorting signatures," Pattern Recognition Letters, vol. 29, no. 4, pp. 501-514, 2008. https://doi.org/10.1016/j.patrec.2007.11.004
  10. B. Boucheham, "Abnormality detection in electrocardiograms by time series alignment," Communications in Information Science and Management Engineering, vol. 1, no. 3, pp. 6-10, 2011. https://doi.org/10.5963/CISME0110002
  11. N. Begum and E. Keogh, "Rare time series motif discovery from unbounded streams," Proceedings of the VLDB Endowment, vol. 8, no. 2, pp. 149-160, 2014. https://doi.org/10.14778/2735471.2735476
  12. T. C. Fu, "A review on time series data mining," Engineering Applications of Artificial Intelligence, vol. 24, no. 1, pp. 164-181, 2011. https://doi.org/10.1016/j.engappai.2010.09.007
  13. H. Sakoe and S. Chiba, "Dynamic programming algorithm optimization for spoken word recognition," IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 26, no. 1, pp. 43-49, 1978. https://doi.org/10.1109/TASSP.1978.1163055
  14. B. Boucheham, "Efficient matching of very complex time series," International Journal of Machine Learning and Cybernetics, vol. 4, no. 5, pp. 537-550, 2013. https://doi.org/10.1007/s13042-012-0117-5
  15. E. Keogh, L. Wei, X. Xi, S. H. Lee, and M. Vlachos, "LB_Keogh supports exact indexing of shapes under rotation invariance with arbitrary representations and distance measures," in Proceedings of the 32nd International Conference on Very Large Data Bases, Seoul, Korea, 2006, pp. 882-893.
  16. C. A. Ratanahatano and E. Keogh, "Three myths about dynamic time warping data mining," in Proceedings of the 2005 SIAM International Conference on Data Mining, Newport Beach, CA, 2005, pp. 506-510.
  17. MIT-BIH Arrhythmia Database [Online]. Available: http://www.physionet.org/physiobank/database/mitdb/.
  18. A. L. Goldberger, L. A. Amaral, L. Glass, J. M. Hausdorff, P. C. Ivanov, R. G. Mark, J. E. Mietus, G. B. Moody, C. K. Peng, and H. E. Stanley, "PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals," Circulation, vol. 101, no. 23, pp. e215-e220, 2000. https://doi.org/10.1161/01.CIR.101.23.e215
  19. D. J. Berndt and J. Clifford, "Using dynamic time warping to find patterns in time series," in Proceedings of AAAI-94 Workshop on Knowledge Discovery in Database (KDD), 1994, pp. 359-370.
  20. E. J. Keogh and M. J. Pazzani, "Scaling up dynamic time warping for datamining applications," in Proceedings of the 6th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Boston, MA, 2000, pp. 285-289.
  21. L. Chen and M. T. Ozsu, "Similarity-based retrieval of time-series data using multi-scale histograms," University of Waterloo, Waterloo, Canada, Technical Report No. CS-2003-31, 2003.
  22. H. Shatkay and S. B. Zdonik, "Approximate queries and representations for large data sequences," in Proceedings of the 12th International Conference on Data Engineering, New Orleans, LA, 1996, pp. 536-545.
  23. T. Bozkaya, N. Yazdani, and M. Ozsoyoglu, "Matching and indexing sequences of different lengths," in Proceedings of the 6th International Conference on Information and Knowledge Management, Las Vegas, NV, 1997, pp. 128-135.
  24. J. R. Annam, S. S. Mittapalli, and R. S. Bapi, "Time series clustering and analysis of ECG heart-beats using dynamic time warping," in Proceedings of 2011 Annual IEEE India Conference (INDICON), Hyderabad, India, 2011, pp. 1-3.
  25. N. Begum, L. Ulanova, J. Wang, and E. Keogh, "Accelerating dynamic time warping clustering with a novel admissible pruning strategy," in Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Sydney, Australia, 2015, pp. 49-58.
  26. F. Petitjean, G. Forestier, G. I. Webb, A. E. Nicholson, Y. Chen, and E. Keogh, "Dynamic time warping averaging of time series allows faster and more accurate classification," in Proceedings of 2014 IEEE International Conference on Data Mining (ICDM), Shenzhen, China, 2014, pp. 470-479.
  27. G. Zhang, W. Kinsner, and B. Huang, "Electrocardiogram data mining based on frame classification by dynamic time warping matching," Computer Methods in Biomechanics and Biomedical Engineering, vol. 12, no. 6, pp. 701-707, 2009. https://doi.org/10.1080/10255840902882158
  28. B. Boucheham, "Reduced data similarity-based matching for time series patterns alignment," Pattern Recognition Letters, vol. 31, no. 7, pp. 629-638, 2010. https://doi.org/10.1016/j.patrec.2009.11.019
  29. E. J. Keogh and M. J. Pazzani, "Derivative dynamic time warping," in Proceedings of the 2001 SIAM International Conference on Data Mining, Chicago, IL, 2001, pp. 1-11.
  30. J. B. Kruskall and M. Liberman, "The symmetric time warping algorithm: from continuous to discrete," in Time Warps, String Edits and Macromolecules. Reading, MA: Addison-Wesley, 1983.
  31. I. Boulnemour and B. Boucheham, "I-SEA: improved shape exchange algorithm for quasi-periodic time series alignment," in Proceedings of 2015 International Conference on Computer Vision and Image Analysis Applications (ICCVIA), Sousse, Tunisia, 2015, pp. 1-6.
  32. A. Bahri, Y., Naija, G. Jomier, and M. Manouvrier, "Recherche par similarite de sequences temporelles dans les bases de donnees: un etat de l'art," LAMSADE, Universite Paris Dauphine, France, 2014.
  33. L. Junkui and W. Yuanzhen, "Early abandon to accelerate exact dynamic time warping," International Arab Journal of Information Technology, vol. 6, no. 2, pp. 144-152, 2009.
  34. S. Salvador and P. Chan, "Toward accurate dynamic time warping in linear time and space," Intelligent Data Analysis, vol. 11, no. 5, pp. 561-580, 2007.