TSFuse: automated feature construction for multiple time series data

Arne De Brabandere, Tim Op De Beéck, Kilian Hendrickx, Wannes Meert, Jesse DavisMachine Learning 2024

Introduction

In domains such as sports science, industrial monitoring, and healthcare, data is rarely collected from a single source. Instead, "sensor networks" are deployed, consisting of multiple sensors placed at various locations to capture different aspects of a system's state. Traditionally, making sense of this multivariate time series data requires data scientists to manually engineer features that combine these streams—for instance, calculating the resultant magnitude of a tri-axial accelerometer or the ratio between heart rate and physical movement. This manual process is slow, error-prone, and demands significant domain expertise.

The Challenge of Multivariate Time Series

Existing automated tools, such as tsfresh, are primarily univariate. They extract features from each sensor axis independently, often missing the critical information embedded in the relationships between sensors. TSFuse was developed to bridge this gap by automating the "fusion" of multiple time series signals into highly predictive and interpretable features.

Example of a multi-sensor network for human activity monitoring, showing various data streams that TSFuse aims to automatically fuse.

Methodology: The Computation Graph

TSFuse represents the feature construction process as a Computation Graph, a directed acyclic graph (DAG) where nodes represent data operations and edges represent the flow of data. The system employs a structured four-step search procedure to build this graph:

  1. Series-to-Series (S→S) Fusion: New time series are created by combining existing ones (e.g., calculating differences or ratios). Pearson correlation is used to prune redundant signals early.
  2. Series-to-Attribute (S→A) Transformation: Standard statistical features (e.g., mean, variance, FFT coefficients) are extracted from both original and fused series.
  3. Attribute-to-Attribute (A→A) Fusion: Extracted features are combined (e.g., the difference between means of two different sensors). The H-statistic is used to identify interacting attribute pairs, keeping the search space manageable.
  4. Selection: A decision tree "wrapper" method selects the most diverse and predictive subset of features to prevent overfitting.

A significant innovation in TSFuse is the use of metadata tags (e.g., "location: shin", "type: accelerometer"). These tags define "compatibility relations," ensuring the system doesn't waste time trying to fuse nonsensical combinations, such as a heart rate signal with GPS coordinates.

Evaluation and Results

The authors evaluated TSFuse on 10 real-world benchmark datasets across diverse domains, including human activity recognition, healthcare (ECG), industrial monitoring, and finance.

Key Findings

  • Superior Accuracy: TSFuse achieved the highest predictive performance on 13 out of 14 evaluation tasks, significantly outperforming univariate baselines like tsfresh and catch22.
  • Competitive with Deep Learning: TSFuse often outperformed state-of-the-art deep learning models (e.g., ResNet), particularly on smaller datasets where deep learning is prone to overfitting.
  • Efficiency: By utilizing a computation graph that reuses intermediate calculations, TSFuse is approximately 29 times faster at test time than tsfresh on average.
  • Robustness: The system is robust to sensor orientation. It can automatically derive rotation-invariant features (like resultant magnitude), maintaining high accuracy even if sensors are randomly rotated.
  • Interpretability: Unlike "black-box" models, TSFuse produces a traceable graph. Features can be physically interpreted (e.g., "the median ratio between left and right shin acceleration"), providing valuable domain insights.

Conclusion and Future Work

TSFuse demonstrates that series-level fusion is a powerful approach for multivariate time series analysis. By combining automated search with metadata-driven constraints, it offers a scalable and interpretable alternative to manual feature engineering and deep learning. Future research will explore more complex series-to-series transformers and further automation of compatibility relation discovery.

Reference: De Brabandere, A., Op De Beéck, T., Hendrickx, K. et al. TSFuse: automated feature construction for multiple time series data. Mach Learn 113, 5001–5056 (2024). https://doi.org/10.1007/s10994-021-06096-2

Summary updated

BibTeX
@article{brabandere2024tsfuse,
  author = {Arne De Brabandere and Tim Op De Beéck and Kilian Hendrickx and Wannes Meert and Jesse Davis},
  title = {{TSFuse: automated feature construction for multiple time series data}},
  journal = {Machine Learning},
  year = {2024},
  doi = {10.1007/s10994-021-06096-2},
}
Figure