Feature Selection for Multivariate Time Series via Network Pruning

Kang Gu, Soroush Vosoughi, Temiloluwa Prioleau

TL;DR

This paper introduces the Neural Feature Selector (NFS), a novel, end-to-end framework for feature selection in high-dimensional multivariate time series (MTS) data. NFS treats feature selection as a network pruning problem, learning to identify and retain the most informative features by jointly training with downstream models, thereby improving performance and interpretability with minimal overhead.

What Problem Does This Paper Address?

Multivariate time series (MTS) data is increasingly prevalent across various domains, driven by sensor networks and IoT devices. However, two major challenges hinder effective analysis: capturing long-term temporal dependencies and dealing with high dimensionality. While deep learning models have shown promise in addressing the former, the latter, particularly feature selection, remains less explored. High dimensionality can lead to overfitting, poor interpretability, and increased computational costs. Existing feature selection methods are often not compatible with deep learning frameworks or require unsupervised settings that don't guarantee optimal performance for specific tasks.

Methods

The core of the proposed solution is the Neural Feature Selector (NFS), a neural component designed to be plugged into existing deep learning architectures. NFS employs a decomposed convolution design with two main modules:

  1. Temporal CNN Module: Each individual feature stream (univariate time series) within the MTS data is processed independently by a temporal Convolutional Neural Network (CNN). This allows for the extraction of unique temporal dependencies within each feature.
  2. Aggregating CNN Module: The outputs from the temporal CNNs are concatenated and then passed through an aggregating CNN. This module combines the processed streams to extract channel-wise information.

Crucially, NFS frames feature selection as a network pruning problem. During joint training with a downstream model, an importance score is learned for each feature stream's path through the NFS. These scores are then used to rank features, and only the top k most informative features are retained. This approach allows for feature selection with minimal overhead, as the dimensionality of the output is determined by the number of aggregating filters, not the input feature count. To further encourage sparsity, Lasso regularization is applied to the importance scores.

Datasets

The authors evaluated NFS on four publicly available, real-world MTS datasets from diverse domains:

  • OhioT1DM: Mobile sensing data related to glucose levels and self-reported life events for type 1 diabetes patients.
  • Favorita: Sales data from a large Ecuadorian grocery retailer, including daily sales volume and related events.
  • PhysioNet 2012: Medical data from intensive care unit (ICU) records, containing physiological state variables.
  • Face Detection: Medical data consisting of MEG signals used for determining if a subject has seen a face or a scrambled image.

Key Insights and Ideas

  • Feature Selection as Network Pruning: Reframing feature selection as a network pruning problem is a novel approach that allows for end-to-end learning and integration with gradient descent.
  • Flexibility and Modularity: NFS acts as a plug-and-play component, requiring no modifications to the internal architectures of various downstream models (e.g., LSTM, ResNet, Transformer).
  • Improved Performance with Reduced Dimensionality: NFS consistently improved the performance of downstream models across all datasets, even when reducing the number of features significantly. This highlights its effectiveness in handling high-dimensional MTS data.
  • Robustness Compared to Unsupervised Methods: NFS outperformed AgnoS (an unsupervised autoencoder-based feature selection method) on most downstream models and datasets, suggesting that learning feature importance based on task-specific gradients is more effective than unsupervised approaches for this task.

Key Results

  • Performance Boost: NFS consistently boosted the performance of various downstream models (LSTM, ResNet, MCNN, MCDCNN, t-LeNet, Transformer) on all four datasets. For example, on OhioT1DM, NFS+t-LeNet reduced RMSE by 5.72 by selecting a subset of features.
  • State-of-the-Art Achievement: NFS+MCDCNN achieved an accuracy of 0.636 on the Face Detection dataset, exceeding recent work by over 10%. NFS+t-LeNet achieved an AUC of 0.9179 on PhysioNet 2012, outperforming prior work by approximately 0.08.
  • Outperforming AgnoS: NFS consistently outperformed AgnoS, showing an average improvement of 0.86 RMSE and 0.60 MAE on OhioT1DM and Favorita. Notably, AgnoS's selected features sometimes impaired performance on certain models, whereas NFS consistently improved results.
  • Hyperparameter Sensitivity: Sensitivity analysis showed that NFS performance generally improves with an increasing number of selected features (k) up to a certain point, after which it stabilizes.

Limitations and Future Work

  • Hyperparameter Sensitivity: The number of selected features (k) is identified as the most important hyperparameter, requiring careful tuning.
  • Future Work: The authors suggest that NFS can be further explored as a general feature selection framework for various time series tasks. The code and experimental data are made available for general use, encouraging further research and application.

Summary updated

BibTeX
@inproceedings{gu2021feature,
  author = {Kang Gu and Soroush Vosoughi and Temiloluwa Prioleau},
  title = {{Feature Selection for Multivariate Time Series via Network Pruning}},
  booktitle = {Workshops @ ICDM},
  year = {2021},
  doi = {10.1109/icdmw53433.2021.00132},
}
Figure