arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.08581cs.LG
收藏

基于功率侧信道数据的全自主Z分数TinyML异常检测

Fully Autonomous Z-Score-Based TinyML Anomaly Detection on Resource-Constrained MCUs Using Power Side-Channel Data

Wright State University(怀特州立大学)

Abdulrahman Albaiz, Fathi Amsaad

AI总结:

本文提出一种在低功耗微控制器上实现的全自主TinyML Z分数异常检测系统,利用功率侧信道数据实时监控设备行为,无需外部计算或连接,实现高效嵌入式部署。

摘要:

本文提出了一种在低功耗微控制器上实现的全自主TinyML Z分数异常检测系统,用于通过功率侧信道数据实时监控设备行为。与现有物联网异常检测方法不同,该系统在资源受限的微控制器上直接进行模型训练和推断,无需外部计算或连接。系统持续采样电流消耗,在设备上计算均方根(RMS)值,并在初始训练阶段推导统计参数。利用轻量级Z分数阈值检测异常,实现可解释且计算高效的推断,适用于嵌入式部署。该架构在基于STM32的平台上实现,并使用从家庭小型冰箱在正常运行和受控异常条件下收集的14天数据集进行评估。结果表明,检测性能完美,精度和召回率均为1.00,推断延迟在十微秒量级,总内存占用约为3.3 KB SRAM和63 KB Flash。这些结果证实,可以在低成本微控制器上实现稳健且完全自主的TinyML异常检测。未来的工作包括扩展框架以纳入额外轻量级模型和多设备学习场景。

英文摘要:

This paper presents a fully autonomous Tiny Machine Learning (TinyML) Z-Score-based anomaly detection system deployed on a low-power microcontroller for real-time monitoring of appliance behavior using power side-channel data. Unlike existing Internet of Things (IoT) anomaly detection approaches that rely on offline training or cloud-assisted analytics, the proposed system performs both model training and inference directly on a resource-constrained microcontroller without external computation or connectivity. The system continuously samples current consumption, computes Root Mean Square (RMS) values on-device, and derives statistical parameters during an initial training phase. Anomalies are detected using lightweight Z-Score thresholds, enabling interpretable and computationally efficient inference suitable for embedded deployment. The architecture was implemented on an STM32-based platform and evaluated using a 14-day dataset collected from a household mini-fridge under normal operation and controlled anomaly conditions. Results demonstrate perfect detection performance, with Precision and Recall of 1.00, inference latencies on the order of tens of microseconds, and a total memory footprint of approximately 3.3 KB SRAM and 63 KB Flash. These results confirm that robust and fully autonomous TinyML anomaly detection can be achieved on low-cost microcontrollers. Future work includes extending the framework to incorporate additional lightweight models and multi-device learning scenarios.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑