基于原型动态对齐的时间序列分类方法
Time Series Classification Based on Prototype Dynamic Alignment
摘要: 随着传感器技术、智能医疗和工业监测的发展,时间序列数据在脑电信号分析、设备状态识别和行为检测等领域中的应用日益广泛,其动态变化和时间错位特征给分类任务带来了较大挑战。传统深度学习方法通常依赖大量标注样本,在低资源场景下容易出现过拟合;而动态时间规整方法虽然能够处理时间错位问题,但难以通过训练过程持续优化模型表示。因此,本文提出一种基于原型动态对齐网络的时间序列分类方法。该方法首先利用特征编码模块提取时间序列的潜在表示,然后构建可学习类别原型以刻画不同类别的典型时序结构,并引入软动态时间对齐机制计算样本与类别原型之间的匹配关系。实验评估在多个公开UCR时间序列数据集上进行,结果表明,所提方法在低资源训练条件下具有较好的分类稳定性,并在训练样本较充分时仍保持一定竞争力,验证了模型的有效性。
Abstract: With the development of sensor technology, intelligent healthcare, and industrial monitoring, time series data have been widely used in electroencephalogram analysis, equipment state recognition, behavior detection, and other fields. Their dynamic variations and temporal misalignment bring considerable challenges to classification tasks. Traditional deep learning methods usually rely on a large number of labeled samples and are prone to overfitting in low-resource scenarios. Although dynamic time warping can handle temporal misalignment, it is difficult to continuously optimize model representations through training. Therefore, this paper proposes a time series classification method based on a prototype dynamic alignment network. The proposed method first uses a feature encoding module to extract latent representations of time series, then constructs learnable class prototypes to describe typical temporal structures of different categories, and introduces a soft dynamic time alignment mechanism to measure the matching relationship between samples and class prototypes. Experiments are conducted on multiple public UCR time series datasets. The results show that the proposed method achieves stable classification performance under low-resource training conditions and remains competitive when sufficient training samples are available, which verifies the effectiveness of the model.
文章引用:陈涛. 基于原型动态对齐的时间序列分类方法[J]. 人工智能与机器人研究, 2026, 15(4): 1046-1058. https://doi.org/10.12677/airr.2026.154094

参考文献

[1] Bagnall, A., Lines, J., Bostrom, A., Large, J. and Keogh, E. (2017) The Great Time Series Classification Bake Off: A Review and Experimental Evaluation of Recent Algorithmic Advances. Data Mining and Knowledge Discovery, 31, 606-660. [Google Scholar] [CrossRef] [PubMed]
[2] Dau, H.A., Bagnall, A., Kamgar, K., Yeh, C.M., Zhu, Y., Gharghabi, S., et al. (2019) The UCR Time Series Archive. IEEE/CAA Journal of Automatica Sinica, 6, 1293-1305. [Google Scholar] [CrossRef
[3] Ruiz, A.P., Flynn, M., Large, J., Middlehurst, M. and Bagnall, A. (2020) The Great Multivariate Time Series Classification Bake Off: A Review and Experimental Evaluation of Recent Algorithmic Advances. Data Mining and Knowledge Discovery, 35, 401-449. [Google Scholar] [CrossRef] [PubMed]
[4] Ismail Fawaz, H., Forestier, G., Weber, J., Idoumghar, L. and Muller, P. (2019) Deep Learning for Time Series Classification: A Review. Data Mining and Knowledge Discovery, 33, 917-963. [Google Scholar] [CrossRef
[5] Hochreiter, S. and Schmidhuber, J. (1997) Long Short-Term Memory. Neural Computation, 9, 1735-1780. [Google Scholar] [CrossRef] [PubMed]
[6] Ismail Fawaz, H., Lucas, B., Forestier, G., Pelletier, C., Schmidt, D.F., Weber, J., et al. (2020) Inceptiontime: Finding Alexnet for Time Series Classification. Data Mining and Knowledge Discovery, 34, 1936-1962. [Google Scholar] [CrossRef
[7] Dempster, A., Petitjean, F. and Webb, G.I. (2020) ROCKET: Exceptionally Fast and Accurate Time Series Classification Using Random Convolutional Kernels. Data Mining and Knowledge Discovery, 34, 1454-1495. [Google Scholar] [CrossRef
[8] Middlehurst, M., Large, J., Flynn, M., Lines, J., Bostrom, A. and Bagnall, A. (2021) HIVE-COTE 2.0: A New Meta Ensemble for Time Series Classification. Machine Learning, 110, 3211-3243. [Google Scholar] [CrossRef
[9] Wang, Z., Yan, W. and Oates, T. (2017) Time Series Classification from Scratch with Deep Neural Networks: A Strong Baseline. 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, 14-19 May 2017, 1578-1585. [Google Scholar] [CrossRef
[10] Craik, A., He, Y. and Contreras-Vidal, J.L. (2019) Deep Learning for Electroencephalogram (EEG) Classification Tasks: A Review. Journal of Neural Engineering, 16, Article ID: 031001. [Google Scholar] [CrossRef] [PubMed]
[11] Faust, O., Hagiwara, Y., Hong, T.J., Lih, O.S. and Acharya, U.R. (2018) Deep Learning for Healthcare Applications Based on Physiological Signals: A Review. Computer Methods and Programs in Biomedicine, 161, 1-13. [Google Scholar] [CrossRef] [PubMed]
[12] Berndt, D.J. and Clifford, J. (1994) Using Dynamic Time Warping to Find Patterns in Time Series. Proceedings of the 3rd International Conference on Knowledge Discovery and Data Mining, Seattle, 31 July-1 August 1994, 359-370.
[13] Keogh, E. and Ratanamahatana, C.A. (2005) Exact Indexing of Dynamic Time Warping. Knowledge and Information Systems, 7, 358-386. [Google Scholar] [CrossRef
[14] Jeong, Y.S., Jeong, M.K. and Omitaomu, O.A. (2011) Weighted Dynamic Time Warping for Time Series Classification. Pattern Recognition, 44, 2231-2240. [Google Scholar] [CrossRef
[15] Lines, J. and Bagnall, A. (2015) Time Series Classification with Ensembles of Elastic Distance Measures. Data Mining and Knowledge Discovery, 29, 565-592. [Google Scholar] [CrossRef
[16] Abanda, A., Mori, U. and Lozano, J.A. (2019) A Review on Distance Based Time Series Classification. Data Mining and Knowledge Discovery, 33, 378-412. [Google Scholar] [CrossRef
[17] Snell, J., Swersky, K. and Zemel, R. (2017) Prototypical Networks for Few-Shot Learning. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, 4-9 December 2017, 4080-4090.
[18] Cuturi, M. and Blondel, M. (2017) Soft-DTW: A Differentiable Loss Function for Time-Series. Proceedings of the 34th International Conference on Machine Learning, Sydney, 6-11 August 2017, 894-903.
[19] Schäfer, P. (2015) The BOSS Is Concerned with Time Series Classification in the Presence of Noise. Data Mining and Knowledge Discovery, 29, 1505-1530. [Google Scholar] [CrossRef