FERRETS: A Scalable Symbolic Transform for Time Series Classification

Antoine GuillaumearXiv 2026

TL;DR

Classifying time series by translating signal snippets into symbolic "words" makes models wonderfully interpretable—you can actually locate and read the exact shapes that drive a decision—but historically, the accurate versions have been far too slow and memory-hungry for big data. FERRETS reimagines this "dictionary" approach by mapping windows directly into fixed 8-bit binary integers using pure arithmetic, bypassing expensive hash maps and label-based feature filtering. The result is a blisteringly fast, streaming-capable classifier that matches or beats state-of-the-art convolution methods and massive time-series foundation models at a fraction of the compute cost.

What Problem Does This Paper Address?

Imagine trying to classify an ECG heartbeat or multi-sensor industrial telemetry. One classic approach—borrowed from text processing—is the dictionary method: slide a window across the signal, discretize the shape inside into a short string of symbols (a "word"), count how often each word appears, and classify the resulting bag-of-words. Unlike black-box neural networks or random convolution kernels (like MiniRocket), dictionary words can be decoded back into human-readable shapes and pinpointed in time.

The catch? Accurate dictionary methods scale terribly. Nearest-neighbor versions compare every new test signal against the entire training set. Linear versions (like WEASEL 2 in the aeon library) filter words using statistical tests against class labels, requiring them to hold giant candidate-word matrices for the whole dataset in RAM at once. When datasets grow to millions of series or hundreds of sensor channels, these methods hit a hard wall of time and memory.

Methods

FERRETS (Fast Exact Random Radix Encodings of Time Series) builds on the skeleton of WEASEL 2—extracting words from both the raw series and its first difference (the step-by-step rate of change) using random window lengths and dilations (gaps between read points):

FERRETS reads windows from both the raw signal X and its first difference X', across single or multiple channels.

Where FERRETS departs from convention is how it builds, stores, and fits its vocabulary:

  • Label-Free, Exact Arithmetic Keys: Each random configuration ("dictionary") converts a window into an 8-bit binary string using either segment averages (PAA) or Fourier coefficients. Read in base-2, those 8 bits are an integer from 0 to 255—giving the exact column index in a 256-column block. No hash maps, no hash collisions, no label-based word selection, and a strict upper bound on feature size before seeing a single data point.
  • The "Level Word" (New): Standard symbolic words z-normalize each window, erasing its baseline offset and amplitude. FERRETS restores this lost context with a dedicated 8-bit level word: 4 bits binning the window's mean and 4 bits binning its standard deviation against training quantiles.
  • Cross-Channel Words (New): For multivariate signals, keying every channel explodes the vocabulary. Instead, each dictionary samples at most 8 channels, computes their individual words, and adds three joint words: a coarse shape summary, flags for which channels just changed shape, and flags for which channels agree with the first channel.
  • Three-Regime Linear Head & Streaming: Counts are weighted with sublinear term-frequency ($1 + \ln \nu$) and unit-normalized. Small datasets ($n \le 3,000$) use an exact ridge solver; medium datasets use an iterative solver (LSQR); and massive datasets encode word counts once into a compressed disk/RAM cache and train via averaged stochastic gradient descent in passes—never holding the full feature matrix in memory. Class-imbalance corrections (square-root weights and a prior-shift rule) keep minority classes from getting steamrolled.

Datasets

No new benchmarks are introduced; instead, FERRETS is stress-tested across three established archives spanning vastly different scales:

  • UCR Archive: 112 small, univariate datasets (evaluated across 30 resamples).
  • Multiverse Archive: 133 multivariate problems (including a 65-problem core set), reaching up to 1,345 channels.
  • MONSTER Archive: 29 large-scale univariate and multivariate datasets ranging from tens of thousands to tens of millions of series (FERRETS completes datasets up to 1.17 million training series on a single machine).

Key Insights and Ideas

  • Feature selection isn't pulling its weight: Dropping statistical word filtering and simply keeping dense blocks of 256 binary keys with a regularized linear head achieves the same accuracy as WEASEL 2 while running 125x faster.
  • Normalization throws away vital signal: Ablations show that removing the new level word hurts accuracy across every archive, especially on long time series ($>700$ points) where local baseline shifts and amplitude changes distinguish classes.
  • Frozen Foundation Models aren't magic bullets for time series: Despite the hype around pretrained universal encoders, a lightweight, domain-agnostic symbolic transform trained from scratch handily outperforms frozen time-series foundation models with linear probes.
  • Capping channel subsets tames dimensionality: Sampling up to 8 channels per dictionary means compute and vocabulary size stop growing past 8 channels—keeping multivariate classification fast even on 256+ channel signals.

Key Results

Accuracy vs. total runtime on the UCR archive, showing FERRETS on the Pareto frontier.

Fig. 1. Mean accuracy over 30 resamples against fit + prediction time summed over UCR (resample 10, ten threads where recorded; MultiRocket-Hydra and RDST [19] in a later session). (n) counts the datasets completed and the disc area the median memory above the data over 19 datasets of the memory runs (Appendix A), with no disc where it was not measured.
  • UCR Speed & Accuracy: Under a 10-thread budget, FERRETS is the fastest of 11 tested classifiers on UCR (47 seconds total fit + predict time across 112 datasets, 87.6% mean accuracy). It is 3.8x faster than MiniRocket and 4.0x faster than QUANT at statistically indistinguishable accuracy. Only MultiRocket-Hydra (takes 24.7x longer) and HIVE-COTE 2 are significantly more accurate on UCR.
  • Multivariate Gains: On the Multiverse archive, FERRETS is significantly more accurate than both MiniRocket (+0.9 points overall) and QUANT (+2.6 points), and statistically tied with heavyweights HIVE-COTE 2 and MultiRocket-Hydra on the core set.
  • Big Data Streaming (MONSTER): Across the 19 MONSTER problems both complete, streaming FERRETS is significantly more accurate than MiniRocket while MiniRocket takes 3.7x as long to fit and uses 49x more peak memory above the data.
  • Vs. Foundation Models: On UCR's published split, FERRETS significantly beats all five tested frozen foundation models (MantisV2, Chronos-2, TiRex, MOMENT, NuTime), leading the best of them (MantisV2) by 1.7 percentage points.

Limitations and Future Work

  • Unread Channels: Because multivariate dictionaries sample at most 8 channels across 100 draws per side, ultra-wide datasets suffer coverage gaps—at 1,345 channels, roughly half the channels go completely unread.
  • Weak Spots on Scale & Shape: On short series with very little training data, FERRETS trails MiniRocket by 1.7 points. Conversely, on completed MONSTER datasets with $\ge 100,000$ series, it trails QUANT by 5.4 points (as the streaming SGD head trades off some accuracy for tiny memory footprints).
  • Disk Overhead & Pipeline Coupling: The streaming cache takes up roughly 12x the raw data size on disk at the median, which excluded the very largest MONSTER datasets under the hardware budget. Additionally, single-threaded execution on tiny datasets is 1.6x slower than MiniRocket.
  • Future Iteration: Cross-channel words only yielded a modest, statistically non-significant +0.6 point accuracy bump, which the author flags as an early design worth iterating on.

Summary updated

BibTeX
@misc{guillaume2026ferrets,
  author = {Antoine Guillaume},
  title = {{FERRETS: A Scalable Symbolic Transform for Time Series Classification}},
  year = {2026},
  eprint = {2611.33249},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33249},
}
Figure