Unified time series classification framework for explainable artificial intelligence
摘要
The growing complexity of machine learning (ML) models has made their decision-making processes increasingly opaque, posing a critical challenge in high-stakes domains where trust, transparency, and accountability are essential. While Explainable Artificial Intelligence (XAI) techniques attempt to mitigate this issue, most existing approaches exhibit important limitations when applied to time series data due to its inherently sequential, dynamic, and context-dependent structure. In this work, we introduce the Unified Time Series Classification Framework for Explainable Artificial Intelligence (UTS-XAI), which integrates a standard classification pipeline with comprehensive, time-aware XAI evaluation metrics, such as faithfulness, robustness, sensitivity, stability, and localization. The framework supports multiple explanation methods, such as SHAP, LIME, and Saliency Maps, and enables their systematic comparison using adapted versions of widely used XAI metrics (faithfulness, robustness, sensitivity, and stability) reinterpreted for temporal data. We further propose Global Interpretable Clustering (GIC), a visualization technique designed to evaluate the consistency of feature attributions across different explainers and model architectures. Experiments on the MIT-BIH, SVDB, and INCART datasets show that DeepConvLSTM achieved robust baseline performance, maintaining an F1-score of 93.5% on the external INCART test set. Our quantitative analysis reveals that globally consistent methods such as SHAP significantly outperform localized techniques such as LIME and Saliency Maps. SHAP exhibits extreme faithfulness; ablating its top 10% of identified features collapses models’ true positive detection rates from