Unifying Prediction and Explanation in Time-Series Transformers via Shapley-based Pretraining
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose ShapTST, a framework that enables time-series transformers to efficiently generate Shapley-value-based explanations alongside predictions in a single forward pass. Shapley values are widely used to evaluate the contribution of different time-steps and features in a test sample, and are commonly generated through repeatedly inferring on each sample with different parts of information removed. Therefore, it requires expensive inference-time computations that occur at every request for model explanations. In contrast, our framework unifies the explanation and prediction in training through a novel Shapley-based pre-training design, which eliminates the undesirable test-time computation and replaces it with a single-time pre-training. Moreover, this specialized pre-training benefits the prediction performance by making the transformer model more effectively weigh different features and time-steps in the time-series, particularly improving the robustness against data noise that is common to raw time-series data. We experimentally validated our approach on eight public datasets, where our time-series model achieved competitive results in both classification and regression tasks, while providing Shapley-based explanations similar to those obtained with post-hoc computation. Our work offers an efficient and explainable solution for time-series analysis tasks in the safety-critical applications.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 25 Jan 2025.
Builds on
20 of 36 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2020What Makes for Good Views for Contrastive Learning?cited by 843
- 2018Deep learning for time series classification: a reviewcited by 575
- 2022Transformers in Time Series: A Surveycited by 489
- 2020A Transformer-based Framework for Multivariate Time Series Representation Learningcited by 449
- 2019Financial Time Series Forecasting with Deep Learning : A Systematic Literature Review: 2005-2019cited by 270
- 2020Evaluating and Aggregating Feature-based Model Explanationscited by 185
- 2020Improving KernelSHAP: Practical Shapley Value Estimation via Linear Regressioncited by 153
- 2021SCARF: Self-Supervised Contrastive Learning using Random Feature Corruptioncited by 151
8 more
- 2021FastSHAP: Real-Time Shapley Value Estimationcited by 123
- 2020Benchmarking Deep Learning Interpretability in Time Series Predictionscited by 102
- 2016DeepSense: A Unified Deep Learning Framework for Time-Series Mobile Sensing Data Processingcited by 84
- 2023Time Series as Images: Vision Transformer for Irregularly Sampled Time Seriescited by 79
- 2020TimeSHAP: Explaining Recurrent Models through Sequence Perturbationscited by 73
- 2019Adversarial Attacks on Time Seriescited by 40
- 2016Online Decorrelation of Humidity and Temperature in Chemical Sensors for Continuous Monitoringcited by 8
- 2024Enhancing Eye-Tracking Performance through Multi-Task Learning Transformercited by 3
Built on by
Citing papers per year: 2025: 4; 2026: 1.
5 papers.
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainabilitycited by 6
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimationscited by 3
- 2025Rating Quality of Diverse Time Series Data by Meta-learning from LLM Judgmentcited by 1
- 2025RecMind: LLM-Enhanced Graph Neural Networks for Personalized Consumer Recommendationscited by 0
- 2025Lightweight Time Series Data Valuation on Time Series Foundation Models via In-Context Finetuningcited by 0
- 2026ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimations30 Jan 2026
- 2025Lightweight Time Series Data Valuation on Time Series Foundation Models via In-Context Finetuning10 Nov 2025
- 2025RecMind: LLM-Enhanced Graph Neural Networks for Personalized Consumer Recommendations8 Sep 2025
- 2025Revisiting LRP: Positional Attribution as the Missing Ingredient for Transformer Explainability2 Jun 2025
- 2025Rating Quality of Diverse Time Series Data by Meta-learning from LLM Judgment2 Jun 2025