TL;DR
EvoTSC leverages Genetic Programming (GP) to automatically evolve lightweight, highly interpretable feature learning models for univariate time series classification. By embedding expert domain knowledge into a multi-layer program structure and introducing a novel Pareto-based selection strategy, it outperforms massive deep learning foundation models while requiring a fraction of the computational footprint, making it ideal for edge deployment.
What Problem Does This Paper Address?
Time Series Classification (TSC) is vital for applications ranging from medical ECG monitoring to industrial fault detection. However, real-world deployment faces two major hurdles: label scarcity and severe resource constraints on edge devices like wearables.
Currently, practitioners are caught between two extremes:
- Hand-crafted feature extractors (like
catch22), which are interpretable and lightweight but static and unable to adapt to specific dataset distributions. - Deep Neural Networks (NNs) and Foundation Models (like MOMENT or TiViT), which learn powerful, data-driven features but operate as computationally heavy "black boxes." They demand massive memory and compute, rendering them impractical for low-power microcontrollers.
Furthermore, time series models are notoriously prone to overfitting due to limited training data. The authors introduce EvoTSC to bridge this gap, aiming to automatically discover models that are adaptive, interpretable, robust against overfitting, and lightweight enough for edge hardware.
Methods
EvoTSC utilizes Strongly Typed Genetic Programming (STGP) to evolve explicit, executable feature-learning programs. The approach introduces two primary innovations:
1. Multi-Layer Program Structure
Instead of searching an unconstrained space, EvoTSC restricts the GP tree topology to a hierarchical, five-layer structure that mirrors expert data-engineering workflows:
- Segment Detection Layer: Isolates the most informative subsequence of the time series.
- Domain Transform Layer: Dynamically chooses whether to analyze the data in the Time, Frequency (via DFT), or Difference domain.
- Content-Adaptive Patching Layer: Breaks the segment into overlapping patches, optimizing the patch size automatically during evolution.
- Feature Extraction Layer: Applies shape-based convolutional operators (detecting increasing/decreasing trends or peaks) or statistical distribution operators (
StatisDist). - Feature Concatenation Layer: Combines features from multiple branches to handle complex classification tasks.
2. Tailored Pareto Tournament Selection
To combat overfitting, the authors discard the traditional approach of using a single scalar value (like average cross-validation accuracy) for fitness. Instead, they treat the accuracy of each individual cross-validation fold as an independent optimization objective. By applying Pareto dominance across folds, the evolutionary process filters out fragile models that perform exceptionally well on one split but poorly on another, favoring universally stable models.
Datasets
The method was rigorously evaluated on 86 univariate time series datasets from the benchmark UCR Time Series Classification Archive. These datasets span diverse domains, including biomedical, industrial, motion, and spectral data, with sequence lengths ranging from 15 to 2,800 data points.
Key Insights and Ideas
- White-Box Domain Adaptability: Unlike deep learning models where features are obscured by millions of weights, an evolved EvoTSC model can be read like a flowchart. For instance, in ECG analysis, the model naturally learns to isolate the clinically significant QRS complex or T-wave segments without human intervention.
- The Power of Multi-Objective Regularization: Treating cross-validation folds as separate objectives acts as an elegant, implicit regularizer. It forces the evolutionary pressure to select for generalization directly.
- Foundation Models Aren't Always Better Out-of-the-Box: Massive foundation models pre-trained on billions of samples often yield features misaligned with specific downstream tasks. A lightweight, dataset-specific evolutionary search can actually outperform them without requiring prohibitive fine-tuning costs.
Key Results
- Superior Performance: In a comprehensive Critical Difference analysis against 11 benchmark methods, EvoTSC achieved the best overall average rank (4.872), outperforming hand-crafted features (
catch22), advanced self-supervised NN methods (TS2Vec,SoftCLT), and massive foundation models (MOMENT,Mantis,TiViT). - Dominance Over Hand-Crafted Features: EvoTSC statistically outperformed
catch22on 71 out of 86 datasets, losing on only 6. - Extreme Hardware Efficiency: On the ECG5000 dataset, EvoTSC required only around $10^4$ FLOPs and a few kilobytes of peak memory. This allows it to fit comfortably within the strict hardware constraints of standard commercial microcontrollers (like the STM32F446RE), whereas neural network alternatives exceeded the physical SRAM capacity entirely.
Limitations and Future Work
- Univariate Only: The current framework is strictly designed for univariate time series of equal length. It cannot yet capture cross-variate dependencies inherent in multivariate time series data.
- Evolved from Scratch: EvoTSC evolves a completely new feature learning model for each dataset independently. The authors note that exploring transfer learning—specifically, reusing effective evolved subtrees or building blocks across related datasets—is a promising avenue to accelerate the evolutionary search.
Summary updated