quant: a minimalist interval method for time series classification

Angus Dempster, Daniel F. Schmidt, Geoffrey I. Webb

Introduction

Time series classification (TSC) is a fundamental task in data science, with applications ranging from medical diagnostics to financial forecasting. In recent years, the field has seen a trend toward increasingly complex algorithms. Leading "interval methods," which classify series based on statistics calculated over sub-segments, have evolved into massive ensembles like DrCIF and rSTSF. These methods often utilize dozens of features and intricate, randomized interval selection strategies.

QUANT (Quantile-based interval method) challenges this trend by asking a fundamental question: Is all this complexity necessary? By distilling interval methods down to their essential components—quantiles and fixed intervals—QUANT achieves state-of-the-art accuracy while being orders of magnitude faster than its predecessors.

Methodology

QUANT simplifies the TSC pipeline through a minimalist approach to feature extraction and interval selection.

1. Input Representations

To capture diverse characteristics, QUANT processes four views of the raw data: the original series, the first difference (velocity), the second difference (acceleration), and the Discrete Fourier Transform (frequency).

2. Fixed Dyadic Intervals

Instead of the computationally expensive random sampling used by other methods, QUANT employs a fixed "dyadic" structure. The series is recursively split in half (1 interval, then 2, then 4, etc.) up to a specified depth. This ensures that the model captures both global distributional information and precise local features.

Dyadic interval decomposition at various depths.

3. Quantile Features

The core innovation of QUANT is its reliance on quantiles (e.g., the 25th, 50th, and 75th percentiles) as universal features. Quantiles are computationally cheap to calculate via sorting and provide a richer description of data distribution than simple means or variances. To capture the "shape" of the distribution, QUANT also subtracts the interval mean from every second quantile.

4. Classification

The extracted features are fed into a standard Extremely Randomised Trees (ExtraTrees) classifier. QUANT avoids explicit feature selection, allowing the tree-building process to identify the most discriminative quantiles automatically.

Empirical Evaluation

The authors evaluated QUANT using the expanded UCR Time Series Archive, consisting of 142 datasets. This benchmark represents the gold standard for evaluating TSC algorithms. To ensure statistical robustness, the study utilized 30 predefined resamples of these datasets.

Key Results

QUANT demonstrates that minimalism does not require a sacrifice in performance.

  • Accuracy: QUANT matches or exceeds the accuracy of sophisticated models like DrCIF and rSTSF. As shown in the performance comparison, QUANT achieves a higher mean accuracy than several established interval-based competitors.
  • Speed: This is the method's most significant advantage. QUANT can process the entire 142-dataset UCR archive in less than 15 minutes on a single CPU core. This makes it 5x faster than rSTSF and over 1,000x faster than HIVE-COTE 2.0, which typically requires over a week to complete the same task.
Statistical comparison of QUANT against other interval-based classifiers.

Conclusion

QUANT proves that a well-designed, minimalist approach can outperform complex ensembles in both speed and efficiency. By focusing on the power of quantiles and fixed dyadic intervals, it provides a highly robust "out-of-the-box" tool for time series classification. Future work will look to extend this framework to multivariate and variable-length time series data.

Summary updated

BibTeX
@article{dempster2024quant,
  author = {Angus Dempster and Daniel F. Schmidt and Geoffrey I. Webb},
  title = {{quant: a minimalist interval method for time series classification}},
  journal = {Data Min. Knowl. Discov.},
  year = {2024},
  doi = {10.1007/s10618-024-01036-9},
}
Figure