BioTrain: 亚兆字节、亚50毫瓦边缘AI生物信号细调
BioTrain: Sub-MB, Sub-50mW On-Device Fine-Tuning for Edge-AI on Biosignals
AI总结:
针对生物信号跨用户和跨会话的显著变异性,BioTrain提出在亚50毫瓦和亚兆字节约束下实现边缘AI的全网络微调,通过高效内存管理和网络拓扑优化,提升EEG和EOG模型的精度与训练效率。
摘要:
生物信号表现出显著的跨用户和跨会话变化性,导致严重的领域偏移,从而降低小型边缘AI模型在部署后的性能。因此,设备端适应对于保持用户隐私和确保系统可靠性至关重要。然而,现有的基于MCU的可穿戴平台只能支持浅层或稀疏的适应方案,因为完整的反向传播(BP)的内存足迹和计算成本过高。在本文中,我们提出BioTrain,一个框架,使在毫瓦级功率和亚兆字节内存约束下对最先进的生物信号模型进行全网络微调。我们通过EEG和EOG数据集的离线和设备端基准测试验证了BioTrain,涵盖Day-1新用户校准和长期适应信号漂移。实验结果表明,全网络微调在非适应基线上实现了高达35%的精度提升,并在新用户校准期间比最后一层更新高出约7%。在GAP9 MCU平台上,BioTrain在低于50毫瓦的功率范围内实现了EEG模型每秒17个样本和EOG模型每秒85个样本的高效设备端训练吞吐量。此外,BioTrain的高效内存分配器和网络拓扑优化使能够使用大批次大小,减少峰值内存使用。对于GAP9上的完整芯片BP,BioTrain将内存足迹减少了8.1倍,从5.4 MB降至0.67 MB,与使用批标准化和批次大小8的传统全网络微调相比。
英文摘要:
Biosignals exhibit substantial cross-subject and cross-session variability, inducing severe domain shifts that degrade post-deployment performance for small, edge-oriented AI models. On-device adaptation is therefore essential to both preserve user privacy and ensure system reliability. However, existing sub-100 mW MCU-based wearable platforms can only support shallow or sparse adaptation schemes due to the prohibitive memory footprint and computational cost of full backpropagation (BP). In this paper, we propose BioTrain, a framework enabling full-network fine-tuning of state-of-the-art biosignal models under milliwatt-scale power and sub-megabyte memory constraints. We validate BioTrain using both offline and on-device benchmarks on EEG and EOG datasets, covering Day-1 new-subject calibration and longitudinal adaptation to signal drift. Experimental results show that full-network fine-tuning achieves accuracy improvements of up to 35% over non-adapted baselines and outperforms last-layer updates by approximately 7% during new-subject calibration. On the GAP9 MCU platform, BioTrain enables efficient on-device training throughput of 17 samples/s for EEG and 85 samples/s for EOG models within a power envelope below 50 mW. In addition, BioTrain's efficient memory allocator and network topology optimization enable the use of a large batch size, reducing peak memory usage. For fully on-chip BP on GAP9, BioTrain reduces the memory footprint by 8.1x, from 5.4 MB to 0.67 MB, compared to conventional full-network fine-tuning using batch normalization with batch size 8.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。