IDEAS home Printed from https://ideas.repec.org/a/hin/complx/8694851.html

MedXpert-AI: Context-Aware and Explainable Deep Learning Framework for Intelligent ECG Interpretation

Author

Listed:
  • Anto Lourdu Xavier Raj Arockia Selvarathinam
  • Sarita Simaiya
  • Abdullah M. Baqasah
  • Roobaea Alroobaea
  • Majed Alsafyani
  • Alharbi Khalid
  • T. Hiyab Tekale

Abstract

Cardiovascular diseases remain a major cause of morbidity and mortality worldwide, creating a need for accurate and interpretable automated electrocardiogram (ECG) analysis. Although deep learning has demonstrated strong performance in ECG interpretation, many existing approaches primarily rely on data-driven representations and provide limited integration of structured clinical knowledge and model-level interpretability. This study presents MedXpert-AI, a context-aware and explainable hybrid framework for 27-label multilabel ECG classification. The framework integrates CNN-, BiLSTM-, and transformer-based multilevel feature learning with clinical knowledge representation comprising a medical knowledge graph and rule-based clinical reasoning. A graph neural network (GNN) is employed to learn knowledge-guided representations, while adaptive attention feature fusion (AAFF) adaptively integrates ECG-derived and clinical representations for final diagnostic prediction. SHAP, Grad-CAM, and transformer attention heatmaps are incorporated to provide complementary model-level explanations. The framework was evaluated using 43,101 12-lead ECG recordings from the PhysioNet/Computing in Cardiology (CinC) 2020 dataset, comprising 27 scored diagnostic labels. For the primary multilabel evaluation, MedXpert-AI achieved 98.85% AUROC, 97.64% AUPRC, 97.20% Macro F1, 97.46% Micro F1, and 0.94 MCC. Controlled ablation experiments showed performance reductions following removal of the GNN, transformer, and clinical knowledge representation modules, as well as replacement of AAFF with simple feature concatenation. Computational analysis further demonstrated a relatively low resource requirement under the evaluated experimental conditions, with approximately 2.3 billion FLOPs and 1.5 GB GPU memory usage. The explainability analysis provided complementary visualizations of feature attribution, activation localization, and temporal attention, although formal clinician-based validation of explanation quality was not performed. These findings support MedXpert-AI as a knowledge-aware and explainable framework for automated multilabel ECG analysis, while external multicenter and prospective clinical validation remain necessary to establish generalizability and clinical utility.

Suggested Citation

  • Anto Lourdu Xavier Raj Arockia Selvarathinam & Sarita Simaiya & Abdullah M. Baqasah & Roobaea Alroobaea & Majed Alsafyani & Alharbi Khalid & T. Hiyab Tekale, 2026. "MedXpert-AI: Context-Aware and Explainable Deep Learning Framework for Intelligent ECG Interpretation," Complexity, Hindawi, vol. 2026, pages 1-41, October.
  • Handle: RePEc:hin:complx:8694851
    DOI: 10.1155/cplx/8694851
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/complexity/2026/8694851.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/complexity/2026/8694851.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/cplx/8694851?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:hin:complx:8694851. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.