A novel XAI framework for explainable AI-ECG using generative counterfactual XAI (GCX).

Journal: Scientific reports
Published Date:

Abstract

Generative Counterfactual Explainable Artificial Intelligence (XAI) offers a novel approach to understanding how AI models interpret electrocardiograms (ECGs). Traditional explanation methods focus on highlighting important ECG segments but often fail to clarify why these segments matter or how their alteration affects model predictions. In contrast, the proposed framework explores "what-if" scenarios, generating counterfactual ECGs that increase or decrease a model's predictive values. This approach has the potential to increase clinicians' trust specific changes-such as increased T wave amplitude or PR interval prolongation-influence the model's decisions. Through a series of validation experiments, the framework demonstrates its ability to produce counterfactual ECGs that closely align with established clinical knowledge, including characteristic alterations associated with potassium imbalances and atrial fibrillation. By clearly visualizing how incremental modifications in ECG morphology and rhythm affect artificial intelligence-applied ECG (AI-ECG) predictions, this generative counterfactual method moves beyond static attribution maps and has the potential to increase clinicians' trust in AI-ECG systems. As a result, this approach offers a promising path toward enhancing the explainability and clinical reliability of AI-based tools for cardiovascular diagnostics.

Authors

  • Jong-Hwan Jang
    Department of Biomedical Informatics, Ajou University School of Medicine, Suwon, Korea.
  • Yong-Yeon Jo
    Medical research team, Medical AI, Seoul, South Korea.
  • Sora Kang
    Innovative Medical Technology Research Institute, Seoul National University Hospital, Seoul, Korea (Drs Jung, Ms Kang, Drs Son and H Lee, Ms Han, Ms Yoo, Drs Kwon, M Lee, and S Lee).
  • Jeong Min Son
    Innovative Medical Technology Research Institute, Seoul National University Hospital, Seoul, Korea (Drs Jung, Ms Kang, Drs Son and H Lee, Ms Han, Ms Yoo, Drs Kwon, M Lee, and S Lee).
  • Hak Seung Lee
    Innovative Medical Technology Research Institute, Seoul National University Hospital, Seoul, Korea (Drs Jung, Ms Kang, Drs Son and H Lee, Ms Han, Ms Yoo, Drs Kwon, M Lee, and S Lee).
  • Joon-Myoung Kwon
    Department of Emergency Medicine, Mediplex Sejong Hospital, Incheon, Korea.
  • Min Sung Lee
    Innovative Medical Technology Research Institute, Seoul National University Hospital, Seoul, Korea (Drs Jung, Ms Kang, Drs Son and H Lee, Ms Han, Ms Yoo, Drs Kwon, M Lee, and S Lee). Electronic address: lylm85@gmail.com.