Channel-wise Influence: Estimating Data Influence for Multivariate Time Series

Muyao Wang, Zeke Xie, Bo Chen · OpenReview

Abstract

The influence function, a technique from robust statistics, measures the impact on model parameters or related functions when training data is removed or modified. This effective and valuable post-hoc method allows for studying the interpretability of machine learning models without requiring costly model retraining. It would provide extensions like increasing model performance, improving model generalization, and offering interpretability. Recently, Multivariate Time Series (MTS) analysis has become an important yet challenging task, attracting significant attention. However, there is no preceding research on the influence functions of MTS to shed light on the effects of modifying the channel of training MTS. Given that each channel in an MTS plays a crucial role in its analysis, it is essential to characterize the influence of different channels. To fill this gap, we propose a channel-wise influence function, which is the first method that can estimate the influence of different channels in MTS, utilizing a first-order gradient approximation that leverages the more informative average gradient of the data set. Additionally, we demonstrate how this influence function can be used to estimate the impact of a channel in MTS. Finally, we validated the accuracy and effectiveness of our influence estimation function in critical MTS analysis tasks, such as MTS anomaly detection and MTS forecasting. According to abundant experiments on real-world dataset, the original influence function performs worse than our method and even fail for the channel pruning problem, which demonstrate the superiority and necessity of channel-wise influence function in MTS analysis tasks.

Introduction

In multivariate time series (MTS) analysis—common in industrial settings like power plants or server farms—the "channel" (individual sensor or metric) is the fundamental unit of information. Traditional interpretability tools, such as standard influence functions, were primarily designed for computer vision or natural language processing. These tools treat an entire data sample (e.g., an image) as an atomic unit, failing to distinguish which specific channel drives a model's prediction or error.

This lack of granularity hinders "counterfactual" analysis: understanding how a model would change if a specific sensor's data were altered. To address this, we introduce Channel-wise Influence (ChInf), the first method designed to quantify the impact of individual data channels on MTS models.

Methodology: Channel-wise Influence

ChInf builds upon TracIn, an influence function that approximates the impact of a training point via the inner product of gradients. The core contribution is the mathematical decomposition of total influence into a Channel-wise Influence Matrix ($M_{ChInf}$).

Instead of a single scalar for a whole sample, ChInf produces a matrix where each element $a_{i,j}$ represents how much training on channel $i$ reduces the loss for channel $j$. This allows for two key applications:

  1. Anomaly Detection: By utilizing "self-influence" (the matrix diagonal), we can identify anomalous channels. If a channel's current state is highly inconsistent with patterns learned during training, it yields a high self-influence score.
  2. Channel Pruning: Channels are ranked by influence to identify a "representative subset." This enables pruning datasets by up to 70% while maintaining forecasting accuracy, leading to faster training and reduced storage.
Performance improvement of ChInf over base influence across different model architectures.

Experimental Evaluation

The effectiveness of ChInf was evaluated across two domains:

  • Anomaly Detection: Benchmarked on five datasets: SWaT (water treatment), SMD (server machine data), MSL (Mars Science Laboratory), SMAP (Soil Moisture Active Passive), and WADI (water distribution).
  • Forecasting & Pruning: Tested on large-scale MTS datasets including Electricity (321 channels), Solar-Energy (137 channels), and Traffic (821 channels).

Key Results

ChInf-based detection consistently outperformed specialized models like TranAD and AnomalyTransformer. For instance, on the SMAP dataset, it achieved an F1 score of 48.0, significantly surpassing the PCA-based baseline of 39.2.

Performance comparison of ChInf against state-of-the-art anomaly detection methods.

Furthermore, the method proved to be model-agnostic, showing consistent gains whether applied to GCN-LSTM, MLP-Mixer, or Transformer architectures. In pruning tasks, ChInf-based selection outperformed LIME, SHAP, and traditional feature selection methods.

Discussion and Insights

  • Self-Influence as "Surprise": An anomalous channel is "surprising" to the model; the gradient required to correct the error on that channel is significantly larger than for normal data.
  • Data Redundancy: Pruning experiments revealed massive redundancy. For the Traffic dataset, 30% of channels were sufficient to match full-dataset performance.
  • Efficiency: ChInf is computed directly from gradients, making it orders of magnitude faster than perturbation-based methods like SHAP (e.g., 0.071s vs 146s on the ECL dataset).

Conclusion

While ChInf excels at detecting localized anomalies, it may be less effective for global shifts where all channels move in unison. Future work will explore integrating ChInf into the training process itself to improve data utilization efficiency. Overall, ChInf provides a necessary and superior tool for granular MTS analysis.

Summary updated

BibTeX
@inproceedings{wang2025channel,
  author = {Muyao Wang and Zeke Xie and Bo Chen},
  title = {{Channel-wise Influence: Estimating Data Influence for Multivariate Time Series}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=U2AF01VJyg},
}
Figure