Evaluation of post-hoc interpretability methods in time-series classification
Hugues Turbé, Mina Bjelogrlic, Christian Lovis, Gianmarco Mengaldo
TL;DR
This work introduces a model-agnostic framework to quantitatively evaluate post-hoc interpretability methods for time-series classification, addressing key challenges such as dependence on human judgement, retraining, and distribution shift during occlusion. It defines two metrics, $AUC\tilde{S}_{\textrm{top}}$ and $F1\tilde{S}$, to assess relevance identification and supports their interpretation with TIC-based attribution curves, all while avoiding retraining. A new tunable synthetic, multivariate dataset complements experiments on Ford A and ECG across CNN, Bi-LSTM, and Transformer architectures, yielding robust rankings of interpretability methods. Across datasets, Shapley Value Sampling consistently yields the best relevance identification, with Integrated Gradients and DeepLiftShap excelling in specific settings, providing practical guidance for deploying reliable post-hoc explanations in high-stakes domains. The work also provides a theoretical link between attribution and information content, and releases code within the InterpretTime framework to foster adoption and benchmarking in real-world workflows.
Abstract
Post-hoc interpretability methods are critical tools to explain neural-network results. Several post-hoc methods have emerged in recent years, but when applied to a given task, they produce different results, raising the question of which method is the most suitable to provide correct post-hoc interpretability. To understand the performance of each method, quantitative evaluation of interpretability methods is essential. However, currently available frameworks have several drawbacks which hinders the adoption of post-hoc interpretability methods, especially in high-risk sectors. In this work, we propose a framework with quantitative metrics to assess the performance of existing post-hoc interpretability methods in particular in time series classification. We show that several drawbacks identified in the literature are addressed, namely dependence on human judgement, retraining, and shift in the data distribution when occluding samples. We additionally design a synthetic dataset with known discriminative features and tunable complexity. The proposed methodology and quantitative metrics can be used to understand the reliability of interpretability methods results obtained in practical applications. In turn, they can be embedded within operational workflows in critical fields that require accurate interpretability results for e.g., regulatory policies.
