A Tiny Transformer for Low-Power Arrhythmia Classification on Microcontrollers

Paola Busia;Matteo Antonio Scrugli;Victor Jean-Baptiste Jung;Luca Benini;Paolo Meloni
{"title":"A Tiny Transformer for Low-Power Arrhythmia Classification on Microcontrollers","authors":"Paola Busia;Matteo Antonio Scrugli;Victor Jean-Baptiste Jung;Luca Benini;Paolo Meloni","doi":"10.1109/TBCAS.2024.3401858","DOIUrl":null,"url":null,"abstract":"Wearable systems for the continuous and real-time monitoring of cardiovascular diseases are becoming widespread and valuable assets in diagnosis and therapy. A promising approach for real-time analysis of the electrocardiographic (ECG) signal and the detection of heart conditions, such as arrhythmia, is represented by the transformer machine learning model. Transformers are powerful models for the classification of time series, although efficient implementation in the wearable domain raises significant design challenges, to combine adequate accuracy and a suitable complexity. In this work, we present a tiny transformer model for the analysis of the ECG signal, requiring only 6k parameters and reaching 98.97% accuracy in the recognition of the 5 most common arrhythmia classes from the MIT-BIH Arrhythmia database, assessed considering 8-bit integer inference as required for efficient execution on low-power microcontroller-based devices. We explored an augmentation-based training approach for improving the robustness against electrode motion artifacts noise, resulting in a worst-case post-deployment performance assessment of 98.36% accuracy. Suitability for wearable monitoring solutions is finally demonstrated through efficient deployment on the parallel ultra-low-power GAP9 processor, where inference execution requires 4.28ms and 0.09mJ.","PeriodicalId":94031,"journal":{"name":"IEEE transactions on biomedical circuits and systems","volume":"19 1","pages":"142-152"},"PeriodicalIF":4.9000,"publicationDate":"2024-03-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10531812","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE transactions on biomedical circuits and systems","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10531812/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Wearable systems for the continuous and real-time monitoring of cardiovascular diseases are becoming widespread and valuable assets in diagnosis and therapy. A promising approach for real-time analysis of the electrocardiographic (ECG) signal and the detection of heart conditions, such as arrhythmia, is represented by the transformer machine learning model. Transformers are powerful models for the classification of time series, although efficient implementation in the wearable domain raises significant design challenges, to combine adequate accuracy and a suitable complexity. In this work, we present a tiny transformer model for the analysis of the ECG signal, requiring only 6k parameters and reaching 98.97% accuracy in the recognition of the 5 most common arrhythmia classes from the MIT-BIH Arrhythmia database, assessed considering 8-bit integer inference as required for efficient execution on low-power microcontroller-based devices. We explored an augmentation-based training approach for improving the robustness against electrode motion artifacts noise, resulting in a worst-case post-deployment performance assessment of 98.36% accuracy. Suitability for wearable monitoring solutions is finally demonstrated through efficient deployment on the parallel ultra-low-power GAP9 processor, where inference execution requires 4.28ms and 0.09mJ.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
微控制器上用于低功耗心律失常分类的微型变压器
用于心血管疾病持续和实时监测的可穿戴系统正在成为诊断和治疗中广泛和宝贵的资产。变压器机器学习模型是实时分析心电图(ECG)信号和检测心律失常等心脏状况的一种很有前途的方法。变压器是时间序列分类的强大模型,尽管在可穿戴领域的有效实施提出了重大的设计挑战,以结合足够的精度和适当的复杂性。在这项工作中,我们提出了一个用于心电信号分析的微型变压器模型,只需要6k个参数,在识别麻省理工学院- bih心律失常数据库中最常见的5种心律失常类别时达到98.97%的准确率,考虑到在低功耗微控制器设备上有效执行所需的8位整数推理。我们探索了一种基于增强的训练方法,以提高对电极运动伪像噪声的鲁棒性,从而使部署后的最坏情况性能评估准确率达到98.36%。最后,通过在并行超低功耗GAP9处理器上的高效部署,证明了可穿戴监控解决方案的适用性,其中推理执行需要4.28ms和0.09mJ。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Wireless Battery-Free Probe-Free Disposable Electrical-Digital-PCR Chip. A 32-Channel Neural-Recording Chip Achieving 117dB Intrinsic-CMRR and 100dB PSRR by CM-Tracking-Dynamic-Power-Rail and CM-Canceling-in-Idle-Phase Techniques. Wearable 3D Transmitter for Omnidirectional Wireless Energy Delivery for Microrobot. A Fast-Charging Inductive-Capacitive Dual-Mode Orthogonal Orientation-Independent Switched-Mode Wireless Power Transfer System for Battery-Less Implantable Medical Devices in 65nm CMOS. MRDust: Wireless Implant Data Uplink & Localization via Magnetic Resonance Image Modulation
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1