Inferring the Most Similar Variable-length Subsequences between Multidimensional Time Series
Thanadej Rattanakornphan, Piyanon Charoenpoonpanich, Chainarong Amornbunchornvej
TL;DR
The paper tackles inferring the most similar subsequences between two multidimensional time series when subsequences may differ in length. It introduces an exact generalized DTW-based framework (VLSubsequenceInferFunction) that leverages lower/upper bounds to prune unlikely pairs and then computes exact DTW on a small candidate set to guarantee optimality. The approach achieves significant runtime improvements over brute-force baselines in simulations (up to about 4x faster) and real-world data (up to 20x faster), and demonstrations on baboon movement and stock-price datasets show its practical value for detecting coordinated patterns and dependencies. The framework is general to any multidimensional time series and is backed by theoretical guarantees, with publicly available code and data for reproducibility.
Abstract
Finding the most similar subsequences between two multidimensional time series has many applications: e.g. capturing dependency in stock market or discovering coordinated movement of baboons. Considering one pattern occurring in one time series, we might be wondering whether the same pattern occurs in another time series with some distortion that might have a different length. Nevertheless, to the best of our knowledge, there is no efficient framework that deals with this problem yet. In this work, we propose an algorithm that provides the exact solution of finding the most similar multidimensional subsequences between time series where there is a difference in length both between time series and between subsequences. The algorithm is built based on theoretical guarantee of correctness and efficiency. The result in simulation datasets illustrated that our approach not just only provided correct solution, but it also utilized running time only quarter of time compared against the baseline approaches. In real-world datasets, it extracted the most similar subsequences even faster (up to 20 times faster against baseline methods) and provided insights regarding the situation in stock market and following relations of multidimensional time series of baboon movement. Our approach can be used for any time series. The code and datasets of this work are provided for the public use.
