{"title":"G-WVDTW: A Generalised Weighted Variance Dynamic Time Warping Algorithm for Subsequence Matching in Multivariate Time Series","authors":"Danyang Cao, ZiFeng Lin, Di Liu, Xiaoyuan Chai","doi":"10.1111/exsy.70036","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Dynamic time warping (DTW) is an algorithm used to measure the similarity between sequences, with widespread applications in domains such as speech recognition, image processing and video synchronisation. However, when matching a shorter multivariate time subsequence to a longer time series containing a similar subsequence, existing DTW variants struggle to accurately determine the matching path. To address this issue, we propose an improved algorithm, generalised weighted variance DTW (G-WVDTW). We extend the DTW algorithm to multivariate time series and introduce a weighted variance-based approach to calculate local distances. This allows the algorithm to better assess the distance between different time points in multivariate time series. Additionally, we modify the algorithm's boundary conditions, enabling it to handle subsequence matching tasks in multivariate time series. We conducted similarity retrieval experiments using public datasets and evaluated the algorithm's performance with the AUC metric, achieving up to a 19% improvement on certain datasets. Furthermore, we performed alignment experiments on industrial data, where we artificially generated aligned sequences and quantitatively assessed the alignment errors, which were lower than those produced by other DTW variants. Finally, we validated the algorithm's superior performance in multivariate time series subsequence matching tasks using a synthetic dataset and showcased its use in motif detection using a wind power generation dataset. The algorithm can be applied in fields such as industrial, meteorological and electrocardiogram (ECG) signal analysis for tasks like time series retrieval, matching and data labelling.</p>\n </div>","PeriodicalId":51053,"journal":{"name":"Expert Systems","volume":"42 5","pages":""},"PeriodicalIF":3.0000,"publicationDate":"2025-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Expert Systems","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/exsy.70036","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Dynamic time warping (DTW) is an algorithm used to measure the similarity between sequences, with widespread applications in domains such as speech recognition, image processing and video synchronisation. However, when matching a shorter multivariate time subsequence to a longer time series containing a similar subsequence, existing DTW variants struggle to accurately determine the matching path. To address this issue, we propose an improved algorithm, generalised weighted variance DTW (G-WVDTW). We extend the DTW algorithm to multivariate time series and introduce a weighted variance-based approach to calculate local distances. This allows the algorithm to better assess the distance between different time points in multivariate time series. Additionally, we modify the algorithm's boundary conditions, enabling it to handle subsequence matching tasks in multivariate time series. We conducted similarity retrieval experiments using public datasets and evaluated the algorithm's performance with the AUC metric, achieving up to a 19% improvement on certain datasets. Furthermore, we performed alignment experiments on industrial data, where we artificially generated aligned sequences and quantitatively assessed the alignment errors, which were lower than those produced by other DTW variants. Finally, we validated the algorithm's superior performance in multivariate time series subsequence matching tasks using a synthetic dataset and showcased its use in motif detection using a wind power generation dataset. The algorithm can be applied in fields such as industrial, meteorological and electrocardiogram (ECG) signal analysis for tasks like time series retrieval, matching and data labelling.
期刊介绍:
Expert Systems: The Journal of Knowledge Engineering publishes papers dealing with all aspects of knowledge engineering, including individual methods and techniques in knowledge acquisition and representation, and their application in the construction of systems – including expert systems – based thereon. Detailed scientific evaluation is an essential part of any paper.
As well as traditional application areas, such as Software and Requirements Engineering, Human-Computer Interaction, and Artificial Intelligence, we are aiming at the new and growing markets for these technologies, such as Business, Economy, Market Research, and Medical and Health Care. The shift towards this new focus will be marked by a series of special issues covering hot and emergent topics.