Skip to main content
QUICK REVIEW

[Paper Review] Time-Series Classification Through Histograms of Symbolic Polynomials

Josif Grabocka, Martin Wistuba|arXiv (Cornell University)|Jul 24, 2013
Time Series Analysis and ForecastingComputer Science25 references9 citations
TL;DR

This paper proposes SymPol, a novel time-series classification method that detects local patterns in long time-series by fitting polynomial functions in sliding windows, discretizing coefficients into symbolic words via equi-volume histograms, and constructing frequency histograms of these words for classification. The method achieves state-of-the-art accuracy across all tested datasets, including 100% accuracy on ECG2, with statistically significant improvements over baselines and linear-time computational complexity.

ABSTRACT

Time-series classification has attracted considerable research attention due to the various domains where time-series data are observed, ranging from medicine to econometrics. Traditionally, the focus of time-series classification has been on short time-series data composed of a unique pattern with intraclass pattern distortions and variations, while recently there have been attempts to focus on longer series composed of various local patterns. This study presents a novel method which can detect local patterns in long time-series via fitting local polynomial functions of arbitrary degrees. The coefficients of the polynomial functions are converted to symbolic words via equivolume discretizations of the coefficients' distributions. The symbolic polynomial words enable the detection of similar local patterns by assigning the same words to similar polynomials. Moreover, a histogram of the frequencies of the words is constructed from each time-series' bag of words. Each row of the histogram enables a new representation for the series and symbolize the existence of local patterns and their frequencies. Experimental evidence demonstrates outstanding results of our method compared to the state-of-art baselines, by exhibiting the best classification accuracies in all the datasets and having statistically significant improvements in the absolute majority of experiments.

Motivation & Objective

  • To address the challenge of classifying long time-series composed of multiple local patterns, which existing methods struggle with.
  • To develop a method that captures local polynomial structures efficiently and expressively, beyond constant-based pattern representations.
  • To enable fast, scalable classification by using a linear-time polynomial fitting algorithm and histogram-based representation.
  • To improve classification accuracy over state-of-the-art methods, especially on complex, long time-series with variable local patterns.
  • To ensure practical feasibility by maintaining low computational overhead despite increased expressiveness.

Proposed method

  • The method applies a sliding window over normalized time-series segments to fit polynomial functions of arbitrary degree.
  • Polynomial coefficients from each window are discretized into symbolic words using equi-volume histogram discretization of their empirical distributions.
  • Each coefficient is mapped to a letter based on its percentile rank in the coefficient’s distribution, forming a symbolic word per polynomial.
  • A bag-of-words representation is built per time-series, followed by constructing a histogram of word frequencies across all series.
  • The histogram rows serve as the final feature representation for classification using nearest neighbor with DTW.
  • A linear-time algorithm computes polynomial fits over sliding windows, ensuring overall O(n) time complexity with a small constant factor.

Experimental results

Research questions

  • RQ1Can symbolic polynomial representations improve classification accuracy for long time-series with multiple local patterns?
  • RQ2Does polynomial-based pattern representation outperform constant-based methods like BSAX in capturing complex local structures?
  • RQ3Can a histogram of symbolic polynomial words achieve high accuracy while maintaining low computational cost?
  • RQ4How sensitive is the method’s performance to hyperparameter choices such as window size, polynomial degree, and alphabet size?
  • RQ5Is the method practically efficient enough for real-world time-series classification tasks?

Key findings

  • SymPol achieved 100% classification accuracy on the ECG2 dataset, outperforming all baselines.
  • On the GAITPD dataset, SymPol reduced error by 57% compared to the closest baseline.
  • On the RATBP dataset, SymPol reduced error by 29% compared to the next-best method.
  • The method showed statistically significant improvements in three out of four datasets, with all wins being consistent across five-fold cross-validation.
  • Runtime performance was practical and close to the fastest methods, with only a small constant factor overhead compared to single-scan techniques like BSAX.
  • Hyperparameter search using grid search successfully located the global optimum, as shown by non-linear sensitivity in error rates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.