Mekonnen Ephrem Tibebe, Longo Luca, Dondio Pierpaolo
School of Computer Science, College of Health and Science, Technological University Dublin, Dublin, Ireland.
Artificial Intelligence and Cognitive Load Research Lab, Technological University Dublin, Dublin, Ireland.
Front Artif Intell. 2024 Sep 20;7:1381921. doi: 10.3389/frai.2024.1381921. eCollection 2024.
Time series classification is a challenging research area where machine learning and deep learning techniques have shown remarkable performance. However, often, these are seen as black boxes due to their minimal interpretability. On the one hand, there is a plethora of eXplainable AI (XAI) methods designed to elucidate the functioning of models trained on image and tabular data. On the other hand, adapting these methods to explain deep learning-based time series classifiers may not be straightforward due to the temporal nature of time series data. This research proposes a novel global explainable method for unearthing the key time steps behind the inferences made by deep learning-based time series classifiers. This novel approach generates a decision tree graph, a specific set of rules, that can be seen as explanations, potentially enhancing interpretability. The methodology involves two major phases: (1) training and evaluating deep-learning-based time series classification models, and (2) extracting parameterized primitive events, such as increasing, decreasing, local max and local min, from each instance of the evaluation set and clustering such events to extract prototypical ones. These prototypical primitive events are then used as input to a decision-tree classifier trained to fit the model predictions of the test set rather than the ground truth data. Experiments were conducted on diverse real-world datasets sourced from the UCR archive, employing metrics such as accuracy, fidelity, robustness, number of nodes, and depth of the extracted rules. The findings indicate that this global method can improve the global interpretability of complex time series classification models.
时间序列分类是一个具有挑战性的研究领域,机器学习和深度学习技术在该领域展现出了卓越的性能。然而,由于其可解释性极低,这些技术常常被视为黑箱。一方面,有大量的可解释人工智能(XAI)方法旨在阐释基于图像和表格数据训练的模型的运行机制。另一方面,由于时间序列数据的时间特性,将这些方法应用于解释基于深度学习的时间序列分类器可能并非易事。本研究提出了一种新颖的全局可解释方法,用于挖掘基于深度学习的时间序列分类器推理背后的关键时间步长。这种新颖的方法生成一个决策树图,即一组特定的规则,可被视为解释,有可能增强可解释性。该方法包括两个主要阶段:(1)训练和评估基于深度学习的时间序列分类模型,以及(2)从评估集的每个实例中提取参数化的原始事件,如增加、减少、局部最大值和局部最小值,并对这些事件进行聚类以提取原型事件。然后,将这些原型原始事件用作决策树分类器的输入,该分类器经过训练以拟合测试集的模型预测而非真实数据。使用来自UCR存档的各种真实世界数据集进行了实验,采用了诸如准确率、保真度、鲁棒性、节点数量和提取规则的深度等指标。研究结果表明,这种全局方法可以提高复杂时间序列分类模型的全局可解释性。