mlsanityData to 14 Oct 2026

Bridging Neural Networks and Dynamic Time Warping for Adaptive Time Series Classification

arXiv 2507.09826 ↗First posted 13 Jul 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Neural networks have achieved remarkable success in time series classification, but their reliance on large amounts of labeled data for training limits their applicability in cold-start scenarios. Moreover, they lack interpretability, reducing transparency in decision-making. In contrast, dynamic time warping (DTW) combined with a nearest neighbor classifier is widely used for its effectiveness in limited-data settings and its inherent interpretability. However, as a non-parametric method, it is not trainable and cannot leverage large amounts of labeled data, making it less effective than neural networks in rich-resource scenarios. In this work, we aim to develop a versatile model that adapts to cold-start conditions and becomes trainable with labeled data, while maintaining interpretability. We propose a dynamic length-shortening algorithm that transforms time series into prototypes while preserving key structural patterns, thereby enabling the reformulation of the DTW recurrence relation into an equivalent recurrent neural network. Based on this, we construct a trainable model that mimics DTW's alignment behavior. As a neural network, it becomes trainable when sufficient labeled data is available, while still retaining DTW's inherent interpretability. We apply the model to several benchmark time series classification tasks and observe that it significantly outperforms previous approaches in low-resource settings and remains competitive in rich-resource settings.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 35 references that are in the map. First posted on arXiv 13 Jul 2025.

Builds on

15 of 35 references.

References · 15

  1. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  2. 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,512
  3. 2019InceptionTime: Finding AlexNet for Time Series Classificationcited by 387
  4. 2019ROCKET: Exceptionally fast and accurate time series classification using random convolutional kernelscited by 339
  5. 2018Deep Learning: A Critical Appraisalcited by 217
  6. 2020Benchmarking Multivariate Time Series Classification Algorithmscited by 145
  7. 2024Fairness in Large Language Models: A Taxonomic Surveycited by 58
  8. 2019Augmenting Neural Networks with First-order Logiccited by 51
  9. 2021SalientSleepNet: Multimodal Salient Wave Detection Network for Sleep Stagingcited by 32
  10. 2023Inherently Interpretable Time Series Classification via Multiple Instance Learningcited by 23
  11. 2019How Case Based Reasoning Explained Neural Networks: An XAI Survey of Post-Hoc Explanation-by-Example in ANN-CBR Twinscited by 20
  12. 2022Deep interpretable ensemblescited by 5
3 more
  1. 2022Prototype-Anchored Learning for Learning with Imperfect Annotationscited by 4
  2. 2019Learning Interpretable Shapelets for Time Series Classification through Adversarial Regularizationcited by 3
  3. 2024Time Series Data Augmentation as an Imbalanced Learning Problemcited by 2

Built on by

Not cited yet.