Combining the Global and Partial Information for Distance-Based Time Series Classification and Clustering

Hui Zhang, Tu Bao Ho, Mao-Song Lin, Wei HuangJournal of Advanced Computational Intelligence and Intelligent Informatics 2006

TL;DR

This paper introduces a novel method for time series analysis that combines global trends and local fluctuations using Haar wavelets. By automatically selecting the most informative wavelet features and employing a robust similarity measure, the approach significantly improves classification and clustering accuracy on benchmark datasets, while also demonstrating resilience to noise.

What Problem Does This Paper Address?

Time series data, abundant in fields like finance and biology, presents unique challenges for analysis due to its high dimensionality and inherent correlations. Existing methods for time series classification and clustering often focus on either the overall trend (global information) or sudden changes (partial information), but rarely combine both effectively. Furthermore, many of these methods require users to manually set parameters, which can be a difficult and error-prone process, leading to suboptimal results. This paper aims to bridge this gap by developing a unified approach that leverages both global and partial information and automates the feature selection process.

Methods

The core of this work lies in exploiting the multi-scale properties of the Haar wavelet transform. The authors propose a method to extract features that capture both the global trends (through approximation coefficients) and local changes (through detail coefficients) of a time series at various decomposition scales.

Key methodological contributions include:

  • Combined Feature Extraction: The approach concatenates approximation coefficients from a chosen scale with the absolute values of detail coefficients from multiple scales. This ensures that both overarching patterns and localized variations are represented.
  • Automatic Scale Selection: Instead of relying on user-defined parameters, the paper introduces a non-parametric method to automatically select the most informative wavelet decomposition scale. This is achieved by minimizing the Shannon entropy of the wavelet coefficients within a scale, effectively identifying scales where the energy is concentrated in a few significant coefficients.
  • Robust Similarity Strategy: To handle cases where different time series might have optimal scales, a similarity measure is proposed that averages the distances computed on features from their respective appropriate scales. This makes distance-based classification and clustering algorithms applicable.
  • Noise Reduction: A hard thresholding technique is applied to the selected features to mitigate the impact of noise, further enhancing the robustness of the approach.

Datasets

The authors evaluated their approach on five benchmark time series datasets from the UCR Time Series Data Mining Archive:

  • Cylinder-Bell-Funnel (CBF): An artificial dataset with three classes (cylinder, bell, funnel).
  • Control Chart Time Series (CC): A dataset containing six classes of control charts.
  • Trace dataset (Trace): A 4-class dataset.
  • Gun Point dataset (Gun): A 2-class dataset.
  • Reality Check dataset (Realitycheck): A dataset designed for testing distance measures, used here for clustering.

The Reality Check dataset was used solely for clustering due to its limited number of instances per cluster.

Key Insights and Ideas

  • The Synergy of Global and Partial Information: The paper strongly suggests that combining global trends and local fluctuations is crucial for accurate time series analysis, outperforming methods that focus on only one aspect.
  • Automated Feature Engineering is Key: The ability to automatically select the most relevant wavelet decomposition scale eliminates the need for manual parameter tuning, making the method more accessible and less prone to user error.
  • Entropy as a Measure of Informative Features: Using Shannon entropy to identify scales with concentrated wavelet coefficients is an elegant way to pinpoint the most significant patterns in a time series.
  • Robustness to Noise: The proposed feature extraction method, particularly when combined with noise reduction, demonstrates remarkable resilience to noise, maintaining high accuracy in both classification and clustering.
  • Natural Groupings for Clustering: The extracted features appear to reveal more intuitive groupings in the data compared to using the raw time series, as evidenced by the dendrograms.

Key Results

  • Classification Accuracy: The proposed WCANN (Wavelet Classification Algorithm) and WCANR (with noise reduction) algorithms achieved classification accuracies comparable to or better than the 1-NN algorithm using raw data on all four tested datasets. They significantly outperformed other feature extraction methods like WC-NN, DFT-NN, and SVD-NN. For instance, on the Gun dataset, WCANN/WCANR achieved a 5.5% error rate compared to 11% for NN.
  • Clustering Performance: Visual inspection of dendrograms generated by agglomerative hierarchical clustering showed that the proposed features created more natural groupings of the data compared to using the original time series.
  • Noise Robustness: The experimental results indicated that noise reduction did not significantly alter classification or clustering results, suggesting that the appropriate features are inherently robust to noise.

Limitations and Future Work

  • Limitations: The paper acknowledges that the Haar wavelet decomposition requires the input time series length to be an integer power of 2, necessitating zero-padding for series of other lengths. While the authors argue that this padding doesn't significantly affect results, it's a constraint. The similarity strategy, while effective, involves averaging distances, which might not be optimal for all scenarios.
  • Future Work: The authors suggest that their approach can be extended to other wavelet families and more complex similarity measures. Further exploration of different noise reduction techniques and their impact on various time series datasets could also be beneficial. The development of more sophisticated methods for automatically selecting appropriate scales and features could also be a promising direction.

Summary updated

Abstract

Many time series representation schemes for classification and clustering have been proposed. Most of the proposed representation focuses on the prominent series by considering the global information of the time series. The partial information of time series that indicates the local change of time series is often ignored. Recently, researches shown that the partial information is also important for time series mining. However, the combination of these two types of information has not been well studied in the literature. Moreover, most of the proposed time series representation requires predefined parameters. The classification and clustering results are considerably influenced by the parameter settings, and, users often have difficulty in determining the parameters. We attack above two problems by exploiting the multi-scale property of wavelet decomposition. The main contributions of this work are: (1) extracting features combining the global information and partial information of time series (2) automatically choosing appropriate features, namely, features in an appropriate wavelet decomposition scale according to the concentration of wavelet coefficients within this scale. Experiments performed on several benchmark time series datasets justify the usefulness of the proposed approach.
BibTeX
@article{zhang2006combining,
  author = {Hui Zhang and Tu Bao Ho and Mao-Song Lin and Wei Huang},
  title = {{Combining the Global and Partial Information for Distance-Based Time Series Classification and Clustering}},
  journal = {Journal of Advanced Computational Intelligence and Intelligent Informatics},
  year = {2006},
  doi = {10.20965/jaciii.2006.p0069},
}
Figure