Abstract
Semi-supervised time series classification has become an increasingly popular task due to the limited availability of labeled data in practice. Recently, Similarity-aware Time Series Classification (SimTSC) has been proposed to address the label scarcity problem by using a graph neural network on the graph generated from pairwise Dynamic Time Warping (DTW) distance of batch data. While demonstrating superior accuracy compared to the state-of-the-art deep learning models, SimTSC relies on pairwise DTW distance computation and thus has limited usability in practice due to the quadratic complexity of DTW. To address this challenge, we propose a novel efficient semi-supervised time series classification technique with a new graph construction module. Instead of computing the full DTW distance matrix, we propose to approximate the dissimilarity between instances in linear time using a lower bound, while retaining the relative proximity relationships one would have obtained via DTW. The experiments conducted on the ten largest datasets from the UCR archive demonstrate that our model can be up to 104x faster than SimTSC when constructing the graph on large datasets without significantly decreasing classification accuracy.
W. Xi and A. Jain—Equal Contribution.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Alfke, D., Gondos, M., Peroche, L., Stoll, M.: An empirical study of graph-based approaches for semi-supervised time series classification. arXiv preprint arXiv:2104.08153 (2021)
Bagnall, A., et al.: The UEA multivariate time series classification archive, 2018. arXiv preprint arXiv:1811.00075 (2018)
Bagnall, A., Lines, J., Bostrom, A., Large, J., Keogh, E.: The great time series classification bake off: a review and experimental evaluation of recent algorithmic advances. Data Min. Knowl. Disc. 31(3), 606–660 (2017)
Cheng, Z., et al.: Time2graph+: bridging time series and graph representation learning via multiple attentions. IEEE Trans. Knowl. Data Eng. 35(2), 2078–2090 (2021)
Dau, H.A., et al.: The UCR time series archive. IEEE/CAA J. Automatica Sinica 6(6), 1293–1305 (2019)
Duan, Z., et al.: Multivariate time-series classification with hierarchical variational graph pooling. Neural Netw. 154, 481–490 (2022)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)
Keogh, E., Ratanamahatana, C.A.: Exact indexing of dynamic time warping. Knowl. Inf. Syst. 7(3), 358–386 (2005)
Kim, S.W., Park, S., Chu, W.W.: An index-based approach for similarity search supporting time warping in large sequence databases. In: Proceedings 17th International Conference on Data Engineering, pp. 607–614. IEEE (2001)
Kipf, T.N., Welling, M.: Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907 (2016)
Liu, H., et al.: Todynet: temporal dynamic graph neural network for multivariate time series classification. arXiv preprint arXiv:2304.05078 (2023)
Sakoe, H.: Dynamic-programming approach to continuous speech recognition. In: 1971 Proceedings of the International Congress of Acoustics, Budapest (1971)
Tong, Y., et al.: Technology investigation on time series classification and prediction. PeerJ Comput. Sci. 8, e982 (2022)
Wei, L., Keogh, E.: Semi-supervised time series classification. In: Proceedings of the 12th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 748–753 (2006)
Yi, B.K., Jagadish, H.V., Faloutsos, C.: Efficient retrieval of similar time sequences under time warping. In: Proceedings 14th International Conference on Data Engineering, pp. 201–208. IEEE (1998)
Zha, D., Lai, K.H., Zhou, K., Hu, X.: Towards similarity-aware time-series classification. In: Proceedings of the 2022 SIAM International Conference on Data Mining (SDM), pp. 199–207. SIAM (2022)
Zhang, L., Patel, N., Li, X., Lin, J.: Joint time series chain: Detecting unusual evolving trend across time series. In: Proceedings of the 2022 SIAM International Conference on Data Mining (SDM), pp. 208–216. SIAM (2022)
Zhang, X., Zeman, M., Tsiligkaridis, T., Zitnik, M.: Graph-guided network for irregularly sampled multivariate time series. arXiv preprint arXiv:2110.05357 (2021)
Zhang, X., Gao, Y., Lin, J., Lu, C.T.: Tapnet: multivariate time series classification with attentional prototypical network. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 34, pp. 6845–6852 (2020)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Xi, W., Jain, A., Zhang, L., Lin, J. (2024). Efficient and Accurate Similarity-Aware Graph Neural Network for Semi-supervised Time Series Classification. In: Yang, DN., Xie, X., Tseng, V.S., Pei, J., Huang, JW., Lin, J.CW. (eds) Advances in Knowledge Discovery and Data Mining. PAKDD 2024. Lecture Notes in Computer Science(), vol 14650. Springer, Singapore. https://doi.org/10.1007/978-981-97-2266-2_22
Download citation
DOI: https://doi.org/10.1007/978-981-97-2266-2_22
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-2265-5
Online ISBN: 978-981-97-2266-2
eBook Packages: Computer ScienceComputer Science (R0)