Introduction
Real-world time series data often deviates significantly from the clean, uniform datasets found in academic benchmarks. Issues such as missing values, varying recording frequencies, and inconsistent signal lengths pose substantial challenges for standard predictive models. While Time Series Classification (TSC) has seen extensive research, Time Series Extrinsic Regression (TSER)—predicting a non-temporal scalar value from a signal—remains relatively underserved. Furthermore, high-performing models like ROCKET or deep learning architectures often operate as "black boxes," lacking the interpretability required in critical domains like healthcare and finance.
To address these gaps, we present BORF (Bag-Of-Receptive-Fields), a deterministic and interpretable transform. BORF converts irregular time series into a standard tabular format by combining convolutional concepts with symbolic discretization, achieving state-of-the-art performance while maintaining transparency.
The BORF Framework
The core of our approach is the BORF transform, a four-step pipeline designed to convert raw time series into a "bag" of symbolic patterns.
- Windowing (Receptive Fields): Inspired by Convolutional Neural Networks (CNNs), BORF extracts "receptive fields" using sliding windows. By varying dilations (gaps between points) and strides, the model captures both fine-grained local details and broad long-range dependencies.
- Normalization: Extracted windows are standardized. A specific thresholding mechanism handles "constant" segments, preventing the amplification of background noise.
- Approximation (1D-SAX-NA): We extend the 1D-Symbolic Aggregate approXimation (1D-SAX) to handle missing values (NA) via "complete case analysis." Each window is mapped to a symbolic word representing its mean and slope.
- Transform: The frequency of these symbolic words is aggregated across the dataset, resulting in a sparse tabular representation (a "Bag of Patterns").
This deterministic transform allows the resulting data to be processed by efficient, standard learners such as Linear Support Vector Classifiers for TSC or LightGBM for TSER.
Experimental Evaluation
We evaluated BORF across 158 TSC datasets and 19 TSER datasets from the UCR/UEA archives. These datasets span diverse domains, including medical monitoring and industrial sensors, providing a robust test for the model's versatility.
Results and Insights
BORF demonstrates exceptional performance across both classification and regression tasks.
- TSER Performance: BORF emerged as the top-performing method for extrinsic regression, outperforming established models like ROCKET and TSF. Its ability to handle "dirty" data naturally—by ignoring missing values during slope and mean calculations rather than relying on potentially biased imputation—is a key factor in its success.
- TSC Performance: In classification tasks, BORF ranked second overall, statistically tied with ROCKET. It significantly outperformed other dictionary-based methods such as BOSS and MUSE.
- Interpretability: Unlike random-kernel methods, BORF is entirely deterministic. By applying SHAP (feature importance) to the BORF output, we can generate saliency maps that pinpoint the specific temporal patterns driving a prediction, offering clear visual explanations for practitioners.
Conclusion and Future Work
BORF bridges the gap between high-performance predictive modeling and human-understandable interpretability for messy time series data. While currently limited by quadratic time complexity ($O(m^2)$) relative to sequence length, future work will explore stride optimization and inter-channel correlation for multivariate signals to further enhance efficiency and predictive power.
Reference: Spinnato, F., Guidotti, R., Monreale, A., & Nanni, M. (2023). A Bag of Receptive Fields for Time Series Extrinsic Predictions. arXiv:2311.18029v1.
Summary updated