面向μNPUs的实时ECG和EMG建模
Towards Real-Time ECG and EMG Modeling on $μ$NPUs
AI总结:
本文提出PhysioLite模型,通过轻量架构和硬件优化,在μNPUs上实现ECG/EMG信号分析,性能媲美最新Transformer模型,且体积仅为10%。
摘要:
神经处理单元(NPUs)及其他低功耗加速器的微型化使其能够集成到微控制器规模的可穿戴硬件中,支持近实时、离线和隐私保护的推理。然而,生理信号分析在这样的硬件上仍不可行;最近的基于Transformer的模型表现出最先进的性能,但因体积过大且动态注意力操作不兼容μNPUs而无法使用。我们引入PhysioLite,一种轻量级、兼容NPUs的模型架构和训练框架,用于ECG/EMG信号分析。通过可学习的小波滤波器组、CPU卸载的位置编码和硬件感知的层设计,PhysioLite在ECG和EMG基准上达到与最新Transformer基础模型相当的性能,同时体积仅为10%(约370KB,8位量化)。我们还对其组件延迟和资源消耗进行了性能分析,证明其在受限、电池供电硬件上的可行性。我们在此发布模型和训练框架:https://github.com/j0shmillar/physiolite。
英文摘要:
The miniaturisation of neural processing units (NPUs) and other low-power accelerators has enabled their integration into microcontroller-scale wearable hardware, supporting near-real-time, offline, and privacy-preserving inference. Yet physiological signal analysis has remained infeasible on such hardware; recent Transformer-based models show state-of-the-art performance but are prohibitively large for resource- and power-constrained hardware and incompatible with $μ$NPUs due to their dynamic attention operations. We introduce PhysioLite, a lightweight, NPU-compatible model architecture and training framework for ECG/EMG signal analysis. Using learnable wavelet filter banks, CPU-offloaded positional encoding, and hardware-aware layer design, PhysioLite reaches performance comparable to state-of-the-art Transformer-based foundation models on ECG and EMG benchmarks, while being <10% of the size ($\sim$370KB with 8-bit quantization). We also profile its component-wise latency and resource consumption on both the MAX78000 and HX6538 WE2 $μ$NPUs, demonstrating its viability for signal analysis on constrained, battery-powered hardware. We release our model(s) and training framework at: https://github.com/j0shmillar/physiolite.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。