TinyLearnED: Adaptive On-Device Edge Learning for IoT Anomaly Detection
Anomaly detection in cyber-physical systems (CPS) is difficult because system behaviour changes over time, and new attacks can appear after deployment. Most TinyML-based anomaly detection systems rely on static, pre-trained models, which cannot adapt once deployed. In addition, ground-truth labels are often unavailable during real CPS operations, restricting effective online learning. We present TinyLearnED, a weakly supervised framework for online anomaly detection. The framework supports online adaptation during the evaluated data streams without requiring post-deployment ground-truth labels. In particular, the framework exploits correlations among independent edge devices that observe the same physical environment. By exchanging binary anomaly decisions, these devices collaboratively generate pseudo-labels for training. Based on these pseudo-labels, each device performs local online fine-tuning, while a lightweight federated aggregation step averages final-layer parameters to smooth updates and improve resilience under the evaluated noisy and compromised-node conditions. During this process, the pre-trained feature extractor remains unchanged, and only a lightweight output layer is fine-tuned. We evaluate TinyLearnED on four XIAO ESP32S3 monitoring nodes using chronological replay of the Bolt 3D dataset, collected from one Prusa MK4 printer producing a single bolt geometry with triaxial accelerometer sensing. The results demonstrate that on-device adaptation is feasible without post-deployment ground-truth labels and yields task-dependent detection improvements in this testbed. Cross-geometry transfer and long-term deployment stability remain unevaluated.
Authors
- OMER F. RANA (ORCID: https://orcid.org/0000-0003-3597-2646)
- Charith Perera (ORCID: https://orcid.org/0000-0002-0190-3346)
- Hakan Kayan (ORCID: https://orcid.org/0000-0002-4878-2326)
- Abdulaziz Aljohani (ORCID: https://orcid.org/0009-0009-2990-6096)
Institutions
- King Abdulaziz University (SA)
- Cardiff University (GB)
Publication Details
- Journal
- ACM Transactions on Internet of Things
- Published
- 2026-11-13
- DOI
- https://doi.org/10.1145/3862766
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- GCHQ
- King Abdulaziz University
- Engineering and Physical Sciences Research Council
- Innovate UK