Abstract
We present a new modified dynamic time warping approach for comparing discrete time series that reduces over-warping and maintains the efficiency of global path constraint approaches, without relying on domain-specific heuristics. In a first version, global weighted dynamic time warping, a penalty term for the deviation between the warping path and the path of constant slope is added in a post-processing step, after a standard dynamic time warping computation. A second version, stepwise deviation-based dynamic time warping, incorporates the penalty term into the dynamic programming optimization itself, yielding modified optimal warping paths. Both versions yield modified similarity metrics that we use for time series clustering within the Combined Dynamical Modeling Clustering (CDMC) framework. Additionally, we present a distributed computing implementation of dynamic time warping-based modeling and clustering using CDMC. Experiments over synthetic data, as well as over human sleep data, demonstrate significantly improved accuracy and generative log likelihood as compared with standard dynamic time warping. The distributed computing implementation achieves a reduction in processing time.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Alvarez, S.A., Ruiz, C.: Collective probabilistic dynamical modeling of sleep stage transitions. In: Proceedings Sixth International Conference on Bio-Inspired Systems and Signal Processing (BIOSIGNALS 2013), Barcelona, Spain, pp. 209–214 (2013)
Apache Software Foundation. Apache Storm (2013)
Bianchi, M.T., Cash, S.S., Mietus, J., Peng, C.-K., Thomas, R.: Obstructive sleep apnea alters sleep stage transition dynamics. PLoS ONE 5(6), e11356 (2010)
Cadez, I.V., Heckerman, D., Meek, C., Smyth, P., White, S.: Model-based clustering and visualization of navigation patterns on a web site. Data Min. Knowl. Disc. 7(4), 399–424 (2003)
Candan, K.S., Rossini, R., Wang, X., Sapino, M.L.: sDTW: computing DTW distances using locally relevant constraints based on salient feature alignments. Proc. VLDB Endowment 5(11), 1519–1530 (2012)
Chu-Shore, J., Westover, M.B., Bianchi, M.T.: Power law versus exponential state transition dynamics: application to sleep-wake architecture. PLoS ONE 5(12), e14204 (2010)
Clifford, D., Stone, G., Montoliu, I., Rezzi, S., Martin, F.-P., Guy, P., Bruce, S., Kochhar, S.: Alignment using variable penalty dynamic time warping. Anal. Chem. 81(3), 1000–1007 (2009)
Dijk, D.J., Lockley, S.W.: Invited review: integration of human sleep-wake regulation and circadian rhythmicity. J. Appl. Physiol. 92(2), 852–862 (2002)
Itakura, F.: Minimum prediction residual principle applied to speech recognition. IEEE Trans. Acoust. Speech Sig. Process. 23(1), 67–72 (1975)
Jeong, Y.-S., Jeong, M.K., Omitaomu, O.A.: Weighted dynamic time warping for time series classification. Pattern Recogn. 44(9), 2231–2240 (2011)
Kishi, A., Struzik, Z.R., Natelson, B.H., Togo, F., Yamamoto, Y.: Dynamics of sleep stage transitions in healthy humans and patients with chronic fatigue syndrome. Am. J. Physiol. Regul. Integr. Comp. Physiol. 294(6), R1980–R1987 (2008)
Müller, M.: Dynamic time warping. In: Information Retrieval for Music and Motion, pp. 69–84. Springer, Heidelberg (2007)
Oates, T., Firoiu, L., Cohen, P.R.: Using dynamic time warping to bootstrap HMM-based clustering of time series. In: Sun, R., Giles, C.L. (eds.) Sequence Learning. LNCS, vol. 1828, pp. 35–52. Springer, Heidelberg (2000). doi:10.1007/3-540-44565-X_3
Ratanamahatana, C.A., Keogh, E.: Making time-series classification more accurate using learned constraints. In: Proceedings of SIAM International Conference on Data Mining (SDM 2004), pp. 11–22 (2004)
Sakoe, H., Chiba, S.: Dynamic programming algorithm optimization for spoken word recognition. IEEE Trans. Acoust. Speech Sig. Process. 26(1), 43–49 (1978)
Wang, C., Alvarez, S.A., Ruiz, C., Moonis, M.: Semi-Markov modeling-clustering of human sleep with efficient initialization and stopping. In: Proceedings Seventh International Conference on Bio-Inspired Systems and Signal Processing (BIOSIGNALS 2014), Barcelona, Spain (2014)
Wang, C., Alvarez, S.A., Ruiz, C., Moonis, M.: Deviation-based dynamic time warping for clustering human sleep. In: Proceedings of Ninth International Conference on Bio-Inspired Systems and Signal Processing (BIOSIGNALS 2016), Rome, Italy, pp. 21–23 (2016)
Acknowledgements
The authors thank the anonymous referees for comments that helped improve the legibility of the paper, and for making us aware of [5].
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Wang, C., Alvarez, S.A., Ruiz, C., Moonis, M. (2017). Modeling and Clustering of Human Sleep Time Series Using Dynamic Time Warping: Sequential and Distributed Implementations. In: Fred, A., Gamboa, H. (eds) Biomedical Engineering Systems and Technologies. BIOSTEC 2016. Communications in Computer and Information Science, vol 690. Springer, Cham. https://doi.org/10.1007/978-3-319-54717-6_16
Download citation
DOI: https://doi.org/10.1007/978-3-319-54717-6_16
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-54716-9
Online ISBN: 978-3-319-54717-6
eBook Packages: Computer ScienceComputer Science (R0)