Abstract
Coronary artery disease (CAD) remains the leading cause of death around the globe and hence requires reliable, non-invasive, and secure diagnostic methods. In order to diagnose CAD in its early stages, we present a novel architecture of a Federated Attention-Capsule Convolutional Neural Network (FAC-CNN) integrated with Bio-Inspired Optimization Algorithms (BIOA) in dealing with multiple modalities of physiological data such as Electrocardiography (ECG), Photoplethysmogram (PPG), and Blood Pressure (BP). The model is evaluated using unimodal (only ECG signals) and multimodal physiological datasets to validate the proposed algorithm for different data distributions. To improve accuracy, the architecture of FAC-CNN uses capsule networks to recognize the hierarchical structure within the data fed into it. Through attention mechanisms, the network is capable of selecting the most important features related to cardiac diseases. To ensure data security, the federated learning (FL) method is applied as a solution to the problem of local model training using patients' private data stored in edge computing devices. A novel hybrid optimization method combining Particle Swarm Optimization (PSO) and Genetic Algorithm (GA) is used to update learning rates, the total number of capsule layers, and routing iterations. Three databases, including the PTB diagnostic ECG database, the MIT-BIH Arrhythmia database, and the MIMIC-III Waveform database, which comprises authentic ICU recordings of ECG, PPG, and blood pressure data from more than 40,000 patients were employed to evaluate the model. It can be seen from the results that FAC-CNN outperformed the other models used in the experiment, including CNNs and LSTMs by 4-7%, obtaining a mean accuracy of 97.4%, an F1-score of 96.8%, and an AUC score of 0.985. Moreover, the scalability of the proposed algorithm for applications in remote healthcare settings improved, and the more effective training method contributed to time-savings for the training procedure, decreasing it by 18.6%.
References
- Wang, Yiqian, Yang Zou, and Zhou Li. "Emerging Intelligent Wearable Devices for Cardiovascular Health Monitoring." Nano Today 59 (2024): 102544.
- Moshawrab, Mohammad, Mehdi Adda, Abdenour Bouzouane, Hussein Ibrahim, and Ali Raad. "Smart Wearables for the Detection of Cardiovascular Diseases: A Systematic Literature Review." Sensors 23, no. 2 (2023): 828.
- Kairouz, Peter, and H. Brendan McMahan. "Advances and Open Problems in Federated Learning." Foundations and trends in machine learning 14, no. 1-2 (2021): 1-210.
- Vo, Khuong, Mostafa El-Khamy, and Yoojin Choi. "PPG-to-ECG Signal Translation for Continuous Atrial Fibrillation Detection via Attention-Based Deep State-Space Modeling." In 2024 46th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), IEEE, 2024, 1-7.
- Marin Machado de Souza, Rafael, Andrew Holm, Márcio Biczyk, and Leandro Nunes de Castro. "A Systematic Literature Review on the Use of Federated Learning and Bioinspired Computing." Electronics 13, no. 16 (2024): 3157.
- Rush, Keith, Zachary Charles, and Zachary Garrett. "Federated Automatic Differentiation." Journal of Machine Learning Research 25, no. 357 (2024): 1-39.
- Qiu, Wanyong, Chen Quan, Lixian Zhu, Yongzi Yu, Zhihua Wang, Yu Ma, Mengkai Sun et al. "Heart Sound Abnormality Detection from Multi-Institutional Collaboration: Introducing A Federated Learning Framework." IEEE Transactions on Biomedical Engineering 71, no. 10 (2024): 2802-2813.
- Kumar, G. Kajeeth, S. Muthurajkumar, and Danush Gupta. "Sensor-Integrated Smart Wearable System for Cardiac Arrest Monitoring Using Explainable Artificial Intelligence and Machine Learning." In Adaptive AI in Sensor Informatics, Elsevier, 2026. 153-180.
- Li, Tian, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. "Federated Optimization in Heterogeneous Networks." Proceedings of Machine learning and systems 2 (2020): 429-450.
- Khurana, Khushboo, and Abhijeet Raipurkar. "MsCapsNet: Multi-Scale Capsule Network for Blood Cell Classification." Indian Journal of Hematology and Blood Transfusion (2026): 1-19.
- Dhanka, Sanjay, and Surita Maini. "A Hybrid Machine Learning Approach Using Particle Swarm Optimization for Cardiac Arrhythmia Classification." International Journal of Cardiology 432 (2025): 133266.
- Yang, Qiang, Yang Liu, Tianjian Chen, and Yongxin Tong. "Federated Machine Learning: Concept and Applications." ACM Transactions on Intelligent Systems and Technology (TIST) 10, no. 2 (2019): 1-19.
- Aminifar, Amin, Matin Shokri, and Amir Aminifar. "Privacy-Preserving Edge Federated Learning for Intelligent Mobile-Health Systems." Future Generation Computer Systems 161 (2024): 625-637.
- Baucas, Marc Jayson, Petros Spachos, and Konstantinos N. Plataniotis. "Federated Learning and Blockchain-Enabled Fog-IoT Platform for Wearables in Predictive Healthcare." IEEE Transactions on Computational Social Systems 10, no. 4 (2023): 1732-1741.
- Butun, Ertan, Ozal Yildirim, Muhammed Talo, Ru-San Tan, and U. Rajendra Acharya. "1D-CADCapsNet: One Dimensional Deep Capsule Networks for Coronary Artery Disease Detection Using ECG Signals." Physica Medica 70 (2020): 39-48.
- Alasmari, Sultan, Rayed AlGhamdi, Ghanshyam G. Tejani, Sunil Kumar Sharma, and Seyed Jalaleddin Mousavirad. "Federated Learning-Based Multimodal Approach for Early Detection and Personalized Care in Cardiac Disease." Frontiers in Physiology 16 (2025): 1563185.
- Adam, Mumin, and Uthman Baroudi. "Federated Learning for IoT: Applications, Trends, Taxonomy, Challenges, Current Solutions, and Future Directions." IEEE Open Journal of the Communications Society 5 (2024): 7842-7877.
- Tang, Qunfeng, Zhencheng Chen, Rabab Ward, Carlo Menon, and Mohamed Elgendi. "PPG2ECGps: An End-To-End Subject-Specific Deep Neural Network Model for Electrocardiogram Reconstruction from Photoplethysmography Signals Without Pulse Arrival Time Adjustments." Bioengineering 10, no. 6 (2023): 630.
- Ouyang, Chengtian, Yehong Li, Jihong Mao, Donglin Zhu, Changjun Zhou, and Zhenyu Xu. "Enhancing Federated Learning with Dynamic Weight Adjustment Based on Particle Swarm Optimization." Discover Computing 27, no. 1 (2024): 35.
- Yaqoob, Muhammad Mateen, Muhammad Nazir, Abdullah Yousafzai, Muhammad Amir Khan, Asad Ali Shaikh, Abeer D. Algarni, and Hela Elmannai. "Modified Artificial Bee Colony Based Feature Optimized Federated Learning for Heart Disease Diagnosis in Healthcare." Applied Sciences 12, no. 23 (2022): 12080.
- Yan, Jing, Yanxin Wang, Zhou Yang, Yiming Ding, Jianhua Wang, and Yingsan Geng. "Few-Shot Mechanical Fault Diagnosis for a High-Voltage Circuit Breaker via a Transformer–Convolutional Neural Network and Metric Meta-Learning." IEEE Transactions on instrumentation and measurement 72 (2023): 1-11.
- Shankarappa, Ramu, Nandini Prasad, Ram Mohana Reddy Guddeti, and Biju R. Mohan. "Bio-Inspired Hyperparameter Tuning of Federated Learning for Student Activity Recognition in Online Exam Environment." AI 5, no. 3 (2024): 1030-1048.
- Zhang, Yukun, Guanzhong Chen, Zenglin Xu, Jianyong Wang, Dun Zeng, Junfan Li, Jinghua Wang, Yuan Qi, and Irwin King. "FedCVD: The First Real-World Federated Learning Benchmark on Cardiovascular Disease Data." arXiv preprint arXiv:2411.07050 (2024).
- Mulani, Altaf O., Mohini P. Sardey, Kishor Kinage, Shweta Sadanand Salunkhe, Tanuja Fegade, and Poonam Girish Fegade. "ML-Powered Internet of Medical Things (MLIOMT) Structure for Heart Disease Prediction." Journal of Pharmacology and Pharmacotherapeutics 16, no. 1 (2025): 38-45.
- Lokhande, Pranali P., and Kotadi Chinnaiah. "Heart Disease Detection and Prognosis Using IoT-Based ECG Sensor Data with Hybrid Deep Learning Architecture and Optimal Resource Allocation." Cybernetics and Systems 56, no. 7 (2025): 1002-1052.
- Bahrami, Reza, and Ali M. Fotouhi. "A Novel Efficient Hybrid Deep Learning Framework for ECG-Based Heartbeat Arrhythmia Classification." Neural Computing and Applications 37, no. 21 (2025): 16409-16425.
- Gao, Xiaoyuan, Wei Mi, and Xirui Feng. "Personal Health Data Protection and Intelligent Healthcare Applications Under Generative Adversarial Network." Scientific Reports 15, no. 1 (2025): 16558.
- Khanh, Quy Vu, Abdellah Chehri, and Quy Nguyen Minh. "Federated Learning Approach for Collaborative and Secure Smart Healthcare Applications." IEEE Transactions on Emerging Topics in Computing 13, no. 1 (2024): 68-79.
- Rodriguez, Mario Padilla, and Mohamed Nafea. "Centralized and Federated Heart Disease Classification Models Using Uci Dataset and Their Shapley-Value Based Interpretability." arXiv preprint arXiv:2408.06183 (2024).
- MIT-BIH Arrhythmia Database, Available online at: https://physionet.org/content/mitdb/1.0.0/, Last Accessed on 8th August 2025.
- PTB Diagnostic ECG Database, Available online at: https://physionet.org/content/ptbdb/1.0.0/, Last Accessed on 8th August 2025.
- MIMIC-III Waveform Database, Available online at: https://physionet.org/content/mimic3wdb/1.0/ , Last Accessed on 8th August 2025.

Journal of Trends in Computer Science and Smart Technology