Implet: A Post-hoc Subsequence Explainer for Time Series Models
Fanyu Meng, Ziwen Kan, Shahbaz Rezaei, Zhaodan Kong, Xin Chen, Xin Liu
TL;DR
Implet addresses explainability in time series by post-hoc extracting salient subsequences from feature attributions. The method formalizes a subsequence score $s(l,r; x,w) = \left(\sum_{i=l}^{r} |w_i|\right) + \lambda (r-l+1)$ and enforces length bounds to produce non-overlapping implets; Coh-Implet clusters these into centroid explanations using a 2D DTW distance $d_{dtw}$ and DBA to summarize cohorts. Empirical evaluations on 13 UCR datasets with FCN and InceptionTime show that Implet explanations are faithful to the model and more concise than baselines, with Coh-Implet centroids preserving predictive factors. The code is open-sourced and the approach generalizes to higher-dimensional data. The work advances time-series XAI by delivering a scalable post-hoc, subsequence-level explanation framework and releasing open-source code.
Abstract
Explainability in time series models is crucial for fostering trust, facilitating debugging, and ensuring interpretability in real-world applications. In this work, we introduce Implet, a novel post-hoc explainer that generates accurate and concise subsequence-level explanations for time series models. Our approach identifies critical temporal segments that significantly contribute to the model's predictions, providing enhanced interpretability beyond traditional feature-attribution methods. Based on it, we propose a cohort-based (group-level) explanation framework designed to further improve the conciseness and interpretability of our explanations. We evaluate Implet on several standard time-series classification benchmarks, demonstrating its effectiveness in improving interpretability. The code is available at https://github.com/LbzSteven/implet
