ArrythML: 一种基于自动编码器的TinyML方法,用于资源受限嵌入式系统上的设备内心律失常检测
ArrythML: An Autoencoder-Based TinyML Approach for On-Device Arrhythmia Detection on Resource-Constrained Embedded Systems
AI总结:
提出一种基于INT8量化自动编码器的TinyML模型,在ESP32-S3微控制器上实现实时、低功耗的ECG分割与心律失常检测,达到84%召回率和79% F1分数。
摘要:
我们的工作提出了一种使用TinyML模型进行ECG分割和心律失常检测的方法,用于资源受限嵌入式系统上的实时设备内推理。我们开发了基于INT8量化自动编码器的TinyML模型,具有最少的层数和参数,适用于嵌入式部署。这些模型使用来自MIT-BIH心律失常数据库的自定义数据集进行评估,并在基于PC的模拟和设备内环境中进行了验证。在评估中,超过95,000个ECG片段在运行TensorFlow Lite Micro运行时的ESP32-S3微控制器上进行了处理。评估后,进行了详细分析,包括按注释和按记录的失败分析,以表征模型在不同ECG形态和心律模式上的行为,并解释漏检情况。在几种情况下,明显的误分类可能对应于参考注释中标记为正常的早期或微妙异常模式,突显了模型的敏感性。通过过滤数据集中模糊案例的细化评估显示,性能最佳的基于DNN的自动编码器实现了84%的召回率、79%的F1分数、约180 KB的模型大小和9 ms的设备内推理延迟。这些结果证明了低功耗、保护隐私的嵌入式可穿戴系统的可行性,该系统能够完全在设备上执行准确的心律失常检测。
英文摘要:
Our work presents a method for ECG segmentation and arrhythmia detection using Tiny Machine Learning (TinyML) models for real-time, on-device inference on resource-constrained embedded systems. We develop INT8 quantized autoencoder-based TinyML models with minimal layers and parameters for embedded deployment. These models are evaluated using a custom dataset derived from the MIT-BIH Arrhythmia Database and validated in both PC-based simulations and on-device environments. For the evaluations, over 95,000 ECG segments are processed on an ESP32-S3 microcontroller running the TensorFlow Lite Micro runtime. Post-evaluation, detailed analysis, including annotation-wise and record-wise failure analysis, is conducted to characterize model behavior across diverse ECG morphologies and rhythm patterns and to explain missed detections. In several cases, apparent misclassifications may correspond to early or subtle anomaly patterns labeled as normal in the reference annotations, highlighting the model's sensitivity. A refined evaluation by filtering out ambiguous cases in the dataset shows that the best-performing DNN-based autoencoder achieves a recall of 84%, an F1-score of 79%, a model size of approximately 180 KB, and an inference latency of 9 ms on-device. These results demonstrate the feasibility of low-power, privacy-preserving embedded wearable systems capable of performing accurate arrhythmia detection entirely on-device.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。