Personalized Few-Shot Federated Meta-Learning with Transfer Knowledge for Zero-Day Attack Detection in Resource-Constrained Wireless Sensor Security Under 6G THz Networks
DOI:
https://doi.org/10.21928/uhdjst.v10n1y2026.pp45-57Keywords:
Federated Learning, Meta-Learning, Few-Shot Learning, Zero-Day Attack Detection, Wireless Sensor Networks, MAML, Intrusion detection system techniques, IoT SecurityAbstract
Wireless sensor networks of IoT have very relevant security threats regarding zero-day attacks, new attacks, and no training patterns, which put conventional detection to the test. Not only does this pose a challenge to detection since there are few labeled samples once the zero-day attacks are detected (5–20), but also limited power and processing resources, in addition to privacy matters in decentralized settings. We present a state-of-the-art solution based on personalized federated meta-learning and few-shot learning. Our solutions combine federated learning (FL) for privacy-preserving decentralized training, model-agnostic meta-learning (MAML) for few-shot learning adaptation, and transfer learning (TL) for prior exposure to the attacks. We implement a lightweight model (12.79 KB) with a personalized layer, meaning that while the model is trained globally during federated training, each sensor node can also adapt to its specific local network features. We validate our solution on CICIDS2017, which includes four completely unknown zero-day attack types: Bot, DoS Slowloris, Heartbleed, and DoS GoldenEye. We achieve 64.04% accuracy and 77.93% F1-Score in the 20-shot scenario, 467% greater than the baseline (11.29% accuracy) while achieving 100% precision and size of the model (25–66 times smaller than the rest). Our results prove that the combination of FL, MAML, and TL is an effective solution for few-shot detection of zero-day attacks in real IoT networks, where conventional solutions cannot operate with such extreme limitations.
References
N. A. S. Al-Jamali, A. R. Zarzoor and H. Al-Raweshidy. “An effective technique of zero-day attack detection in the internet of things network based on the conventional spike neural network learning method”. IET Networks, vol. 14, pp. 1-12, 2025.
A. Khraisat, A. Alazab, A. Obeidat, S. Singh and T. Jan. “Federated learning for intrusion detection in IoT environments: A privacy-preserving strategy”. Discover Internet of Things, vol. 5, pp. 1-17, 2025.
B. McMahan, E. Moore, D. Ramage, S. Hampson and B. A. Y Arcas. “Communication-Efficient Learning of Deep Networks from Decentralized Data”. In: Proceedings of the 20th International Conference on Artificial Intelligence and Statistics (AISTATS). 2017, pp. 1273-1282.
S. A. Alansary, S. M. Ayyad, F. M. Talaat and M M. Saafan. “Emerging AI threats in cybercrime: A review of zero-day attacks via machine, deep, and federated learning”. Knowledge and Information Systems, vol. 67, no. 11, pp. 10951-10987, 2025.
C. Finn, P. Abbeel and S. Levine. “Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks”. In: Proceedings of the 34th International Conference on Machine Learning (ICML). vol. 70, pp. 1126-1135, 2017.
S. J. Pan and Q. Yang. “A survey on transfer learning”. IEEE Transactions on Knowledge and Data Engineering, vol. 22, no. 10, pp. 1345-1359, 2010.
T. Ohtani, R. Yamamoto and S. Ohzahata. “IDAC: Federated learning-based intrusion detection using autonomously extracted anomalies in IoT”. Sensors, vol. 24, no. 10, p. 3218, 2024.
S. I. Popoola, R. Ande, B. Adebisim, G. Gui, M. Hammoudeh and O. Jogunola. “Federated deep learning for zero-day botnet attack detection in IoT-Edge devices”. IEEE Internet of Things Journal, vol. 9, no. 5, pp. 3930-3944, 2022.
F. S. Alrayes, S. U. Amin and N. Hakami. “An adaptive framework for intrusion detection in IoT security using MAML (model-agnostic meta-learning)”. Sensors, vol. 25, no. 8, p. 2487, 2025.
C. Xu, J. Shen and X. Du. “A method of few-shot network intrusion detection based on meta-learning framework”. IEEE Transactions on Information Forensics and Security, vol. 15, pp. 3540-3552, 2020.
J. Bo, K. Chen, S. Li and P. Gao. “Boosting few-shot network intrusion detection with adaptive feature fusion mechanism”. Electronics, vol. 13, no. 22, p. 4560, 2024.
Z. Shi, M. Xing, J. Zhang and B. Hao Wu. “Few-Shot Network Intrusion Detection Based on Model-Agnostic Meta-Learning with L2F Method”. In: IEEE Wireless Communications and Networking Conference (WCNC). pp. 1-6, 2023.
Y. Yan, Y. Yang, F. Shen, M. Gao and Y. Gu. “Meta learning-based few-shot intrusion detection for 5G-enabled industrial Internet”. Complex and Intelligent System, vol. 10, no. 3, pp. 4589-4608, 2024.
P. Wu, H. Guo and R. Buckland. “A Transfer Learning Approach for Network Intrusion Detection”. [arXiv Preprint], 2019.
S. Abdelhamid, I. Hegazy, M. Aref and M. Roushdy. “Attention-driven transfer learning model for improved IoT intrusion detection”. Big Data and Cognitive Computing, vol. 8, no. 9, p. 116, 2024.
E. Rodríguez, P. Valls, B. Otero, J. J. Costa, J. Verdú, M. A. Pajuelo and R. Canal. “Transfer-learning-based intrusion detection framework in IoT networks”. Sensors, vol. 22, no. 15, p. 5621, 2022.
L. You, Z. Guo, C. Yuen, C. Y. Chen, Y. Zhang and H. V. Poor. “A framework reforming personalized Internet of Things by federated meta-learning”. Nature Communications, vol. 16, no. 1, p. 3739, 2025.
C. Ximing, H. Xilong, C. Du, W. Tiejun, T. Qingyu, C. Rongrong and Q. Jing “FedMEM: Adaptive personalized federated learning framework for heterogeneous mobile edge environments”. International Journal of Computational Intelligence Systems, vol. 18, no. 1, pp. 1-20, 2025.
M. Firdaus, S. Noh, Z. Qian, H. T. Larasati and K. H. Rhee. “Personalized federated learning for heterogeneous data: A distributed edge clustering approach”. Mathematical Biosciences and Engineering, vol. 20, no. 6, pp. 10725-10740, 2023.
C. Ma, X. Li, B. Huang, G. Li and F. Li. “Personalized client-edge-cloud hierarchical federated learning in mobile edge computing”. Journal of Cloud Computing, vol. 13, no. 1, p. 161, 2024.
K. Xing, Y. Dong, X. Fan, R. Zeng, V.C.M. Leung, M. J. Deen and X. Hu. “CO-PFL: Contribution-Oriented Personalized Federated Learning for Heterogeneous Networks”. [arXiv Preprint], 2025.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Dlsoz Abdalkarim Rashid, Tara Nawzad Ahmad Al Attar, Hawar Othman Sharif Sharif

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
