LIDIT: Low-Latency Intrusion Detection in IoMT Devices using TinyML

Shaila T Anuva, Shahrear Iqbal, Mohammad Zulkernine · 2025

The Internet of Medical Things (IoMT) is reshaping healthcare by facilitating real-time monitoring, diagnosis, and treatment through interconnected devices and systems. However, the proliferation of resource-constrained IoMT devices introduces substantial cybersecurity challenges. Due to limited computational and energy resources, conventional security mechanisms such as complex encryption algorithms and robust firewalls are often infeasible. This poses serious risks in critical healthcare applications where delayed threat detection can lead to life-threatening outcomes. To address these pressing challenges, this research presents LIDIT, a novel anomaly-based intrusion detection framework with specialized feature segmentation designed for resource-constrained environments using TinyML. Our approach employs a multi-branch LSTM-autoencoder model trained exclusively on benign traffic, utilizing an input segmentation strategy based on session-level, TCP flags, and time-window features to capture fine-grained temporal as well as contextual patterns in network behavior. We evaluate the model on the CICIoMT2024 dataset and demonstrate that our proposed segmentation improves anomaly detection performance over unified input models. The best-performing model achieved an accuracy of 0.9990 and an F1-score of 0.9988 with a recall of 0.9995. Post-training quantization using FLOAT16 and INT8 further reduced the model size to 0.23MB and 0.19 MB, respectively, making it suitable for real-time deployment. The system was successfully deployed on a Raspberry Pi Zero 2 W and evaluated under a SYN flood attack, detecting anomalies in real time with an average inference time of 15.25 milliseconds. These results confirm the effectiveness, efficiency, and deployability of LIDIT as a lightweight, low-latency intrusion detection solution for modern healthcare IoT systems.

Read the paper · More papers on PaperTik