WindowSHAP: An Efficient Framework for Explaining Time-series Classifiers based on Shapley Values
Not on the map. Why?
Abstract (arXiv)
Unpacking and comprehending how black-box machine learning algorithms make decisions has been a persistent challenge for researchers and end-users. Explaining time-series predictive models is useful for clinical applications with high stakes to understand the behavior of prediction models. However, existing approaches to explain such models are frequently unique to data where the features do not have a time-varying component. In this paper, we introduce WindowSHAP, a model-agnostic framework for explaining time-series classifiers using Shapley values. We intend for WindowSHAP to mitigate the computational complexity of calculating Shapley values for long time-series data as well as improve the quality of explanations. WindowSHAP is based on partitioning a sequence into time windows. Under this framework, we present three distinct algorithms of Stationary, Sliding and Dynamic WindowSHAP, each evaluated against baseline approaches, KernelSHAP and TimeSHAP, using perturbation and sequence analyses metrics. We applied our framework to clinical time-series data from both a specialized clinical domain (Traumatic Brain Injury - TBI) as well as a broad clinical domain (critical care medicine). The experimental results demonstrate that, based on the two quantitative metrics, our framework is superior at explaining clinical time-series classifiers, while also reducing the complexity of computations. We show that for time-series data with 120 time steps (hours), merging 10 adjacent time points can reduce the CPU time of WindowSHAP by 80% compared to KernelSHAP. We also show that our Dynamic WindowSHAP algorithm focuses more on the most important time steps and provides more understandable explanations. As a result, WindowSHAP not only accelerates the calculation of Shapley values for time-series data, but also delivers more understandable explanations with higher quality.
Key facts. Cited by 24 papers in the map (data through 14 Oct 2026). Builds on 17 of its 38 references that are in the map. First posted on arXiv 11 Nov 2022.
Builds on
17 of 38 references.
References · 17
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2016RETAIN: An Interpretable Predictive Model for Healthcare using Reverse Time Attention Mechanismcited by 349
- 2019Explaining individual predictions when features are dependent: More accurate approximations to Shapley valuescited by 208
- 2017Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Modelscited by 206
- 2017Attend and Diagnose: Clinical Time Series Analysis using Attention Modelscited by 105
- 2020TimeSHAP: Explaining Recurrent Models through Sequence Perturbationscited by 74
- 2021Explainable Artificial Intelligence (XAI) on TimeSeries Data: A Surveycited by 72
- 2019Towards a Rigorous Evaluation of XAI Methods on Time Seriescited by 67
- 2019Exploring Interpretable LSTM Neural Networks over Multi-Variable Datacited by 42
- 2019Explainable artificial intelligence model to predict acute critical illness from electronic health recordscited by 42
5 more
- 2021groupShapley: Efficient prediction explanation with Shapley values for feature groupscited by 21
- 2019Input-Cell Attention Reduces Vanishing Saliency of Recurrent Neural Networkscited by 20
- 2021Ensembles of Random SHAPscited by 8
- 2021Feature Importance Explanations for Temporal Black-Box Modelscited by 7
- 2022An Empirical Comparison of Explainable Artificial Intelligence Methods for Clinical Data: A Case Study on Traumatic Brain Injurycited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 9; 2026: 12.
24 papers.
Sort:
By area:
- 2023Inherently Interpretable Time Series Classification via Multiple Instance Learningcited by 23
- 2024FLEXtime: Filterbank learning to explain time seriescited by 6
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Modelscited by 4
- 2025C-SHAP for time series: An approach to high-level temporal explanationscited by 3
- 2025HyMaTE: A Hybrid Mamba and Transformer Model for EHR Representation Learningcited by 3
- 2025From Prototypes to Sparse ECG Explanations: SHAP-Driven Counterfactuals for Multivariate Time-Series Multi-class Classificationcited by 3
- 2025ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification Modelscited by 3
- 2025An Unsupervised Deep Explainable AI Framework for Localization of Concurrent Replay Attacks in Nuclear Reactor Signalscited by 2
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformerscited by 2
- 2024Surrogate Modeling for Explainable Predictive Time Series Correctionscited by 1
- 2025Rating Quality of Diverse Time Series Data by Meta-learning from LLM Judgmentcited by 1
- 2026GroupSegment-SHAP: Shapley Value Explanations with Group-Segment Players for Multivariate Time Seriescited by 1
12 more
- 2025Explainable Unsupervised Multi-Anomaly Detection and Temporal Localization in Nuclear Times Series Data with a Dual Attention-Based Autoencodercited by 0
- 2025Lightweight Time Series Data Valuation on Time Series Foundation Models via In-Context Finetuningcited by 0
- 2026Explainable AI to Improve Machine Learning Reliability for Industrial Cyber-Physical Systemscited by 0
- 2026Interpretability in Deep Time Series Models Demands Semantic Alignmentcited by 0
- 2026ConTex: Reformulating Counterfactual Generation For Time Series Forecastingcited by 0
- 2026Autorelevance function and other feature relevance measures for univariate time seriescited by 0
- 2026Feature Attribution-Based Explainability Analysis of Deep Learning Models in Predictive Process Monitoringcited by 0
- 2026DynSHAP: Towards Explainable Dynamic Survival Analysiscited by 0
- 2026IMPACT-VLA: Interaction-aware Multimodal Propagation Attribution via Counterfactual Trajectories for Vision-Language-Action Policiescited by 0
- 2026Learnable Time-Frequency Masks for Explaining Time-Series Classifierscited by 0
- 2026A Hierarchy of Entropy-Shapley Games for Multivariate Predictive Uncertaintycited by 0
- 2026Detect, Explain, Interpret: An End-to-End Benchmark for Time Series Anomaly Detection, Explainability and Interpretabilitycited by 0
- 2026Detect, Explain, Interpret: An End-to-End Benchmark for Time Series Anomaly Detection, Explainability and Interpretability1 Oct 2026
- 2026A Hierarchy of Entropy-Shapley Games for Multivariate Predictive Uncertainty28 Sep 2026
- 2026Learnable Time-Frequency Masks for Explaining Time-Series Classifiers24 Sep 2026
- 2026IMPACT-VLA: Interaction-aware Multimodal Propagation Attribution via Counterfactual Trajectories for Vision-Language-Action Policies14 Sep 2026
- 2026DynSHAP: Towards Explainable Dynamic Survival Analysis11 Sep 2026
- 2026Feature Attribution-Based Explainability Analysis of Deep Learning Models in Predictive Process Monitoring20 Jul 2026
- 2026Autorelevance function and other feature relevance measures for univariate time series2 Jul 2026
- 2026ConTex: Reformulating Counterfactual Generation For Time Series Forecasting16 Jun 2026
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Models30 Apr 2026
- 2026Interpretability in Deep Time Series Models Demands Semantic Alignment2 Feb 2026
- 2026Explainable AI to Improve Machine Learning Reliability for Industrial Cyber-Physical Systems22 Jan 2026
- 2026GroupSegment-SHAP: Shapley Value Explanations with Group-Segment Players for Multivariate Time Series3 Jan 2026
12 more
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformers23 Dec 2025
- 2025Lightweight Time Series Data Valuation on Time Series Foundation Models via In-Context Finetuning10 Nov 2025
- 2025ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification Models23 Oct 2025
- 2025From Prototypes to Sparse ECG Explanations: SHAP-Driven Counterfactuals for Multivariate Time-Series Multi-class Classification22 Oct 2025
- 2025HyMaTE: A Hybrid Mamba and Transformer Model for EHR Representation Learning28 Sep 2025
- 2025Explainable Unsupervised Multi-Anomaly Detection and Temporal Localization in Nuclear Times Series Data with a Dual Attention-Based Autoencoder15 Sep 2025
- 2025An Unsupervised Deep Explainable AI Framework for Localization of Concurrent Replay Attacks in Nuclear Reactor Signals5 Aug 2025
- 2025Rating Quality of Diverse Time Series Data by Meta-learning from LLM Judgment2 Jun 2025
- 2025C-SHAP for time series: An approach to high-level temporal explanations15 Apr 2025
- 2024Surrogate Modeling for Explainable Predictive Time Series Corrections27 Dec 2024
- 2024FLEXtime: Filterbank learning to explain time series6 Nov 2024
- 2023Inherently Interpretable Time Series Classification via Multiple Instance Learning16 Nov 2023
- 2023Inherently Interpretable Time Series Classification via Multiple Instance Learningcited by 23
- 2024FLEXtime: Filterbank learning to explain time seriescited by 6
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Modelscited by 4
- 2025C-SHAP for time series: An approach to high-level temporal explanationscited by 3
- 2025From Prototypes to Sparse ECG Explanations: SHAP-Driven Counterfactuals for Multivariate Time-Series Multi-class Classificationcited by 3
- 2025ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification Modelscited by 3
- 2025An Unsupervised Deep Explainable AI Framework for Localization of Concurrent Replay Attacks in Nuclear Reactor Signalscited by 2
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformerscited by 2
- 2024Surrogate Modeling for Explainable Predictive Time Series Correctionscited by 1
- 2025Rating Quality of Diverse Time Series Data by Meta-learning from LLM Judgmentcited by 1
- 2026GroupSegment-SHAP: Shapley Value Explanations with Group-Segment Players for Multivariate Time Seriescited by 1
- 2025Explainable Unsupervised Multi-Anomaly Detection and Temporal Localization in Nuclear Times Series Data with a Dual Attention-Based Autoencodercited by 0
12 most cited of 22 All 22 (JSON)
- 2026Detect, Explain, Interpret: An End-to-End Benchmark for Time Series Anomaly Detection, Explainability and Interpretability1 Oct 2026
- 2026A Hierarchy of Entropy-Shapley Games for Multivariate Predictive Uncertainty28 Sep 2026
- 2026Learnable Time-Frequency Masks for Explaining Time-Series Classifiers24 Sep 2026
- 2026DynSHAP: Towards Explainable Dynamic Survival Analysis11 Sep 2026
- 2026Feature Attribution-Based Explainability Analysis of Deep Learning Models in Predictive Process Monitoring20 Jul 2026
- 2026Autorelevance function and other feature relevance measures for univariate time series2 Jul 2026
- 2026ConTex: Reformulating Counterfactual Generation For Time Series Forecasting16 Jun 2026
- 2026Explainable Load Forecasting with Covariate-Informed Time Series Foundation Models30 Apr 2026
- 2026Interpretability in Deep Time Series Models Demands Semantic Alignment2 Feb 2026
- 2026Explainable AI to Improve Machine Learning Reliability for Industrial Cyber-Physical Systems22 Jan 2026
- 2026GroupSegment-SHAP: Shapley Value Explanations with Group-Segment Players for Multivariate Time Series3 Jan 2026
- 2025Explainable time-series forecasting with sampling-free SHAP for Transformers23 Dec 2025
12 newest of 22 All 22 (JSON)