18 June 2025 in Computer Methods and Programs in Biomedicine
Cardiac arrhythmias, characterized by irregular heartbeats, are difficult to diagnose in real-world scenarios. Machine learning has advanced arrhythmia detection; however, the optimal number of heartbeats for precise classification remains understudied. This study addresses this using machine learning while assessing the performance of arrhythmia detection across inter-patient and intra-patient conditions. Furthermore, the performance-resource trade-offs are evaluated for practical deployment in mobile health (mHealth) applications. Beat-wise segmentation and resampling techniques were utilized for preprocessing electrocardiography (ECG) signals to ensure consistent input lengths. A 1-D convolutional neural network was used to classify the eight multi-labeled arrhythmias. The dataset comprised real-world ECG recordings from the HiCardi wireless device alongside data from the MIT-BIH Arrhythmia database. Model performance was assessed through fivefold cross-validation under both inter-patient and intra-patient conditions. The proposed model demonstrated peak accuracy at four beats under inter-patient conditions, with minimal improvements beyond this point. This configuration achieved a balance between performance (94.82% accuracy) and resource consumption (training time: 72.27 s per epoch; prediction time: 155 μs per segment). Real-world simulations validated the feasibility of real-time arrhythmia detection for approximately 5000 patients. Utilizing four heartbeats as the input size for arrhythmia classification results in a trade-off between accuracy and computational efficiency. This discovery has significant implications for real-time wearable ECG devices, where both performance and resource constraints are crucial considerations. This insight is expected to serve as a valuable reference for enhancing the design and implementation of arrhythmia detection systems for scalable and efficient mHealth applications.
1 January 2024 in Digital Health
Objective: Arrhythmia detection and classification are challenging because of the imbalanced ratio of normal heartbeats to arrhythmia heartbeats and the complicated combinations of arrhythmia types. Arrhythmia classification on wearable electrocardiogram monitoring devices poses a further unique challenge: unlike clinically used electrocardiogram monitoring devices, the environments in which wearable devices are deployed are drastically different from the carefully controlled clinical environment, leading to significantly more noise, thus making arrhythmia classification more difficult. Methods: We propose a novel hierarchical model based on CNN+BiLSTM with Attention to arrhythmia detection, consisting of a binary classification module between normal and arrhythmia heartbeats and a multi-label classification module for classifying arrhythmia events across combinations of beat and rhythm arrhythmia types. We evaluate our method on our proprietary dataset and compare it with various baselines, including CNN+BiGRU with Attention, ConViT, EfficientNet, and ResNet, as well as previous state-of-the-art frameworks. Results: Our model outperforms existing baselines on the proprietary dataset, resulting in an average accuracy, F1-score, and AUC score of 95%, 0.838, 0.906 for binary classification, and 88%, 0.736, 0.875 for multi-label classification. Conclusions: Our results validate the ability of our model to detect and classify real-world arrhythmia. Our framework could revolutionize arrhythmia diagnosis by reducing the burden on cardiologists, providing more personalized treatment, and achieving emergency intervention of patients by allowing real-time monitoring of arrhythmia occurrence.