FERRETS: A Scalable Symbolic Transform for Time Series Classification
Organizations: Novahe, Constellation Group, France
Abstract
Dictionary methods for time series build bags of symbolic words from subsequences, but the accurate ones scale poorly. Against other families of methods, their accuracy no longer pays for their cost. We present FERRETS, a label-free dictionary transform built on WEASEL2. It keys windows of random length and dilation into exact eight-bit words, adds a level word of each window's mean and spread, and on multivariate data adds cross-channel words. We compare it with leading classifiers, deep networks and foundation models included, on the UCR, Multiverse and MONSTER archives. FERRETS is the fastest of the eleven methods timed on UCR under a ten-thread budget. Of the ten others, only MultiRocket-Hydra is significantly more accurate, taking 24.7 times as long. FERRETS is not significantly different from WEASEL2, the most accurate earlier dictionary method, which takes 125 times as long, and is significantly ahead of the other dictionary methods. On the Multiverse core, it is not significantly different in accuracy from HIVE-COTE~2 and MultiRocket-Hydra, though behind both on UCR. It is also significantly more accurate than five frozen foundation models on UCR's published split. On the MONSTER problems both complete, MiniRocket takes 3.7 times as long to fit as the streaming FERRETS classifier, which is significantly more accurate.
Figures & tables
| component | setting | origin | prior work |
| Transform, one channel (Section 3.1 ) | |||
| dictionaries | drawn independently for each side (the series, its first difference), seed 0, duplicates merged | adapted | WEASEL 2 [ 49 ] |
| source | PAA or Fourier, equal probability | adapted | SAX [ 27 ] , SFA [ 47 ] , paired in MrSQM [ 25 ] |
| window | uniform on , | adapted | WEASEL 2 |
| dilation | , , , the letting be drawn | adapted | ROCKET’s draw [ 9 ] , as in WEASEL 2 |
| PAA word | 8 segments of values, bit 1 where the segment mean exceeds the window mean, 0 on a tie | adapted | SAX at two symbols [ 27 ] |
| component | setting | origin | prior work |
|---|---|---|---|
| ridge head | one-vs-rest targets, intercept by centering, | adapted | MiniRocket [ 10 ] |
| class weights | (mean 1) in the ridge loss, on streaming updates, the size of class , that of the smallest (Section 4.1 ) | adapted | square-root sampling [ 29 ] |
| prior shift | ridge heads predict (Section 4.1 ), by the one-standard-error rule on out-of-sample decisions | adapted | logit adjustment [ 31 ] , one-standard-error rule [ 5 ] |
| dual route | , by exact class-weighted leave-one-out squared error (Section 4.2 ) | borrowed | scikit-learn’s leave-one-out ridge [ 41 ] , one eigendecomposition for all [ 44 ] |
| iterative route | , LSQR with tolerance and steps, by accuracy on a 25 % hold-out, refit on all rows | adapted | LSQR [ 40 ] , one bidiagonalization for all [ 39 ] |
| streaming head | least squares, class-weighted (Equation 1 ), step 1, penalty per series, 20 epochs, chunks of nonzeros | adapted | averaged SGD at a constant step [ 3 ] , scikit-learn’s SGD [ 41 ] |
| problems | splits | published results | run here for accuracy | |
|---|---|---|---|---|
| UCR | 112 univariate datasets [ 7 ] | 30 resamples, the first the published split | 19 methods | FERRETS, BORF |
| Multiverse | 133 multivariate problems, 65 in the core [ 36 ] | one run on the published split | 31 methods | FERRETS, MiniRocket, Hydra, BORF |
| MONSTER | 29 problems, 10 univariate and 19 multivariate [ 8 ] | five predefined cross-validation folds, some grouped by subject or location | seven methods [ 15 ] | FERRETS (streaming), MiniRocket |
Time Series Classification
Time series classification assigns labels to sequential data, using temporal patterns to support decisions in health, sensing, science, and industry.
See all 197 papers