Efficient and Secure μ-Training and μ-Fine-Tuning for TinyML Optimization and Personalization at the Edge

Abstract

This study introduces a novel approach for training and fine-tuning machine learning models for bio-signal data analysis on edge medical devices. The technique can be used in all physiological signals, and in this paper, we used electrocardiogram (ECG) signals as a case example to demonstrate its capability. The proposed methodology combines full training and a novel technique termed μ-Training, in which the encoder and decoder layers of the tiny model are frozen. In contrast, the middle layer weights remain trainable. We investigate the effectiveness of this approach across different stages, including full training, μ-Training, and μ-Fine-Tuning. The model's performance is evaluated using both in-sample data from the Telehealth Network of Minas Gerais (TNMG) dataset and an out-of-sample test on the China Physiological Signal Challenge 2018 (CPSC) dataset, with the results demonstrating that the combined training approach performs similarly to or better than traditional full training and fine-tuning while providing significant advantages in computational efficiency. Furthermore, the model is deployed on an edge device for μ-Fine-Tuning, showcasing its effectiveness even under resource-constrained conditions. For demonstration and deployment purposes, we used Radxa Zero hardware, while a range of other edge devices can be used. The results demonstrate that the proposed method outperforms traditional approaches, improving computational efficiency and resource utilization, making it a promising solution for real-time bio-signal processing on edge devices.

Competing Interest Statement

The authors have declared no competing interest.

Funding Statement

This study did not receive any funding.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Data Availability

This research paper uses the public CPSC dataset but acknowledges that the TNMG dataset is private and requires permission from its owner for access.

留言 (0)

沒有登入
gif