Research Article
Constrained Binary Sparse Dynamic Time Warping
Abstract
Dynamic Time Warping (DTW) is employed to a great extent for comparing time series in machine learning, but is computationally expensive, especially with sparse data containing many zeros. To address this, faster DTW variants have been developed, including Sparse DTW (SDTW), Constrained Sparse DTW (CSDTW), and Binary Sparse DTW (BSDTW). This paper presents Constrained Binary Sparse DTW (CBSDTW), which adds a warping path constraint to BSDTW and significantly reduces computational complexity compared to Constrained DTW (CDTW), offering an efficient way to leverage sparsity in time series analysis.
Keywords: Dynamic Time Warping; Sparse Time Series; Binary Data; Constrained Warping Path
References
- Hiroaki Sakoe and Seibi Chiba. Dynamic programming algorithm optimization for spoken word recognition. IEEE Transactions on Acoustics, Speech and Signal Processing, 26(1):43–49, 1978.
- Claus Bahlmann and Hans Burkhardt. The writer independent online handwriting recognition system frog on hand and cluster generative statistical dynamic time warping. IEEE Transactions on Pattern Analysis and Machine Intelligence, 26(3):299–310, 2004.
- Zsolt Miklos Kovacs-Vajna. A fingerprint verification system based on triangular matching and dynamic time warping. IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(11):1266–1276, 2000.
- Samsu Sempena, Nur Ulfa Maulidevi, and Peb Ruswono Aryan. Human action recognition using dynamic time warping. In Proceedings of the 2011 International Conference on Electrical Engineering and Informatics, pages 1–5. IEEE, 2011.
- Youngha Hwang and Saul B Gelfand. Sparse dynamic time warping. In International Conference on Machine Learning and Data Mining in Pattern Recognition, pages 163–175. Springer, 2017.
- Youngha Hwang and Saul B Gelfand. Constrained sparse dynamic time warping. In International Conference on Machine Learning and Applications, pages 216–222. IEEE, 2018.
- Heather A Eicher-Miller, Saul Gelfand, Youngha Hwang, Edward Delp, Anindya Bhadra, and Jiaqi Guo. Distance metrics optimized for clustering temporal dietary patterning among us adults. Appetite, 144:104451, 2020.
- David Murray and L Stankovic. Refit: electrical load measurements. URL= http://www.refitsmarthomes.org/, 2017.
- Youngha Hwang and Saul B Gelfand. Binary sparse dynamic time warping. In International Conference on Machine Learning and Data Mining in Pattern Recognition, pages 748–759. Springer, 2019.
- Youngha Hwang and Saul B Gelfand. Fast sparse dynamic time warping. In 2022 26th International Conference onPattern Recognition (ICPR), pages 3872–3877. IEEE, 2022.
- Youngha Hwang. Fast constrained sparse dynamic time warping. Applied and Computational Engineering,120(1):50–58, 2025.
- Abdullah Mueen, Nikan Chavoshi, Noor Abu-El-Rub, Hossein Hamooni, Amanda Minnich, and Jonathan Mac-Carthy. Speeding up dynamic time warping distance for sparse time series data. Knowledge and Information Systems, 54(1):237–263, 2018.
- Eamonn Keogh, Xiaopeng Xi, Li Wei, and Chotirat Ann Ratanamahatana. The ucr time series classification/clustering homepage. URL= http://www.cs.ucr.edu/˜ eamonn/time series data, 2006.