arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.19514cs.LGcs.AIcs.HC

从原型到稀疏ECG解释:基于SHAP的反事实解释用于多变量时间序列多类分类

From Prototypes to Sparse ECG Explanations: SHAP-Driven Counterfactuals for Multivariate Time-Series Multi-class Classification

Jagiellonian Human-Centered AI Lab, Mark Kac Center for Complex Systems Research(杰哥利昂人中心人工智能实验室、马克·卡复杂系统研究中心);Jagiellonian University(杰哥利昂大学);Department of Computer Science(计算机科学系);Norwegian University of Science and Technology (NTNU)(挪威科学技术大学(NTNU));Department of Human-Centered Artificial Intelligence(人中心人工智能系);Institute of Applied Computer Science(应用计算机科学研究所);School of Information Technology(信息科技学院)

Maciej Mozolewski, Betül Bayrak, Kerstin Bach, Grzegorz J. Nalepa

AI总结:

本文提出基于SHAP的原型驱动框架,用于生成稀疏且有效的ECG反事实解释,提升多变量时间序列多类分类的可解释性与临床实用性。

摘要:

在可解释人工智能(XAI)中,基于实例的时序解释因其在医疗等领域的潜在应用而受到越来越多的关注。为了解决现有模型可解释性的问题,我们提出了一种原型驱动的框架,用于生成针对12导联ECG分类模型的稀疏反事实解释。我们的方法利用基于SHAP的阈值来识别关键信号段并将其转换为区间规则,使用动态时间规整(DTW)和medoid聚类来提取代表性原型,并将这些原型对齐到查询R峰以与被解释的样本保持一致。该框架生成的反事实解释仅修改原始信号的78%,在所有类别中保持81.3%的有效性,并在时间稳定性上实现43%的提升。我们评估了三种变体:原始、稀疏和对齐稀疏。在类别特定性能方面,从心肌梗死(MI)的98.9%有效性到肥厚(HYP)检测的挑战(13.2%)。这种方法支持近实时生成(<1秒)临床有效的反事实解释,并为交互式解释平台提供了基础。我们的发现确立了在AI诊断系统中生理感知反事实解释的设计原则,并概述了通往用户控制解释界面的临床部署路径。

英文摘要:

In eXplainable Artificial Intelligence (XAI), instance-based explanations for time series have gained increasing attention due to their potential for actionable and interpretable insights in domains such as healthcare. Addressing the challenges of explainability of state-of-the-art models, we propose a prototype-driven framework for generating sparse counterfactual explanations tailored to 12-lead ECG classification models. Our method employs SHAP-based thresholds to identify critical signal segments and convert them into interval rules, uses Dynamic Time Warping (DTW) and medoid clustering to extract representative prototypes, and aligns these prototypes to query R-peaks for coherence with the sample being explained. The framework generates counterfactuals that modify only 78% of the original signal while maintaining 81.3% validity across all classes and achieving 43% improvement in temporal stability. We evaluate three variants of our approach, Original, Sparse, and Aligned Sparse, with class-specific performance ranging from 98.9% validity for myocardial infarction (MI) to challenges with hypertrophy (HYP) detection (13.2%). This approach supports near realtime generation (< 1 second) of clinically valid counterfactuals and provides a foundation for interactive explanation platforms. Our findings establish design principles for physiologically-aware counterfactual explanations in AI-based diagnosis systems and outline pathways toward user-controlled explanation interfaces for clinical deployment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑