Feature Selection for Multivariate Time Series via Network Pruning

Kang Gu, Soroush Vosoughi, Temiloluwa Prioleau · DOI

TL;DR

Researchers at Dartmouth College have introduced the Neural Feature Selector (NFS), a novel end-to-end framework that treats feature selection for multivariate time series (MTS) as a network pruning problem. By integrating a specialized neural "head" into existing deep learning architectures, NFS identifies and retains only the most informative data streams, often improving model accuracy while significantly reducing computational overhead.

What Problem Does This Paper Address?

Multivariate time series data—collected from sources like wearable sensors, industrial equipment, and financial markets—is growing in volume and complexity. While deep learning has excelled at capturing temporal patterns in this data, it struggles with high dimensionality.

Having too many input features (many of which may be redundant or noisy) leads to two major issues:

  1. Overfitting: Models learn to "memorize" noise in irrelevant features rather than generalizing from the signal.
  2. Computational Cost: Processing hundreds of data streams is expensive in terms of memory and power, which is particularly problematic for edge devices like smartwatches.

Traditional feature selection methods often fail to account for the complex temporal dependencies in MTS data or are not easily integrated into modern deep learning pipelines.

Methods

The core innovation is the Neural Feature Selector (NFS), a modular component designed to be "plugged in" before any standard downstream model (like an LSTM, ResNet, or Transformer).

The NFS architecture uses a decomposed convolution design:

  • Temporal CNN Module: The input MTS is split into individual univariate streams. Each stream is processed independently by its own temporal CNN to extract unique local patterns.
  • Importance Scoring via Batch Normalization: The authors cleverly reuse the scaling factors ($\alpha$) from a Batch Normalization layer as "importance scores" for each feature stream.
  • Network Pruning Formulation: During training, a Lasso (L1) penalty is applied to these importance scores, forcing the network to push scores for redundant features toward zero.
  • Aggregating CNN: A final 1x1 convolutional layer combines the processed streams into a fixed-size representation compatible with the downstream task.

The training follows a two-stage schema: first, the model is trained with all features to rank their importance; then, it is re-trained using only the top $k$ features to achieve a compact, high-performance final model.

Fig. 1: An illustration of Neural Feature Selector. The internal structures of Temporal CNN and Aggregating CNN are revealed for better understanding. We use dotted line to represent the path which will be discarded after evaluating the importance of each feature.

Datasets

The authors evaluated NFS across four diverse real-world MTS datasets to prove its generalizability:

  • OhioT1DM: Mobile sensing data (19 variables) for blood glucose prediction in Type 1 diabetes patients.
  • Favorita: Commercial sales data (15 variables) from a large grocery retailer.
  • PhysioNet 2012: Medical ICU records (37 variables) used for mortality prediction.
  • Face Detection: High-dimensional MEG signals (144 variables) used to distinguish between images of faces and scrambled patterns.

Key Insights and Ideas

  • Feature Selection as Pruning: By framing feature selection as a network pruning task, the authors allow the model to learn which data to look at using the same gradient descent process used to learn how to process it.
  • Less is More: A striking finding was that models using a subset of features selected by NFS frequently outperformed models using the full feature set. This suggests that NFS effectively "denoises" the input data.
  • Model Agnostic: NFS acts as a flexible front-end. It improved performance across a wide variety of architectures, including ResNet, MCNN, and Transformers, without requiring internal modifications to those models.
  • Robustness over Unsupervised Methods: Unlike unsupervised feature selection (like AgnoS), which selects features based on data structure alone, NFS selects features based on their utility for the specific end-task, leading to more reliable performance gains.
Sensitivity analysis showing how accuracy/error stabilizes as the number of selected features (k) increases.

Key Results

NFS demonstrated significant improvements over state-of-the-art baselines:

  • Face Detection: The combination of NFS and MCDCNN achieved an accuracy of 0.636, exceeding the previous best work by more than 10%.
  • PhysioNet 2012: NFS improved the AUC score of an RNN model by 0.06 through feature selection alone.
  • Efficiency: On the OhioT1DM dataset, NFS reduced the Root Mean Square Error (RMSE) by 5.72 mg/dL while using only 5 out of 19 available features.
  • Consistency: Across all tests, NFS-selected features consistently outperformed those selected by the recent AgnoS method, particularly on high-dimensional datasets like Face Detection (144 features).

Limitations and Future Work

  • Manual Hyperparameter $k$: Currently, the number of features to keep ($k$) is a hyperparameter that must be set manually. The authors suggest that automating the selection of an optimal $k$ is a promising direction for future research.
  • Computational Overhead of Stage 1: While the final pruned model is highly efficient, the initial training stage still requires processing the full feature set.
  • Interpretability: While NFS identifies which features are important, it doesn't explicitly explain why those features are important in a way that a human domain expert might easily digest (e.g., "Feature X is important because of a specific spike at time T"). Integrating more granular explainability could be a future step.

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