Explainable Federated Learning for Multi-Class Heart Disease Diagnosis via ECG Fiducial Features

Tanjila Alam Sathi1, Rafsan Jany1, Akm Azad2,3

  • 1Department of Computer Science and Engineering, Islamic University of Technology (IUT), Gazipur 1704, Bangladesh.

PubMed

Insights

This study introduces an explainable federated learning framework for diagnosing heart conditions using electrocardiograms (ECGs). The model achieves high accuracy in classifying arrhythmia and ischemia while ensuring patient privacy and providing interpretable results.

Area of Science:

  • Artificial Intelligence in Medicine
  • Cardiology
  • Machine Learning for Healthcare

Background:

  • Cardiovascular disease (CVD) is a major global health concern, necessitating accurate and timely diagnosis.
  • Electrocardiograms (ECGs) are crucial for assessing cardiac function but are challenging to interpret across diverse datasets.
  • Patient privacy is a significant barrier to collaborative analysis of sensitive health data.

Purpose of the Study:

  • To develop an explainable federated learning (FL) framework for multi-class heart disease classification using ECGs.
  • To enable collaborative analysis of ECG data across multiple institutions while preserving patient privacy.
  • To enhance the interpretability of AI models in cardiac diagnosis.

Main Methods:

  • Implementation of a federated learning framework integrated with long short-term memory (FL-LSTM) networks.
  • Training and evaluation on three heterogeneous ECG datasets for classifying arrhythmia, ischemia, and healthy states.
  • Application of SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) for model interpretability.

Main Results:

  • Achieved 92% accuracy, 99% AUC, and 91% F1 score in heart disease classification.
  • Demonstrated superior performance compared to existing federated approaches.
  • Identified key ECG biomarkers (e.g., P-wave, R-wave, QRS, RR, QT intervals) contributing to classification.

Conclusions:

  • The FL-LSTM framework offers a secure and effective method for collaborative cardiac diagnosis in distributed settings.
  • Explainable AI techniques provide transparency, facilitating clinical decision-making.
  • The integration of temporal modeling, federated learning, and interpretable AI advances diagnostic capabilities for cardiovascular diseases.

Related Concept Videos

Heart Failure IV: Classification and Diagnostic Evaluation01:30

Heart Failure IV: Classification and Diagnostic Evaluation

Heart failure can be classified in various ways, with the most common classifications based on physical activity limitations, disease progression, severity, and treatment strategies.The Functional Classification of Heart Failure divides patients into four categories based on physical activity limitation due to symptom burden.Class I: Patients in this class have cardiac disease but no physical activity limitations. Ordinary activities like walking, climbing stairs, or routine tasks do not cause...
290
Electrocardiogram Fundamentals01:28

Electrocardiogram Fundamentals

Introduction
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
1.3K
Correlation between ECG and Cardiac Cycle01:25

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the cardiac cycle.
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
11.5K
Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
5.2K
Imaging Studies for Cardiovascular System I:Echocardiography01:17

Imaging Studies for Cardiovascular System I:Echocardiography

Cardiac imaging studies encompass a wide range of noninvasive and minimally invasive techniques designed to visualize the heart's structure and function in detail. One such technique is echocardiography, which uses high-frequency ultrasound waves to produce detailed images of the heart, known as echocardiograms.
Indications: Echocardiography is utilized to diagnose heart failure, valve disorders, and myocardial infarction. It also assesses cardiac structures' size, shape, and motion,...
699
Cardiomyopathy I: Introduction and Classification01:25

Cardiomyopathy I: Introduction and Classification

Cardiomyopathy, or CMP, is a group of diseases affecting the myocardial structure, impairing its ability to pump blood effectively. This condition can lead to arrhythmias, heart failure, or sudden cardiac death.Cardiomyopathies are classified into primary and secondary categories:Primary Cardiomyopathy refers to conditions involving only the heart muscle that are often idiopathic (of unknown cause) or genetic. They primarily affect the myocardium without the involvement of other systemic...
471