{"title":"AI-enhanced ECG analysis for arrhythmia classification with edge device compatibility","authors":"Hermawan Nugroho, Ke Jun Peng, Anandan Shanmugam","doi":"10.1007/s43674-026-00087-3","DOIUrl":null,"url":null,"abstract":"<div><p>Cardiovascular diseases (CVDs) are the leading cause of global mortality, necessitating efficient and accessible diagnostic tools for early detection. While deep learning models have demonstrated high accuracy in arrhythmia classification, their deployment in resource-limited clinical settings remains challenging due to computational constraints. This study addresses this gap by developing and validating lightweight deep learning models specifically optimized for edge device deployment, enabling real-time ECG analysis in remote and under-resourced healthcare environments. Utilizing the MIT-BIH Arrhythmia Dataset, which includes 48 half-hour ECG recordings from 47 individuals, we trained and evaluated 2 models: a standard Convolutional Neural Network (CNN) and a computationally efficient Depth-Wise Separable Convolutional Neural Network (DWCNN). Preprocessing involved segmenting ECG recordings into individual heartbeats and addressing class imbalance through downsampling, resulting in a balanced dataset of 21,186 images across 6 arrhythmia types. The DWCNN achieved competitive diagnostic performance (precision: 0.97, recall: 0.97) while utilizing 75% fewer parameters than the standard CNN (8.45 M vs. 34.08 M) and 65% less memory (8.4 MB vs. 24.1 MB). Critically, we demonstrate successful deployment on the Intel Neural Compute Stick 2 (NCS2), a resource-constrained edge device, achieving inference times of 4.09 ms/241.91FPS on CPU and 9.05 ms/109.79FPS on the NCS2 platform. This practical demonstration of real-time arrhythmia classification on low-power edge devices represents a significant advancement toward accessible cardiac diagnostics in point-of-care settings, remote monitoring applications, and resource-limited healthcare facilities where centralized computing infrastructure or specialist expertise may be unavailable.</p></div>","PeriodicalId":72089,"journal":{"name":"Advances in computational intelligence","volume":"6 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2026-01-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advances in computational intelligence","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1007/s43674-026-00087-3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Cardiovascular diseases (CVDs) are the leading cause of global mortality, necessitating efficient and accessible diagnostic tools for early detection. While deep learning models have demonstrated high accuracy in arrhythmia classification, their deployment in resource-limited clinical settings remains challenging due to computational constraints. This study addresses this gap by developing and validating lightweight deep learning models specifically optimized for edge device deployment, enabling real-time ECG analysis in remote and under-resourced healthcare environments. Utilizing the MIT-BIH Arrhythmia Dataset, which includes 48 half-hour ECG recordings from 47 individuals, we trained and evaluated 2 models: a standard Convolutional Neural Network (CNN) and a computationally efficient Depth-Wise Separable Convolutional Neural Network (DWCNN). Preprocessing involved segmenting ECG recordings into individual heartbeats and addressing class imbalance through downsampling, resulting in a balanced dataset of 21,186 images across 6 arrhythmia types. The DWCNN achieved competitive diagnostic performance (precision: 0.97, recall: 0.97) while utilizing 75% fewer parameters than the standard CNN (8.45 M vs. 34.08 M) and 65% less memory (8.4 MB vs. 24.1 MB). Critically, we demonstrate successful deployment on the Intel Neural Compute Stick 2 (NCS2), a resource-constrained edge device, achieving inference times of 4.09 ms/241.91FPS on CPU and 9.05 ms/109.79FPS on the NCS2 platform. This practical demonstration of real-time arrhythmia classification on low-power edge devices represents a significant advancement toward accessible cardiac diagnostics in point-of-care settings, remote monitoring applications, and resource-limited healthcare facilities where centralized computing infrastructure or specialist expertise may be unavailable.
心血管疾病是全球死亡的主要原因,因此需要有效和可获得的诊断工具来进行早期发现。虽然深度学习模型在心律失常分类方面具有很高的准确性,但由于计算限制,它们在资源有限的临床环境中的部署仍然具有挑战性。本研究通过开发和验证专为边缘设备部署优化的轻量级深度学习模型来解决这一差距,从而在远程和资源不足的医疗保健环境中实现实时ECG分析。利用MIT-BIH心律失常数据集,其中包括来自47个人的48小时ECG记录,我们训练并评估了两种模型:标准卷积神经网络(CNN)和计算效率高的深度可分离卷积神经网络(DWCNN)。预处理包括将ECG记录分割为单个心跳,并通过降采样解决类不平衡问题,从而获得包含6种心律失常类型的21,186张图像的平衡数据集。DWCNN在使用比标准CNN少75%的参数(8.45 M vs. 34.08 M)和65%的内存(8.4 MB vs. 24.1 MB)的情况下实现了具有竞争力的诊断性能(准确率:0.97,召回率:0.97)。关键的是,我们展示了在英特尔神经计算棒2 (NCS2)上的成功部署,这是一种资源受限的边缘设备,在CPU上实现了4.09 ms/241.91FPS的推理时间,在NCS2平台上实现了9.05 ms/109.79FPS的推理时间。在低功耗边缘设备上进行实时心律失常分类的实际演示,代表了在护理点设置、远程监控应用程序和资源有限的医疗保健设施(可能无法获得集中计算基础设施或专业知识)中可获得心脏诊断的重大进步。