[Paper Review] Time Series Data Augmentation for Neural Networks by Time Warping with a Discriminative Teacher
This paper proposes guided warping, a novel time series data augmentation method that uses Dynamic Time Warping (DTW) and shapeDTW to deterministically mix time series features from a source pattern with the temporal structure of a reference pattern. By employing a discriminative teacher selected via a nearest centroid classifier, the method improves generalization in deep neural networks, achieving up to 9.5% accuracy gain on VGG and 6.2% on Image Outline datasets, especially effective with CNNs but not RNNs.
Neural networks have become a powerful tool in pattern recognition and part of their success is due to generalization from using large datasets. However, unlike other domains, time series classification datasets are often small. In order to address this problem, we propose a novel time series data augmentation called guided warping. While many data augmentation methods are based on random transformations, guided warping exploits the element alignment properties of Dynamic Time Warping (DTW) and shapeDTW, a high-level DTW method based on shape descriptors, to deterministically warp sample patterns. In this way, the time series are mixed by warping the features of a sample pattern to match the time steps of a reference pattern. Furthermore, we introduce a discriminative teacher in order to serve as a directed reference for the guided warping. We evaluate the method on all 85 datasets in the 2015 UCR Time Series Archive with a deep convolutional neural network (CNN) and a recurrent neural network (RNN). The code with an easy to use implementation can be found at https://github.com/uchidalab/time_series_augmentation .
Motivation & Objective
- Address the challenge of small time series classification datasets, which limits the performance of deep neural networks.
- Overcome the limitations of random or heuristic-based data augmentation methods in time series by introducing a deterministic, structure-aware approach.
- Improve model generalization and decision boundary learning through targeted pattern mixing using time warping with a discriminative reference.
- Demonstrate that guided warping with shapeDTW and a discriminative teacher significantly enhances performance on deep learning models, particularly CNNs.
Proposed method
- Guided warping uses DTW to align the features of a source time series to the temporal step structure of a reference time series, preserving local patterns while adapting to timing variations.
- ShapeDTW is applied to improve alignment smoothness by using high-level shape descriptors instead of element-wise matching, enhancing feature preservation.
- A discriminative teacher is selected from a bootstrap sample using a nearest centroid classifier to maximize inter-class and intra-class separation, ensuring informative references.
- The method generates synthetic training samples by warping source patterns to the time step structure of the selected discriminative teacher, increasing dataset diversity.
- The approach is evaluated with VGG and LSTM models on all 85 UCR Time Series Archive datasets, using standard training protocols and hyperparameters.
- The implementation is publicly available at https://github.com/uchidalab/time_series_augmentation for reproducibility and integration.
Experimental results
Research questions
- RQ1Can DTW-based warping be used effectively for deterministic time series data augmentation rather than random transformations?
- RQ2Does using shapeDTW instead of standard DTW improve the quality and relevance of augmented time series samples?
- RQ3Can a discriminative teacher—selected based on class separation—outperform random or medoid-based references in guiding data augmentation?
- RQ4Does guided warping improve generalization and accuracy when used with deep neural networks, particularly CNNs versus RNNs?
- RQ5How does guided warping compare to existing state-of-the-art methods in time series classification across diverse datasets?
Key findings
- Guided warping with shapeDTW and a discriminative teacher (DGW-sD) achieved an average 3-4% accuracy improvement across all 85 UCR datasets when used with a VGG-based CNN.
- The highest accuracy gains were observed on Simulated (+9.5%), Image Outline (+6.2%), and Device (+5.1%) datasets, indicating strong performance on synthetic and structured time series.
- The use of a discriminative teacher improved performance over random reference selection for both DTW and shapeDTW variants, demonstrating the value of targeted reference selection.
- LSTM models showed no significant improvement with the proposed augmentation, as RNNs are inherently robust to time distortions, suggesting the method is most effective with CNNs.
- On VGG, DGW-sD outperformed all baseline data augmentation techniques and achieved competitive results, second only to COTE and Shapelet Transform in the comparison.
- The method was robust across dataset types, with notable improvements on Symbol, OliveOil, and ShapeletSim, where structural consistency is critical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.