Sustainable E-Health: Energy-Efficient Tiny AI for Epileptic Seizure Detection via EEG.

IF 3.1 Q3 ENGINEERING, BIOMEDICAL
Biomedical Engineering and Computational Biology Pub Date : 2025-08-10 eCollection Date: 2025-01-01 DOI:10.1177/11795972241283101
Moez Hizem, Mohamed Ould-Elhassen Aoueileyine, Samir Brahim Belhaouari, Abdelfatteh El Omri, Ridha Bouallegue
{"title":"Sustainable E-Health: Energy-Efficient Tiny AI for Epileptic Seizure Detection via EEG.","authors":"Moez Hizem, Mohamed Ould-Elhassen Aoueileyine, Samir Brahim Belhaouari, Abdelfatteh El Omri, Ridha Bouallegue","doi":"10.1177/11795972241283101","DOIUrl":null,"url":null,"abstract":"<p><p>Tiny Artificial Intelligence (Tiny AI) is transforming resource-constrained embedded systems, particularly in e-health applications, by introducing a shift in Tiny Machine Learning (TinyML) and its integration with the Internet of Things (IoT). Unlike conventional machine learning (ML), which demands substantial processing power, TinyML strategically delegates processing requirements to the cloud infrastructure, allowing lightweight models to run on embedded devices. This study aimed to (i) Develop a TinyML workflow that details the steps for model creation and deployment in resource-constrained environments and (ii) apply the workflow to e-health applications for the real-time detection of epileptic seizures using electroencephalography (EEG) data. The methodology employs a dataset of 4097 EEG recordings per patient, each 23.5 seconds long, from 500 patients, to develop a robust and resilient model. The model was deployed using TinyML on microcontrollers tailored to hardware with limited resources. TensorFlow Lite (TFLite) efficiently runs ML models on small devices, such wearables. Simulation outcomes demonstrated significant performance, particularly in predicting epileptic seizures, with the ExtraTrees Classifier achieving a notable 99.6% Area Under the Curve (AUC) on the validation set. Because of its superior performance, the ExtraTrees Classifier was selected as the preferred model. For the optimized TinyML model, the accuracy remained practically unchanged, whereas inference time was significantly reduced. Additionally, the converted model had a smaller size of 256 KB, approximately ten times smaller, making it suitable for microcontrollers with a capacity of no more than 1 MB. These findings highlight the potential of TinyML to significantly enhance healthcare applications by enabling real-time, energy-efficient decision-making directly on local devices. This is especially valuable in scenarios with limited computing resources or during emergencies, as it reduces latency, ensures privacy, and operates without reliance on cloud infrastructure. Moreover, by reducing the size of training datasets needed, TinyML helps lower overall costs and minimizes the risk of overfitting, making it an even more cost-effective and reliable solution for healthcare innovations.</p>","PeriodicalId":42484,"journal":{"name":"Biomedical Engineering and Computational Biology","volume":"16 ","pages":"11795972241283101"},"PeriodicalIF":3.1000,"publicationDate":"2025-08-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12336407/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Biomedical Engineering and Computational Biology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1177/11795972241283101","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/1 0:00:00","PubModel":"eCollection","JCR":"Q3","JCRName":"ENGINEERING, BIOMEDICAL","Score":null,"Total":0}
引用次数: 0

Abstract

Tiny Artificial Intelligence (Tiny AI) is transforming resource-constrained embedded systems, particularly in e-health applications, by introducing a shift in Tiny Machine Learning (TinyML) and its integration with the Internet of Things (IoT). Unlike conventional machine learning (ML), which demands substantial processing power, TinyML strategically delegates processing requirements to the cloud infrastructure, allowing lightweight models to run on embedded devices. This study aimed to (i) Develop a TinyML workflow that details the steps for model creation and deployment in resource-constrained environments and (ii) apply the workflow to e-health applications for the real-time detection of epileptic seizures using electroencephalography (EEG) data. The methodology employs a dataset of 4097 EEG recordings per patient, each 23.5 seconds long, from 500 patients, to develop a robust and resilient model. The model was deployed using TinyML on microcontrollers tailored to hardware with limited resources. TensorFlow Lite (TFLite) efficiently runs ML models on small devices, such wearables. Simulation outcomes demonstrated significant performance, particularly in predicting epileptic seizures, with the ExtraTrees Classifier achieving a notable 99.6% Area Under the Curve (AUC) on the validation set. Because of its superior performance, the ExtraTrees Classifier was selected as the preferred model. For the optimized TinyML model, the accuracy remained practically unchanged, whereas inference time was significantly reduced. Additionally, the converted model had a smaller size of 256 KB, approximately ten times smaller, making it suitable for microcontrollers with a capacity of no more than 1 MB. These findings highlight the potential of TinyML to significantly enhance healthcare applications by enabling real-time, energy-efficient decision-making directly on local devices. This is especially valuable in scenarios with limited computing resources or during emergencies, as it reduces latency, ensures privacy, and operates without reliance on cloud infrastructure. Moreover, by reducing the size of training datasets needed, TinyML helps lower overall costs and minimizes the risk of overfitting, making it an even more cost-effective and reliable solution for healthcare innovations.

可持续电子健康:通过脑电图检测癫痫发作的节能微型人工智能。
通过引入微型机器学习(TinyML)及其与物联网(IoT)的集成,微型人工智能(Tiny AI)正在改变资源受限的嵌入式系统,特别是在电子医疗应用中。传统的机器学习(ML)需要强大的处理能力,而TinyML不同,它战略性地将处理需求委托给云基础设施,允许轻量级模型在嵌入式设备上运行。本研究旨在(i)开发一个TinyML工作流程,详细说明在资源受限环境中创建和部署模型的步骤;(ii)将该工作流程应用于电子卫生应用程序,利用脑电图(EEG)数据实时检测癫痫发作。该方法使用了来自500名患者的4097个脑电图记录的数据集,每个记录长23.5秒,以开发一个强大而有弹性的模型。该模型使用TinyML部署在针对资源有限的硬件定制的微控制器上。TensorFlow Lite (TFLite)可以有效地在小型设备(如可穿戴设备)上运行ML模型。模拟结果显示出显著的性能,特别是在预测癫痫发作方面,ExtraTrees Classifier在验证集中实现了99.6%的曲线下面积(AUC)。由于其优越的性能,我们选择ExtraTrees分类器作为首选模型。对于优化后的TinyML模型,准确率基本保持不变,而推理时间显著缩短。此外,转换后的模型尺寸较小,为256 KB,大约小了10倍,使其适合容量不超过1 MB的微控制器。这些发现突出了TinyML的潜力,它可以通过直接在本地设备上实现实时、节能的决策,从而显著增强医疗保健应用。这在计算资源有限的场景或紧急情况下特别有价值,因为它可以减少延迟,确保隐私,并且在不依赖云基础设施的情况下运行。此外,通过减少所需训练数据集的大小,TinyML有助于降低总体成本并最大限度地减少过度拟合的风险,使其成为医疗保健创新的更具成本效益和可靠的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
1
审稿时长
8 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信