Time series joins, motifs, discords and shapelets: a unifying view that exploits the matrix profile


The last decade has seen a flurry of research on all-pairs-similarity-search (or similarity joins) for text, DNA and a handful of other datatypes, and these systems have been applied to many diverse data mining problems. However, there has been surprisingly little progress made on similarity joins for time series subsequences. The lack of progress probably stems from the daunting nature of the problem. For even modest sized datasets the obvious nested-loop algorithm can take months, and the typical speed-up techniques in this domain (i.e., indexing, lower-bounding, triangular-inequality pruning and early abandoning) at best produce only one or two orders of magnitude speedup. In this work we introduce a novel scalable algorithm for time series subsequence all-pairs-similarity-search. For exceptionally large datasets, the algorithm can be trivially cast as an anytime algorithm and produce high-quality approximate solutions in reasonable time and/or be accelerated by a trivial porting to a GPU framework. The exact similarity join algorithm computes the answer to the time series motif and time series discord problem as a side-effect, and our algorithm incidentally provides the fastest known algorithm for both these extensively-studied problems. We demonstrate the utility of our ideas for many time series data mining problems, including motif discovery, novelty discovery, shapelet discovery, semantic segmentation, density estimation, and contrast set mining. Moreover, we demonstrate the utility of our ideas on domains as diverse as seismology, music processing, bioinformatics, human activity monitoring, electrical power-demand monitoring and medicine.

DOI: 10.1007/s10618-017-0519-9

31 Figures and Tables

Cite this paper

@article{Yeh2017TimeSJ, title={Time series joins, motifs, discords and shapelets: a unifying view that exploits the matrix profile}, author={Chin-Chia Michael Yeh and Yan Zhu and Liudmila Ulanova and Nurjahan Begum and Yifei Ding and Hoang Anh Dau and Zachary F. Zimmerman and Diego Furtado Silva and Abdullah Mueen and Eamonn J. Keogh}, journal={Data Mining and Knowledge Discovery}, year={2017}, pages={1-41} }