Reasonably and effectively monitoring arrhythmias through ECG signals has significant implications for human health. With the development of deep learning, numerous ECG classification algorithms based on deep learning have emerged. However, most existing algorithms trade off high accuracy for complex models, resulting in high storage usage and power consumption. This also inevitably increases the difficulty of implementation on wearable Artificial Intelligence-of-Things (AIoT) devices with limited resources. In this study, we proposed a universally applicable ultra-lightweight binary neural network(BNN) that is capable of 5-class and 17-class arrhythmia classification based on ECG signals. Our BNN achieves 96.90% (full precision 97.09%) and 97.50% (full precision 98.00%) accuracy for 5-class and 17-class classification, respectively, with state-of-the-art storage usage (3.76 KB and 4.45 KB). Compared to other binarization works, our approach excels in supporting two multi-classification modes while achieving the smallest known storage space. Moreover, our model achieves optimal accuracy in 17-class classification and boasts an elegantly simple network architecture. The algorithm we use is optimized specifically for hardware implementation. Our research showcases the potential of lightweight deep learning models in the healthcare industry, specifically in wearable medical devices, which hold great promise for improving patient outcomes and quality of life. Code is available on: https://github.com/xpww/ECG_BNN_Net
ArrhythmiaVision: Resource-Conscious Deep Learning Models with Visual Explanations for ECG Arrhythmia Classification
Dipartimento di Informatica, Università di Verona, Verona, Italy(信息学院,威尼斯大学,威尼斯,意大利);Department of Computer Science, School of Mathematics and Computer Science, Institute of Business Administration, Karachi, Pakistan(计算机科学系,数学与计算机科学学院,商学院,卡拉奇,巴基斯坦);Faculty of Information Technology, Salim Habib University, Karachi, Pakistan(信息技术学院,萨利姆·哈比大学,卡拉奇,巴基斯坦)
NYU Langone Health(纽约大学朗格尼医学中心);Evidation Health, Inc.(Evidation健康公司);Center for Data Science, New York University(纽约大学数据科学中心);Courant Institute of Mathematics, New York University(纽约大学库朗数学研究所)
近年来,由于单导联版本的兴起,心电图(ECG)在医疗和商业应用中得到了很大的普及。单导联心电图可以嵌入医疗设备和可穿戴产品中,例如注射式Medtronic Linq监护仪、iRhythm Ziopatch可穿戴监护仪和Apple Watch Series 4。最近,深度神经网络已被用于自动分析ECG描记,在检测某些心律不齐方面甚至超过了心脏电生理学专业的医生。然而,深度学习分类器已被证明对对抗性示例很脆弱,这些示例在人眼看来毫无疑问属于某个类,但包含一些微妙的特征,这些特征会欺骗分类器将它们错误地分类到错误的类中。最近,针对医疗相关任务也创建了对抗性示例。然而,创建对抗性示例的传统攻击方法,例如投影梯度下降(PGD),并不直接扩展到ECG信号,因为它们生成的示例引入了生理上不合理的方波伪影。在这里,我们开发了一种方法来构建单导联ECG的平滑对抗性示例。首先,我们实现了一个神经网络模型,该模型在2017年PhysioNet/Computing-in-Cardiology Challenge的数据上实现了最先进的性能,用于单导联ECG分类的心律失常检测。对于这个模型,我们使用了一种新的技术来生成平滑的例子,以产生1)心脏病专家无法从原始例子中区分出来的信号,以及2)神经网络错误分类的信号。最后,我们证明了对抗性示例不是唯一的,并提供了一种通用技术来整理和扰动已知的对抗性示例以创建新的示…