Fully Autonomous Z-Score-Based TinyML Anomaly Detection on Resource-Constrained MCUs Using Power Side-Channel Data
Abdulrahman Albaiz, Fathi Amsaad

TL;DR
This paper introduces a fully autonomous TinyML anomaly detection system on resource-limited microcontrollers using power side-channel data, achieving real-time detection without external computation.
Contribution
The work presents a novel on-device Z-Score-based anomaly detection system that operates entirely on microcontrollers, eliminating the need for cloud or offline training.
Findings
Perfect detection performance with Precision and Recall of 1.00
Inference latency of tens of microseconds
Total memory footprint of approximately 3.3 KB SRAM and 63 KB Flash
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
