An Explainable Federated Learning Approach for Heart Disease Classification

dc.contributor.authorSathi, Tanjila Alam
dc.date.accessioned2026-07-28T10:00:26Z
dc.date.issued2025-10-25
dc.descriptionSupervised by Dr. Md. Azam Hossain, Associate Professor, Department of Computer Science and Engineering (CSE) Islamic University of Technology (IUT) Board Bazar, Gazipur, Bangladesh. This thesis is submitted in partial fulfillment of the requirement for the degree of Master of Science in Computer Science and Engineering, 2025
dc.description.abstractCardiovascular disease (CVD) is a life-threatening medical condition that affects the heart and blood vessels, leading to substantial financial and social burdens. Electro cardiograms (ECG) are extensively used to detect and treat heart diseases as these are rapid, secure, non-invasive, and cost-effective. The ECG signal has several segments, including the P-wave, QRS complex, QT interval, ST segment, and T-wave, together with the associated onset, offset, and peak points referred to as fiducial points. Ab normalities in these components can be indicative of various heart diseases. Medical professionals face challenges when using the conventional approach to ECG record ing, including comprehending the intricate nature of the ECG to interpret, dealing with signal interference, and handling the frequent coexistence of other health conditions alongside heart disease. However, accurate identification of fiducial points associated with the ECG wave is crucial for proper assessment of heart disease. To automate the diagnosis of heart diseases by analyzing ECG signals, various machine learning and deep learning classification models are used where data must be centralized. The majority of contemporary research encounters challenges due to data privacy, limited dataset, and lack of collaboration and proper explanation of the result. To address these challenges, this thesis presents an explainable federated learning model for the classi fication of heart disease using ECG fiducial features. This approach is the first of its kind to classify three distinct heart conditions: arrhythmia, ischemia and healthy states while ensuring both data privacy, as well as the interpretability of the outcome. We in troduced two models for classifying three distinct heart conditions: Federated Learning with Artificial Neural Networks (FL-ANN) and Federated learning with long-short term memory (FL-LSTM), which achieved impressive accuracies of 87% and 90%, respectively. In addition, explainable artificial intelligence(XAI) models can improve trust by providing visual interpretations of their results and decisions. The proposed explainable models highlighted the fiducial features of the ECG, including P-wave height (P-H), R-wave height (R-H), the QRS complex, heart rate (HR), QT interval, and corrected QT interval (QTc), which provide invaluable insights into the heart’s electrical activity, serve as vital markers for cardiac disorders, and significantly im prove diagnostic precision. Our explainable federated learning models facilitate data collaboration while safeguarding the privacy of sensitive information. By ensuring the explainability of the outcome, these models are designed to support healthcare profes sionals, helping them make better and more accurate diagnostic decisions.
dc.identifier.citation[1] (2024) Harley Street Heart and Vascular Centre. [Online]. Available: https://www.harleystreet.sg/kb/about-heart-disease/arrhythmia/ [2] (2024) Cleveland Clinic. [Online]. Available: https://my.clevelandclinic.org/ health/diseases/ischemia [3] A. Rawshani, “The ECG Leads: Electrodes, Limb Leads, Chest (Precordial) Leads, 12-Lead ECG (EKG),” ECG Learning, vol. 29, 2017. [4] J. Park, J. An, J. Kim, S. Jung, Y. Gil, Y. Jang, K. Lee, and I.-y. Oh, “Study on the Use of Standard 12-Lead ECG Data for Rhythm-type ECG Classification Prob lems,” Computer Methods and Programs in Biomedicine, vol. 214, p. 106521, 2022. [5] R. J. Oweis and B. O. Al-Tabbaa, “QRS Detection and Heart Rate Variability Analysis: A Survey,” Biomed. Sci. Eng, vol. 2, no. 1, p. 13, 2014. [6] T. A. Sathi, R. Jany, R. Z. Ela, A. Azad, S. A. Alyami, M. A. Hossain, and I. Hus sain, “An Interpretable Electrocardiogram-based Model for predicting Arrhyth mia and Ischemia in Cardiovascular Disease,” Results in Engineering, vol. 24, p. 103381, 2024. [7] A. Raza, K. P. Tran, L. Koehl, and S. Li, “Designing ECG Monitoring Health care System with Federated Transfer Learning and Explainable AI,” Knowledge Based Systems, vol. 236, p. 107763, 2022. [8] (2023) WORLD HEART VISION 2030: DRIVING POLICY CHANGE. [Online]. Available: https://world-heart-federation.org/world-heart-vision-2030/ [9] S. Don, D. Chung, D. Min, and E. Choi, “Analysis of Electrocardiogram Signals of Arrhythmia and Ischemia using Fractal and Statistical Features,” Journal of Mechanics in Medicine and Biology, vol. 13, no. 01, p. 1350008, 2013. [10] Y. M. Ayano, F. Schwenker, B. D. Dufera, and T. G. Debelee, “Interpretable Machine Learning Techniques in ECG-based Heart Disease Classification: A Systematic Review,” Diagnostics, vol. 13, no. 1, p. 111, 2022. 57 [11] T. W. Bae and K. K. Kwon, “ECG PQRST Complex Detector and Heart Rate Variability Analysis using Temporal Characteristics of Fiducial Points,” Biomed ical Signal Processing and Control, vol. 66, p. 102291, 2021. [12] I. Hussain and S. J. Park, “Big-ECG: Cardiographic Predictive Cyber-Physical System for Stroke Management,” IEEE Access, vol. 9, p. 123146, 2021. [13] M. S. Islam, I. Hussain, M. M. Rahman, S. J. Park, and M. A. Hossain, “Ex plainable Artificial Intelligence Model for Stroke Prediction using EEG Signal,” Sensors, vol. 22, no. 24, p. 9859, 2022. [14] I. Hussain and S. J. Park, “HealthSOS: Real-Time Health Monitoring System for Stroke Prognostics,” IEEE Access, vol. 8, p. 213574, 2020. [15] P. Ghosh, S. Azam, M. Jonkman, A. Karim, F. J. M. Shamrat, E. Ignatious, S. Shultana, A. R. Beeravolu, and F. De Boer, “Efficient Prediction of Cardio vascular Disease using Machine Learning Algorithms with Relief and LASSO Feature Selection Techniques,” IEEE Access, vol. 9, p. 19304, 2021. [16] I. Hussain, R. Jany, R. Boyer, A. Azad, S. A. Alyami, S. J. Park, M. M. Hasan, and M. A. Hossain, “An Explainable EEG-Based Human Activity Recognition Model using Machine-Learning Approach and LIME,” Sensors, vol. 23, no. 17, p. 7452, 2023. [17] A. Anand, T. Kadian, M. K. Shetty, and A. Gupta, “Explainable AI Decision Model for ECG data of Cardiac Disorders,” Biomedical Signal Processing and Control, vol. 75, p. 103584, 2022. [18] G. B. Moody and R. G. Mark, “The Impact of the MIT-BIH Arrhythmia Database,” IEEE Engineering in Medicine and Biology Magazine, vol. 20, no. 3, p. 45, 2001. [19] A. Taddei, G. Distante, M. Emdin, P. Pisani, G. Moody, C. Zeelenberg, and C. Marchesi, “The European ST-T database: Standard for Evaluating Systems for the Analysis of ST-T Changes in Ambulatory Electrocardiography,” Euro pean Heart Journal, vol. 13, no. 9, p. 1164, 1992. [20] N. Iyengar, C. Peng, R. Morin, A. L. Goldberger, and L. A. Lipsitz, “Age-Related Alterations in the Fractal Scaling of Cardiac Interbeat Interval Dynamics,” Amer ican Journal of Physiology-Regulatory, Integrative and Comparative Physiology, vol. 271, no. 4, p. R1078, 1996. [21] S. Lundberg and S. Lee, “AUnifiedApproachtointerpreting Model Predictions,” Proceedings of the 31st International Conference on Neural Information Process ing Systems, p. 4768, 2017. 58 [22] M. Ribeiro, S. Singh, and C. Guestrin, “"Why Should I Trust You?" Explaining the Predictions of any Classifier,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, p. 1135. [23] (2024) Cleveland Clinic. [Online]. Available: https://my.clevelandclinic.org/ health/diseases/16749-arrhythmia [24] S. Dey, R. Pal, and S. Biswas, “Deep Learning Algorithms for Efficient Analysis of ECG Signals to Detect Heart Disorders,” in Biosignal Processing, 2022. [25] Y. M. Ayano, F. Schwenker, B. D. Dufera, and T. G. Debelee, “Interpretable Machine Learning Techniques in ECG-based Heart Disease Classification: A Systematic Review,” Diagnostics, vol. 13, no. 1, p. 111, 2022. [26] P. Kligfield, L. S. Gettes, J. J. Bailey, R. Childers, B. J. Deal, E. W. Hancock, G. VanHerpen, J.A.Kors, P.Macfarlane, D. M.Mirvisetal., “Recommendations for the Standardization and Interpretation of the Electrocardiogram: Part I: the Electrocardiogram and its Technology: A Scientific Statement from the American Heart Association Electrocardiography and Arrhythmias Committee, Council on Clinical Cardiology; the American College of Cardiology Foundation; and the Heart Rhythm Society endorsed by the International Society for Computerized Electrocardiology,” Circulation, vol. 115, no. 10, p. 1306, 2007. [27] R. Rouhi, M. Clausel, J. Oster, and F. Lauer, “An Interpretable Hand-Crafted Feature-Based Model for Atrial Fibrillation Detection,” Frontiers in Physiology, vol. 12, 2021. [28] H. N. Murthy and M. Meenakshi, “ANN, SVM and KNN Classifiers for Progno sis of Cardiac Ischemia-A Comparison,” Bonfring International Journal of Re search in Communication Engineering, vol. 5, no. 2, p. 7, 2015. [29] J. Park, W. Pedrycz, and M. Jeon, “Ischemia Episode Detection in ECG us ing Kernel Density Estimation, Support Vector Machine and Feature Selection,” Biomedical Engineering Online, vol. 11, p. 1, 2012. [30] H. LeeandM.Shin, “Learning Explainable Time-Morphology Patterns for Auto matic Arrhythmia Classification from Short Single-Lead ECGs,” Sensors, vol. 21, no. 13, p. 4331, 2021. [31] M. Athif, P. C. Yasawardene, and C. Daluwatte, “Detecting Atrial Fibrillation from Short Single Lead ECGs using Statistical and Morphological Features,” Physiological Measurement, vol. 39, no. 6, p. 064002, 2018. 59 [32] R. Czabanski, K. Horoba, J. Wrobel, A. Matonia, R. Martinek, T. Kupka, M. Jezewski, R. Kahankova, J. Jezewski, and J. M. Leski, “Detection of Atrial Fibrillation Episodes in Long-Term Heart Rhythm Signals using a Support Vec tor Machine,” Sensors, vol. 20, no. 3, p. 765, 2020. [33] A. Rizwan, A. Zoha, I. B. Mabrouk, H. M. Sabbour, A. S. Al-Sumaiti, A. Alo mainy, M. A. Imran, and Q. H. Abbasi, “A Review on the State of the art in Atrial Fibrillation Detection enabled by Machine Learning,” IEEE Reviews in Biomed ical Engineering, vol. 14, p. 219, 2020. [34] S. J. M. Yazdi, H.-J. Park, C.-S. Son, and J.-H. Lee, “A Novel Machine Learning Approach to classify and detect Atrial Fibrillation using Optimized Implantable Electrocardiogram Sensor,” IEEE Access, vol. 9, p. 149250, 2021. [35] S. Kuila, N. Dhanda, and S. Joardar, “Feature Extraction and Classification of MIT-BIH Arrhythmia Database,” in Proceedings of the 2nd International Confer ence on Communication, Devices and Computing: ICCDC 2019, 2020, p. 417. [36] M. Sraitih, Y. Jabrane, and A. Hajjam El Hassani, “An Automated System for ECG Arrhythmia Detection using Machine Learning Techniques,” Journal of Clinical Medicine, vol. 10, no. 22, p. 5450, 2021. [37] A. H. Khan, M. Hussain, and M. K. Malik, “Arrhythmia Classification Tech niques using Deep Neural Network,” Complexity, vol. 2021, p. 1, 2021. [38] Q. Xiao, K. Lee, S. A. Mokhtar, I. Ismail, A. L. b. M. Pauzi, Q. Zhang, and P. Y. Lim, “Deep Learning-Based ECG Arrhythmia Classification: A Systematic Review,” Applied Sciences, vol. 13, 2023. [39] I. Tougui, A. Jilbab, and J. El Mhamdi, “Heart Disease Classification using Data Mining Tools and Machine Learning Techniques,” Health and Technology, vol. 10, p. 1137, 2020. [40] M. Kachuee, S. Fazeli, and M. Sarrafzadeh, “ECG Heartbeat Classification: A Deep Transferable Representation,” in 2018 IEEE international conference on healthcare informatics (ICHI), 2018, p. 443. [41] S. Irfan, N. Anjum, T. Althobaiti, A. A. Alotaibi, A. B. Siddiqui, and N. Ramzan, “Heartbeat Classification and Arrhythmia Detection using a Multi-Model Deep Learning Technique,” Sensors, vol. 22, no. 15, p. 5606, 2022. [42] J. Zheng, J. Zhang, S. Danioko, H. Yao, H. Guo, and C. Rakovski, “A 12-Lead Electrocardiogram Database for Arrhythmia Research covering more than 10,000 Patients,” Scientific Data, vol. 7, no. 1, p. 48, 2020. 60 [43] Z. Yao, Z. Zhu, and Y. Chen, “Atrial Fibrillation Detection by Multi-Scale Con volutional Neural Networks,” in 2017 20th International Conference on Informa tion Fusion (Fusion). IEEE, 2017, pp. 1–6. [44] S. Liaqat, K. Dashtipour, A. Zahid, K. Assaleh, K. Arshad, and N. Ramzan, “De tection of Atrial Fibrillation using a Machine Learning Approach,” Information, vol. 11, no. 12, p. 549, 2020. [45] U. R. Acharya, H. Fujita, O. S. Lih, Y. Hagiwara, J. H. Tan, and M. Adam, “Automated Detection of Arrhythmias using Different Intervals of Tachycardia ECG Segments with Convolutional Neural Network,” Information sciences, vol. 405, p. 81, 2017. [46] J. D. Peshave and R. Shastri, “Feature Extraction of ECG signal,” in 2014 Inter national Conference on Communication and Signal Processing. IEEE, 2014, pp. 1864–1868. [47] S. L. Oh, E. Y. Ng, R. San Tan, and U. R. Acharya, “Automated Diagnosis of Arrhythmia using Combination of CNN and LSTM Techniques with Variable Length Heart Beats,” Computers in Biology and Medicine, vol. 102, p. 278, 2018. [48] S. Sattar, R. Mumtaz, M. Qadir, S. Mumtaz, M. A. Khan, T. De Waele, E. De Poorter, I. Moerman, and A. Shahid, “Cardiac Arrhythmia Classification using Advanced Deep Learning Techniques on Digitized ECG Datasets,” Sen sors, vol. 24, no. 8, p. 2484, 2024. [49] A. Das and P. Rad, “Opportunities and Challenges in Explainable Artificial Intel ligence (XAI): A Survey,” ArXiv Preprint ArXiv:2006.11371, 2020. [50] D. Gunning, M. Stefik, J. Choi, T. Miller, S. Stumpf, and G.-Z. Yang, “XAI—Explainable Artificial Intelligence,” Science Robotics, vol. 4, no. 37, p. eaay7120, 2019. [51] D. Dave, H. Naik, S. Singhal, and P. Patel, “Explainable AI meets Healthcare: A study on Heart Disease Dataset,” ArXiv Preprint ArXiv:2011.03195, 2020. [52] T. A. Abdullah, M. S. M. Zahid, and W. Ali, “A Review of Interpretable ML in Healthcare: Taxonomy, Applications, Challenges, and Future Directions,” Sym metry, vol. 13, no. 12, p. 2439, 2021. [53] Q. Hua, Y. Yaqin, B. Wan, B. Chen, Y. Zhong, and J. Pan, “An Interpretable Model for ECG Data based on Bayesian Neural Networks,” IEEE Access, vol. 9, p. 57001, 2021. 61 [54] V. Krasteva, I. Christov, S. Naydenov, T. Stoyanov, and I. Jekova, “Application of Dense Neural Networks for Detection of Atrial Fibrillation and Ranking of Augmented ECG Feature Set,” Sensors, vol. 21, no. 20, p. 6848, 2021. [55] P. Guleria, P. Naga Srinivasu, S. Ahmed, N. Almusallam, and F. K. Alarfaj, “XAI Framework for Cardiovascular Disease Prediction using Classification Tech niques,” Electronics, vol. 11, no. 24, p. 4086, 2022. [56] I. Neves, D. Folgado, S. Santos, M. Barandas, A. Campagner, L. Ronzio, F. Cab itza, and H. Gamboa, “Interpretable Heartbeat Classification using Local Model Agnostic Explanations on ECGs,” Computers in Biology and Medicine, vol. 133, p. 104393, 2021. [57] M. Bodini, M. W. Rivolta, and R. Sassi, “Interpretability Analysis of Machine Learning Algorithms in the Detection of ST-Elevation Myocardial Infarction,” in 2020 Computing in Cardiology, 2020, p. 1. [58] A. Rahman, M. S. Hossain, G. Muhammad, D. Kundu, T. Debnath, M. Rah man, M. S. I. Khan, P. Tiwari, and S. S. Band, “Federated Learning-based AI Approaches in Smart Healthcare: Concepts, Taxonomies, Challenges and Open Issues,” Cluster computing, vol. 26, no. 4, p. 2271, 2023. [59] A. Nilsson, S. Smith, G. Ulm, E. Gustavsson, and M. Jirstrand, “A Performance Evaluation of Federated Learning Algorithms,” in Proceedings of the Second Workshop on Distributed Infrastructures for Deep Learning, 2018, p. 1. [60] M. M. Yaqoob, M. Nazir, A. Yousafzai, M. A. Khan, A. A. Shaikh, A. D. Al garni, and H. Elmannai, “Modified Artificial Bee Colony Based Feature Opti mized Federated Learning for Heart Disease Diagnosis in Healthcare,” Applied Sciences, vol. 12, no. 23, p. 12080, 2022. [61] M. M. Yaqoob, M. Nazir, M. A. Khan, S. Qureshi, and A. Al-Rasheed, “Hybrid classifier-based federated learning in health service providers for cardiovascular disease prediction,” Applied Sciences, vol. 13, no. 3, p. 1911, 2023. [62] N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Syn thetic Minority Over-Sampling Technique,” Journal of Artificial Intelligence Re search, vol. 16, p. 321, 2002. [63] AcqKnowledge Software. [Online]. Available: https://www.biopac.com/product/ acqknowledge-software/ [64] J. Pan and W. J. Tompkins, “A real-time QRS detection algorithm,” IEEE Trans actions on Biomedical Engineering, no. 3, p. 230, 1985. 62 [65] S. De Raedt, A. De Vos, and J. De Keyser, “Autonomic Dysfunction in Acute Ischemic Stroke: An Underexplored Therapeutic Area,” Journal of the Neuro logical Sciences, vol. 348, no. 1-2, p. 24, 2015. [66] I. Ogrezeanu, D. Stoian, A. Turcea, and L. M. Itu, “Deep Learning based Myocar dial Ischemia Detection in ECG Signals,” in 2020 24th International Conference on System Theory, Control and Computing (ICSTCC), 2020, p. 250. [67] E. Pueyo, L. Sornmo, and P. Laguna, “QRS Slopes for Detection and Characteri zation of Myocardial Ischemia,” IEEE Transactions on Biomedical Engineering, vol. 55, no. 2, p. 468, 2008. [68] D. J. Beutel, T. Topal, A. Mathur, X. Qiu, J. Fernandez-Marques, Y. Gao, L. Sani, K. H. Li, T. Parcollet, P. P. B. de Gusmão et al., “Flower: A friendly federated learning framework,” 2022. [69] S. Hong, W. Zhang, C. Sun, Y. Zhou, and H. Li, “Practical Lessons on 12-Lead ECG Classification: Meta-Analysis of Methods from PhysioNet computing in Cardiology Challenge 2020,” Frontiers in Physiology, vol. 12, p. 811661, 2022. [70] F. Murat, O. Yildirim, M. Talo, U. B. Baloglu, Y. Demir, and U. R. Acharya, “Application of Deep Learning Techniques for Heartbeats Detection using ECG Signals Analysis and Review,” Computers in Biology and Medicine, vol. 120, p. 103726, 2020. [71] M. R. Kiladze, U. A. Lyakhova, P. A. Lyakhov, N. N. Nagornov, and M. Vahabi, “Multimodal Neural Network for Recognition of Cardiac Arrhythmias Based on 12-Lead Electrocardiogram Signals,” IEEE Access, vol. 11, p. 133744, 2023. [72] D. Slack, S. Hilgard, E. Jia, S. Singh, and H. Lakkaraju, “Fooling LIME and SHAP,” in Proceedings of the AAAI/ACM Conference on AI, Ethics and Society, 2020, p. 180. [73] Z. Zhou, G. Hooker, and F. Wang, “S-LIME: Stabilized-LIME for Model Expla nation,” in Proceedings of the 2021 ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2021, p. 2429. [74] G. Visani, E. Bagli, and F. Chesani, “OptiLIME: Optimized LIME Explanations for Diagnostic Computer Algorithms,” ArXiv, 2020. [75] M. Zafar and N. Khan, “Deterministic Local Interpretable Model-Agnostic Ex planations for Stable Explainability,” Mach. Learn. Knowl. Extr., vol. 3, p. 525, 2021. 63 [76] S. Shankaranarayana and D. Runje, “ALIME: Autoencoder Based Approach for Local Interpretability,” in Intelligent Data Engineering and Automated Learn ing—IDEAL 2019, 2019, p. 454. [77] P. K. Diederik, “Adam: A Method for Stochastic Optimization,” 2014. [78] Z. I. Attia, P. A. Noseworthy, F. Lopez-Jimenez, S. J. Asirvatham, A. J. Desh mukh, B. J. Gersh, R. E. Carter, X. Yao, A. A. Rabinstein, B. J. Erickson et al., “An Artificial Intelligence-Enabled ECG Algorithm for the Identification of Pa tients with Atrial Fibrillation during Sinus Rhythm: A Retrospective Analysis of Outcome Prediction,” The Lancet, vol. 394, no. 10201, pp. 861–867, 2019. [79] R. S. Couto and L. C. Favaro, “Federated Learning Applied to Arrhythmia De tection on Electrocardiograms,” in 2023 IEEE Virtual Conference on Communi cations (VCC), 2023, p. 305.
dc.identifier.urihttps://repository.iutoic-dhaka.edu/handle/123456789/2762
dc.language.isoen
dc.publisherDepartment of Computer Science and Engineering (CSE) Islamic University of Technology (IUT) Board Bazar, Gazipur, Bangladesh
dc.titleAn Explainable Federated Learning Approach for Heart Disease Classification
dc.typeThesis

Files

Original bundle

Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
01 CSE_An Explainable Federated Learning Approach for__201041021_.pdf
Size:
12.77 MB
Format:
Adobe Portable Document Format
Loading...
Thumbnail Image
Name:
01 Turnitin Report_ CSE_201041021_.pdf
Size:
756.08 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections