On-Device Training Based Anomaly Detection Platform

Authors

Keywords:

On-device training, autoencoder, anomaly detection, microcontroller unit, tiny machine learning (tinyML)

Abstract

Anomaly Detection (AD) identifies issues in monitored systems, allowing timely responses. It's used in areas like industrial systems, healthcare, and networks. Among various AD methods, Autoencoder (AE)-based models are popular for their unsupervised training, which doesn’t require labeled data. This study proposes a full platform that implements AE-based AD on tiny devices and tests it on motor operating noise. The hardware includes two microcontroller units (MCUs) responsible for (1) real-time data acquisition and processing, (2) AE training and threshold setting, and (3) running inference for anomaly alerts. To boost training speed, the platform supports both Stochastic Gradient Descent (SGD) and Adaptive Moment Estimation (Adam). The algorithm uses real-time data instead of pre-collected data to improve practical performance. Tests show the platform effectively trains on normal motor noise and accurately sets the anomaly threshold. It achieves a real-time anomaly detection accuracy of 100%. The system runs fully automatically, making it suitable for integration into edge AIoT systems.

Downloads

Download data is not yet available.

Downloads

Published

28-12-2025

Issue

Section

Articles

How to Cite

Thai, B.-T., Tran, V.-K., Nguyen, C.-N., & Nguyen, V.-K. (2025). On-Device Training Based Anomaly Detection Platform. Journal of Soft Computing and Data Mining, 6(3), 85-102. https://penerbit.uthm.edu.my/ojs/index.php/jscdm/article/view/22374