Explaining Time Series via Contrastive and Locally Sparse Perturbations
Zichuan Liu, Yingying Zhang, Tianchun Wang, Zefan Wang, Dongsheng Luo, Mengnan Du, Min Wu, Yi Wang, Chunlin Chen, Lunting Fan, Qingsong Wen
Abstract
Explaining multivariate time series is a compound challenge, as it requires identifying important locations in the time series and matching complex temporal patterns. Although previous saliency-based methods addressed the challenges, their perturbation may not alleviate the distribution shift issue, which is inevitable especially in heterogeneous samples. We present ContraLSP, a locally sparse model that introduces counterfactual samples to build uninformative perturbations but keeps distribution using contrastive learning. Furthermore, we incorporate sample-specific sparse gates to generate more binary-skewed and smooth masks, which easily integrate temporal trends and select the salient features parsimoniously. Empirical studies on both synthetic and real-world datasets show that ContraLSP outperforms state-of-the-art models, demonstrating a substantial improvement in explanation quality for time series data. The source code is available at https://github.com/zichuan-liu/ContraLSP.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ae9cdb5b-2d21-456e-a38e-4b9a8e8da9d1Cited by top-tier papers12
- Protecting Your LLMs with Information BottleneckZichuan Liu, Zefan Wang, Linjie Xu, Jinyu Wang et al.NeurIPS 2024 · 43 citations
- TimeX++: Learning Time-Series Explanations with Information BottleneckZichuan Liu, Tianchun Wang, Jimeng Shi, Xu Zheng et al.ICML 2024 · 33 citations
- ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification ModelsBosong Huang, Ming Jin, Yuxuan Liang, Johan Barthelemy et al.NeurIPS 2025 · 8 citations
- MIX: A Multi-view Time-Frequency Interactive Explanation Framework for Time Series ClassificationViet-Hung Tran, Ngoc Phu Doan, Zichi Zhang, Tuan Dung Pham et al.NeurIPS 2025 · 3 citations
- Delta-XAI: A Unified Framework for Explaining Prediction Changes in Online Time Series MonitoringChanghun Kim, Yechan Mun, Hyeongwon Jang, Eunseo Lee et al.ICLR 2026 · 2 citations
Builds on19
- Understanding Deep Networks via Extremal Perturbations and Smooth MasksRuth Fong, Mandela Patrick, Andrea VedaldiICCV 2019 · 480 citations
- Benchmarking Deep Learning Interpretability in Time Series PredictionsAya Abdelsalam Ismail, Mohamed K. Gunady, Héctor Corrada Bravo, Soheil FeiziNeurIPS 2020 · 249 citations
- ShapeNet: A Shapelet-Neural Network Approach for Multivariate Time Series ClassificationGuozhong Li, Byron Choi, Jianliang Xu, Sourav S. Bhowmick et al.AAAI 2021 · 177 citations
- The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance ExplanationsPeter Hase, Harry Xie, Mohit BansalNeurIPS 2021 · 121 citations
- Explaining Time Series Predictions with Dynamic MasksJonathan Crabbé, Mihaela van der SchaarICML 2021 · 115 citations
Related papers
- Learning Perturbations to Explain Time Series PredictionsJoseph EnguehardICML 2023 · 29 citations
- Counterfactual-based Saliency Map: Towards Visual Contrastive Explanations for Neural NetworksXue Wang, Zhibo Wang, Haiqin Weng, Hengchang Guo et al.ICCV 2023 · 15 citations
- TimeSAE: Causal Sparse Decoding for Faithful Explanations of Black-Box Time Series ModelsKhalid Oublal, Quentin Bouniot, Qi Gan, Stephan Clemencon et al.ICML 2026 · 2 citations
- Counterfactual eXplainable AI (XAI) Method for Deep Learning-Based Multivariate Time Series ClassificationAlan G. Paredes Cetina, Kaouther Benguessoum, Raoni Lourenço, Sylvain KublerAAAI 2026
- Self-Interpretable Time Series Prediction with Counterfactual ExplanationsJingquan Yan, Hao WangICML 2023 · 29 citations
