Lune

NeurIPS2025Top-tier venue

ShapeX: Shapelet-Driven Post Hoc Explanations for Time Series Classification Models

Bosong Huang, Ming Jin, Yuxuan Liang, Johan Barthelemy, Debo Cheng, Qingsong Wen, Chenghao Liu, Shirui Pan

Abstract

Explaining time series classification models is crucial, particularly in high-stakes applications such as healthcare and finance, where transparency and trust play a critical role. Although numerous time series classification methods have identified key subsequences, known as shapelets, as core features for achieving stateof-the-art performance and validating their pivotal role in classification outcomes, existing post-hoc time series explanation (PHTSE) methods primarily focus on timestep-level feature attribution. These explanation methods overlook the fundamental prior that classification outcomes are predominantly driven by key shapelets. To bridge this gap, we present SHAPEX, an innovative framework that segments time series into meaningful shapelet-driven segments and employs Shapley values to assess their saliency. At the core of SHAPEX lies the Shapelet Describe-and-Detect (SDD) framework, which effectively learns a diverse set of shapelets essential for classification. We further demonstrate that SHAPEX produces explanations which reveal causal relationships instead of just correlations, owing to the atomicity properties of shapelets. Experimental results on both synthetic and real-world datasets demonstrate that SHAPEX outperforms existing methods in identifying the most relevant subsequences, enhancing both the precision and causal fidelity of time series explanations. Our code is made available at https://github.com/BosonHwang/ShapeX

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Improving Deep Learning Interpretability by Saliency Guided Training cites Benchmarking Deep Learning Interpretability in Time Series Predictions
  • Unified Time Series Explanations via Amortized Optimization and Instance-level Multi-Expert Knowledge Distillation cites Explaining Time Series Predictions with Dynamic Masks
  • Unified Time Series Explanations via Amortized Optimization and Instance-level Multi-Expert Knowledge Distillation cites A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
  • Explaining Time Series Predictions with Dynamic Masks cites Benchmarking Deep Learning Interpretability in Time Series Predictions
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Rating Quality of Diverse Time Series Data by Meta-learning from LLM JudgmentShunyu Wu, Dan Li, Wenjie Feng, Haozheng Ye et al.ICLR 2026 · 2 citations
  2. Unified Time Series Explanations via Amortized Optimization and Instance-level Multi-Expert Knowledge DistillationViet-Hung Tran, Zichi Zhang, Ngoc Doan, Xuan Hoang Nguyen et al.ICML 2026

Builds on16

  1. A Time Series is Worth 64 Words: Long-term Forecasting with TransformersYuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant KalagnanamICLR 2023 · 536 citations
  2. Benchmarking Deep Learning Interpretability in Time Series PredictionsAya Abdelsalam Ismail, Mohamed K. Gunady, Héctor Corrada Bravo, Soheil FeiziNeurIPS 2020 · 249 citations
  3. Improving Deep Learning Interpretability by Saliency Guided TrainingAya Abdelsalam Ismail, Héctor Corrada Bravo, Soheil FeiziNeurIPS 2021 · 121 citations
  4. Explaining Time Series Predictions with Dynamic MasksJonathan Crabbé, Mihaela van der SchaarICML 2021 · 115 citations
  5. What went wrong and when? Instance-wise feature importance for time-series black-box modelsSana Tonekaboni, Shalmali Joshi, Kieran Campbell, David Duvenaud et al.NeurIPS 2020 · 94 citations

Related papers

  1. Learning Soft Sparse Shapes for Efficient Time-Series ClassificationZhen Liu, Yicheng Luo, Boyuan Li, Emadeldeen Eldele et al.ICML 2025
  2. TSec: An Efficient and Effective Framework for Time Series ClassificationYuanyuan Yao, Hailiang Jie, Lu Chen, Tianyi Li et al.ICDE 2024 · 7 citations
  3. Diffusion Language-Shapelets for Semi-supervised Time-Series ClassificationZhen Liu, Wenbin Pei, Disen Lan, Qianli MaAAAI 2024 · 24 citations
  4. 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
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines