Benchmarking Deep Learning Interpretability in Time Series Predictions

Aya Abdelsalam Ismail, Mohamed K. Gunady, Héctor Corrada Bravo, Soheil Feizi

Overview

Standard interpretability methods often fail on multivariate time series because they struggle to separate when something is important from what feature is important. This paper introduces a comprehensive synthetic benchmark and a novel Temporal Saliency Rescaling (TSR) technique that significantly sharpens model explanations by decoupling time and feature importance.

The Challenge of Time Series Interpretability

As deep learning models are increasingly deployed in high-stakes fields like healthcare and finance—where data is often in the form of multivariate time series—understanding why a model made a specific prediction is critical. Saliency methods, which highlight "important" input features, are the standard tool for this. However, they were primarily designed for computer vision and natural language processing.

The authors identify a major gap: we lack a clear understanding of how well these methods work for time series. Unlike images, where a human can intuitively judge a saliency map, time series data is often abstract. Furthermore, measuring the performance of interpretability methods is notoriously difficult because "ground truth" importance is rarely known. This paper systematically benchmarks these methods and addresses the common failure modes they exhibit in temporal data.

Benchmarking Methodology

To establish a ground truth for feature importance, the authors created a massive suite of 70 synthetic datasets. These datasets allow for precise control over "informative" features, varying how signals are distributed (e.g., static vs. shifting over time) and utilizing different generative processes like Gaussian noise and Autoregressive models. They also adapted the MNIST digit dataset by treating one image axis as the "time" dimension.

Using this benchmark, the researchers evaluated over 10 popular saliency methods—including gradient-based approaches (like Integrated Gradients) and perturbation-based approaches—across diverse architectures: LSTMs, Temporal Convolutional Networks (TCNs), and Transformers.

Key Insights: The Conflation Problem

A primary finding is that standard methods suffer from the "conflation of time and feature domains." If a feature at time $t$ is important, saliency methods tend to highlight all features at time $t$, regardless of their actual contribution. Methods that produce high-quality maps for images often fail on time series, producing noisy vertical or horizontal bands that fail to isolate the actual informative signals.

Standard saliency maps are often noisy and fail to isolate specific informative features, conflating time and feature domains.

Additionally, the choice of model architecture significantly impacts the quality of the resulting saliency maps, even if the models achieve identical prediction accuracy. The authors also note that simply masking "important" features and observing the model's accuracy drop is a deceptive metric; a steep drop might just mean the perturbation confused the model, not that the right features were identified.

Temporal Saliency Rescaling (TSR)

To fix these observed failures, the authors propose Temporal Saliency Rescaling (TSR). TSR is a two-step "wrapper" that can be applied to any existing saliency method:

  1. Time-Relevance Step: Calculates how much the model's output changes when an entire time step is masked.
  2. Feature-Relevance Step: Within the most relevant time steps, it calculates the importance of individual features.
  3. Rescaling: The final importance score is the product of these two, effectively "cleaning" the saliency map by ensuring features are only marked as important if both the time step and the specific feature are truly informative.

Applying TSR proved to be a game changer. For instance, on the "Middle Box" dataset, applying TSR to standard gradient methods improved the Area Under the Precision-Recall curve (AUPR) from 0.331 to 0.399. Visually, TSR effectively filters out the noise, producing saliency maps that closely match the ground truth informative regions.

Applying the TSR approach significantly sharpens the saliency maps across all architectures, closely matching ground truth.

Limitations and Future Work

While highly effective, TSR requires multiple passes (masking time steps and then features), which increases computational overhead compared to simple gradient-based methods. Furthermore, while the paper identifies that conflation happens, the exact mathematical reason why multivariate time series cause this breakdown remains an open research question. Finally, while synthetic benchmarks are necessary for establishing ground truth, future work must validate these findings on the complex, non-linear dependencies found in real-world medical or financial time series.

Summary updated

BibTeX
@inproceedings{ismail2020benchmarking,
  author = {Aya Abdelsalam Ismail and Mohamed K. Gunady and Héctor Corrada Bravo and Soheil Feizi},
  title = {{Benchmarking Deep Learning Interpretability in Time Series Predictions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=29hAx_5VZXo},
}
Figure