Research Article

Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023

Volume: 9 Number: 3 May 15, 2026
EN TR

Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023

Abstract

The Internet of Things (IoT) is now used across many connected settings, yet a large number of edge devices and gateways still have limited memory, processing capacity, and energy. Because of this, deployability becomes a central issue in intrusion detection, not something secondary to model accuracy. A detector that performs well in experiments may still be difficult to use in practice if it is too heavy or behaves unreliably at the edge. In this work, we study a lightweight intrusion detection framework using the CICIoT2023 benchmark. The framework includes leakage-aware preprocessing, aligned binary and multiclass labeling, several lightweight supervised models, compression for the neural model, and post hoc confidence calibration. We evaluate it under both a standard in-dataset setting and a more difficult within-dataset shift setting, where selected attack categories where selected attack categories are left out during training. The experiments cover Logistic Regression, Random Forest, LightGBM, and a compact multilayer perceptron, along with INT8 quantization, structured pruning, feature-subset ablation, and threshold-based decision control. In the standard setting, the tree-based models give the strongest overall results, while the compact neural model has the smallest footprint. The results are less reassuring under shift. When some attack families are absent from training, performance drops in a number of cases, most notably for reconnaissance-related traffic, even though the random-split results remain strong. A similar tradeoff appears in the calibration analysis: stricter thresholds reduce false alarms, but they also lower recall for malicious traffic. Overall, the results suggest that IoT intrusion detection should be evaluated with deployment in mind, considering predictive performance, runtime cost, confidence behavior, and robustness to distribution shift together.

Keywords

Ethical Statement

Ethics committee approval was not required for this study because there was no study on animals or humans.

Thanks

The numerical calculations reported in this paper were fully performed at TUBITAK ULAKBIM, High Performance and Grid Computing Center (TRUBA resources). The authors would also like to thank the Editor and the anonymous reviewers for their constructive comments and suggestions, which helped improve the quality of this manuscript.

References

  1. Al Rawajbeh, M., Maria Soosai, A. J., Ramasamy, L. K., & Khan, F. (2025). Trustworthy adaptive AI for real-time intrusion detection in industrial IoT security. IoT, 6(3), Article 53. https://doi.org/10.3390/iot6030053
  2. Alandjani, G. (2024). Optimizing malware detection for IoT and edge environments with quantization awareness. IEEE Access, 12, 166776–166791. https://doi.org/10.1109/access.2024.3495635
  3. Arcot, S., Masum, M., Kader, M. S., Saha, A., & Chowdhury, M. (2024). TinyML for cybersecurity: Deploying optimized deep learning models for on-device threat detection on resource-constrained devices. In 2024 IEEE International Conference on Big Data (BigData) (pp. 5542–5550). IEEE. https://doi.org/10.1109/bigdata62323.2024.10825955
  4. Hasan, T., Hossain, A., Ansari, M. Q., & Syed, T. H. (2025). Enhanced intrusion detection in IIoT networks: A lightweight approach with autoencoder-based feature learning [Preprint]. arXiv. https://doi.org/10.48550/ARXIV.2501.15266
  5. Hoang, T.-M., Pham, T.-A., Do, V.-V., Nguyen, V.-N., & Nguyen, M.-H. (2022). A lightweight DNN-based IDS for detecting IoT cyberattacks in edge computing. In 2022 International Conference on Advanced Technologies for Communications (ATC) (pp. 136–140). IEEE. https://doi.org/10.1109/atc55345.2022.9943049
  6. Ismail, S., Dandan, S., Dawoud, D. W., & Reza, H. (2024). A comparative study of lightweight machine learning techniques for cyber-attacks detection in blockchain-enabled industrial supply chain. IEEE Access, 12, 102481–102491. https://doi.org/10.1109/access.2024.3432454
  7. Katsura, Y., Endo, A., Arai, I., & Fujikawa, K. (2025). Efficient IDS for IoT networks using host-based data aggregation and multi-entropy analysis. IEEE Access, 13, 125406–125419. https://doi.org/10.1109/access.2025.3589057
  8. Liu, Z., Thapa, N., Shaver, A., Roy, K., Siddula, M., Yuan, X., & Yu, A. (2021). Using embedded feature selection and CNN for classification on CCD-INID-V1—A new IoT dataset. Sensors, 21(14), Article 4834. https://doi.org/10.3390/s21144834

Details

Primary Language

English

Subjects

Information Security Management

Journal Section

Research Article

Publication Date

May 15, 2026

Submission Date

March 8, 2026

Acceptance Date

April 15, 2026

Published in Issue

Year 2026 Volume: 9 Number: 3

APA
Keskin, F., & Oz, G. (2026). Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023. Black Sea Journal of Engineering and Science, 9(3), 1218-1229. https://doi.org/10.34248/bsengineering.1905346
AMA
1.Keskin F, Oz G. Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023. BSJ Eng. Sci. 2026;9(3):1218-1229. doi:10.34248/bsengineering.1905346
Chicago
Keskin, Fesih, and Gulser Oz. 2026. “Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023”. Black Sea Journal of Engineering and Science 9 (3): 1218-29. https://doi.org/10.34248/bsengineering.1905346.
EndNote
Keskin F, Oz G (May 1, 2026) Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023. Black Sea Journal of Engineering and Science 9 3 1218–1229.
IEEE
[1]F. Keskin and G. Oz, “Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023”, BSJ Eng. Sci., vol. 9, no. 3, pp. 1218–1229, May 2026, doi: 10.34248/bsengineering.1905346.
ISNAD
Keskin, Fesih - Oz, Gulser. “Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023”. Black Sea Journal of Engineering and Science 9/3 (May 1, 2026): 1218-1229. https://doi.org/10.34248/bsengineering.1905346.
JAMA
1.Keskin F, Oz G. Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023. BSJ Eng. Sci. 2026;9:1218–1229.
MLA
Keskin, Fesih, and Gulser Oz. “Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023”. Black Sea Journal of Engineering and Science, vol. 9, no. 3, May 2026, pp. 1218-29, doi:10.34248/bsengineering.1905346.
Vancouver
1.Fesih Keskin, Gulser Oz. Lightweight and Reliable IoT Intrusion Detection at the Edge: Compression, Calibration, and Shift-Aware Evaluation on CICIoT2023. BSJ Eng. Sci. 2026 May 1;9(3):1218-29. doi:10.34248/bsengineering.1905346

                            24890