An Intelligent Hybrid CNN–Bidirectional-LSTM–Fuzzy Logic Framework for ECG-Based Atrial Fibrillation Detection and Risk Stratification
Abstract
Atrial fibrillation is a common cardiac rhythm disorder that is associated with serious complications such as stroke, heart failure, and increased cardiovascular risk. Accurate and timely identification of atrial fibrillation from electrocardiogram recordings remains challenging because cardiac signals contain complex morphological patterns and temporal variations, while conventional classification approaches generally provide limited information for interpretable risk assessment. This study aims to develop an intelligent hybrid framework for automated atrial fibrillation detection and risk stratification using electrocardiogram signals. The proposed framework integrates a convolutional neural network for automatic extraction of discriminative morphological characteristics, a bidirectional long short-term memory network for learning temporal dependencies across cardiac signal sequences, and a fuzzy logic inference system for interpretable risk assessment. The fuzzy module combines the learned model information with physiological indicators to categorize the predicted outcomes into clinically interpretable risk levels. Experimental evaluation demonstrated that the proposed framework achieved an overall accuracy of 99.0%, with 98.7% precision, 98.8% recall, and 98.7% F1-score. The proposed framework also demonstrated improved performance compared with the individual convolutional neural network and bidirectional long short-term memory models, which achieved accuracies of 95.8% and 96.9%, respectively, while their combined model achieved 98.1%. The results indicate that integrating morphological feature learning, temporal sequence modelling, and fuzzy reasoning can improve atrial fibrillation classification while providing an interpretable risk-oriented output. The proposed framework therefore shows potential as an intelligent approach for automated electrocardiogram analysis and clinical decision support.