Introduction
Time Series Classification (TSC) is a critical task in data mining where the temporal ordering of data points is often more important than their individual values. Traditional approaches frequently rely on global similarity measures, such as Dynamic Time Warping (DTW), to compare entire sequences. However, many real-world classes are defined by localized patterns, known as shapelets, which can appear at any point in the series (phase-independence).
While shapelets offer high interpretability, previous implementations "embedded" shapelet discovery within decision trees. This approach suffered from two major flaws: limited accuracy due to the simplicity of decision trees and high computational costs because the search had to be repeated at every node. This paper proposes a shapelet transform that decouples feature extraction from the classification algorithm, enabling the use of more powerful ensemble methods.
The Shapelet Transform Approach
The core innovation is a three-stage process that converts raw time series into a new feature space:
- Shapelet Extraction: The algorithm performs a single exhaustive pass over the dataset to identify the $k$ most representative shapelets across the entire data set.
- Parameter Estimation: To reduce manual tuning, the authors introduce an automated method to estimate the optimal lengths for candidate shapelets using data subsampling.
- The Transform: Each time series is transformed into a vector of $k$ features, where each feature represents the minimum Euclidean distance between the series and a specific shapelet.
By transforming the problem into a standard attribute-value format, researchers can apply state-of-the-art classifiers like Support Vector Machines (SVM) and Rotation Forests. To enhance efficiency, the authors utilize a caching and self-similarity filtering mechanism to avoid redundant features and propose the F-statistic as a faster quality measure for multi-class problems compared to traditional Information Gain.
Experimental Setup and Datasets
The proposed method was evaluated on 26 datasets, including 18 standard benchmarks from the UCR repository and 8 novel "Bone" datasets. These new datasets consist of 1D outlines extracted from hand X-ray images, categorizing phalanges (proximal, middle, and distal) into different age groups (infant, junior, teen).
Performance Analysis
The experimental results demonstrate that the shapelet transform significantly improves classification accuracy without sacrificing interpretability. When paired with complex classifiers, the transform consistently outperforms the traditional embedded shapelet tree.
As shown in the Critical Difference diagram, ensemble methods like Rotation Forest (RotFor) and SVM achieve superior rankings compared to the standard Shapelet Tree or C4.5. Furthermore, the use of the F-statistic for shapelet selection proved to be significantly faster for multi-class datasets; for example, on the Adiac dataset, it achieved a 4x speedup over Information Gain while maintaining performance.
Conclusion
The shapelet transform represents a significant advancement in TSC by separating the discovery of discriminative local patterns from the classification logic. This decoupling allows for the integration of powerful machine learning ensembles, leading to state-of-the-art performance while maintaining the phase-independence and interpretability that make shapelets valuable. Future work will focus on reducing the computational bottleneck of the initial search and refining shapelet selection through cluster analysis to minimize feature redundancy.
Summary updated