GHO-Net: An Optimized and Explainable LightGBM Framework for 5G Core Network Anomaly Detection

Authors

  • Lokesha Holenarasipur Ramachandra Assistant Professor, Department of Electronics and Communication Engineering, The National Institute of Engineering South Campus, Mananthavady Road, Mysuru, Karnataka 570008, India https://orcid.org/0009-0005-5141-6721
  • Prerana Nilesh Khairnar Assistant Professor, Department of Computer Engineering, Sir Visvesvaraya Institute of Technology, Chincholi, Nashik, Maharashtra, India https://orcid.org/0009-0004-1017-1054
  • Sharanyaa Sigamani Assistant Professor, Department of Information Technology, Panimalar Engineering College, Chennai, Tamil Nadu, India https://orcid.org/0000-0001-7119-7718
  • Ranjitha Boyapati Assistant Professor, Department of Mathematics, Mohan Babu University, A. Rangampet, Tirupati, Andhra Pradesh, India https://orcid.org/0000-0003-2138-8430
  • Hema Mayavan Assistant Professor, Department of Information Technology Easwari Engineering College Ramapuram, Chennai, Tamil Nadu, India https://orcid.org/0000-0002-4942-5806
  • Shital Parag Dongre Associate Professor, Department of Artificial Intelligence and Data Science Vishwakarma Institute of Information Technology Pune, Maharashtra, India https://orcid.org/0000-0002-0409-8231

DOI:

https://doi.org/10.21015/vtse.v14i3.2576

Abstract

The high dimensionality of traffic, severe class imbalance, hyperparameter sensitivity, and lack of model interpretability pose challenges to reliable multiclass anomaly detection in Fifth-Generation (5G) core networks. The study presents an optimization-guided and explainable machine-learning framework, Grey Wolf Hyperparameter-Optimized LightGBM Network (GHO-Net), incorporating traffic-flow preprocessing, six domain-derived features, Mutual Information (MI) feature selection, training-only Random Oversampling (ROS), Grey Wolf Optimization (GWO), Light Gradient Boosting Machine (LightGBM) classification, and SHapley Additive exPlanations (SHAP) feature attribution. A total of 1,212,532 traffic records were distributed among nine classes in the cleaned 5G Network Intrusion Detection Dataset (5G-NIDD). MI selected 35 of 53 candidate predictors based on the validation weighted F1-score, and GWO optimized seven LightGBM hyperparameters. GHO-Net achieved 98.1885% accuracy, 98.2100% weighted precision, 98.1885% recall, 98.1887% weighted F1-score, and 99.6784% specificity on an independent test partition. It also obtained ROC-AUC of 0.998 and PR-AUC of 0.985. Pairwise comparisons showed that GHO-Net achieved higher accuracy on hard labels, while Decision Tree, Random Forest, and baseline LightGBM recorded slightly higher accuracy. Baseline LightGBM has the highest ROC-AUC and PR-AUC, whereas GHO-Net has the lowest log loss. The measured inference latency was 0.176860 ms per flow in the offline CPU benchmark. Due to this latency, which is higher than that of the baseline classifiers, and testing in live deployment, it cannot be considered suitable for real-time use in 5G core monitoring.

References

[1] G. K. Pavani and B. Veeramallu, “Hybrid machine learning framework for anomaly detection in 5G networks,” Journal of Information Systems Engineering & Management, vol. 10, no. 32s, 2025, doi: 10.52783/jisem.v10i32s.5406. DOI: https://doi.org/10.52783/jisem.v10i32s.5406

[2] V. Sanvika, M. P. Chandra, Shamitha, and I. Singh, “Anomaly detection in 5G cellular networks using machine learning,” in 2025 IEEE International Students' Conference on Electrical, Electronics and Computer Science (SCEECS), 2025, pp. 1–5, doi: 10.1109/SCEECS64059.2025.10940408. DOI: https://doi.org/10.1109/SCEECS64059.2025.10940408

[3] T. Zhu, Y. Narusue, and H. Morikawa, “Fault diagnosis using hybrid transfer learning for VNF-based 5G core networks,” in Proc. IEEE NFV-SDN, 2024, pp. 1–4, doi: 10.1109/NFV-SDN61811.2024.10807503. DOI: https://doi.org/10.1109/NFV-SDN61811.2024.10807503

[4] G. Trappolini, A. Purificato, F. Siciliano, et al., “Quantized auto encoder-based anomaly detection for multivariate time series data in 5G networks,” IEEE Access, vol. 13, pp. 82668–82679, 2025, doi: 10.1109/ACCESS.2025.3568133. DOI: https://doi.org/10.1109/ACCESS.2025.3568133

[5] L. F. Maimó, Á. P. Gómez, F. G. Clemente, et al., “A self-adaptive deep learning-based system for anomaly detection in 5G networks,” IEEE Access, vol. 6, pp. 7700–7712, 2018, doi: 10.1109/ACCESS.2018.2803446. DOI: https://doi.org/10.1109/ACCESS.2018.2803446

[6] S. Sevgican, M. Turan, K. Gökarslan, et al., “Intelligent network data analytics function in 5G cellular networks using machine learning,” J. Commun. Netw., vol. 22, pp. 269–280, 2020, doi: 10.1109/JCN.2020.000019. DOI: https://doi.org/10.1109/JCN.2020.000019

[7] P. Dass, A. Rajak, and R. Tripathi, “Machine learning-enabled techniques for anomaly detection in 5G networks,” in Proc. IEEE ICCCNT, 2024, pp. 1–7, doi: 10.1109/ICCCNT61001.2024.10724005. DOI: https://doi.org/10.1109/ICCCNT61001.2024.10724005

[8] L. F. Maimó, A. H. Celdrán, G. Pérez, et al., “Dynamic management of a deep learning-based anomaly detection system for 5G networks,” J. Ambient Intell. Humaniz. Comput., vol. 10, pp. 3083–3097, 2018, doi: 10.1007/s12652-018-0813-4. DOI: https://doi.org/10.1007/s12652-018-0813-4

[9] P. Alves, M. Goldbarg, W. Barros, et al., “Machine learning applied to anomaly detection on 5G O-RAN architecture,” Procedia Computer Science, pp. 81–93, 2023, doi: 10.1016/j.procs.2023.08.146. DOI: https://doi.org/10.1016/j.procs.2023.08.146

[10] A. Issa, N. Kandil, and N. Hakem, “Deep learning-based anomaly detection for 5G core mobility management,” in Proc. IEEE ACTEA, 2023, pp. 25–29, doi: 10.1109/ACTEA58025.2023.10194147. DOI: https://doi.org/10.1109/ACTEA58025.2023.10194147

[11] A. Sinha, A. Agrawal, S. Roy, et al., “AnDet: ML-based anomaly detection of UEs in a multi-cell B5G mobile network for improved QoS,” in Proc. IEEE ICNC, 2024, pp. 500–505, doi: 10.1109/ICNC59896.2024.10556379. DOI: https://doi.org/10.1109/ICNC59896.2024.10556379

[12] Y. Tan, J. Wang, J. Liu, et al., “Deep learning-based log anomaly detection for 5G core network,” in Proc. IEEE ICCC-China, 2023, pp. 1–6, doi: 10.1109/ICCC57788.2023.10233555. DOI: https://doi.org/10.1109/ICCC57788.2023.10233555

[13] J. M. Oliveira, C. Morais, D. Macedo, et al., “A comparative analysis of feature selection and machine learning algorithms for enhanced anomaly detection in 5G core networks,” in Proc. IEEE GIIS, 2025, pp. 1–6, doi: 10.1109/GIIS64151.2025.10921756. DOI: https://doi.org/10.1109/GIIS64151.2025.10921756

[14] T. Q. Vinh, D. V. Quan, Thanh-Toan, et al., “An efficient lightweight anomaly detection for 5G core network,” in Proc. IEEE ICCE, 2024, pp. 1–6, doi: 10.1109/ICCE59016.2024.10444414. DOI: https://doi.org/10.1109/ICCE59016.2024.10444414

[15] U. Haider, M. Waqas, M. Hanif, et al., “Network load prediction and anomaly detection using ensemble learning in 5G cellular networks,” Comput. Commun., vol. 197, pp. 141–150, 2022, doi: 10.1016/j.comcom.2022.10.017. DOI: https://doi.org/10.1016/j.comcom.2022.10.017

[16] A.-U. Rahman, M. Mahmud, T. Iqbal, et al., “Network anomaly detection in 5G networks,” Math. Model. Eng. Probl., vol. 9, 2022, doi: 10.18280/mmep.090213. DOI: https://doi.org/10.18280/mmep.090213

[17] A. Gopikrishnan, A. Prakash, C. Hein, et al., “Anomaly detection using a semi-supervised deep learning model on open 5G core metrics during user-equipment registration,” in Proc. IEEE CSCN, 2023, pp. 106–112, doi: 10.1109/CSCN60443.2023.10453203. DOI: https://doi.org/10.1109/CSCN60443.2023.10453203

[18] M. J. Reis, “AI-driven anomaly detection for securing IoT devices in 5G-enabled smart cities,” Electronics, vol. 14, no. 12, p. 2492, 2025, doi: 10.3390/electronics14122492. DOI: https://doi.org/10.3390/electronics14122492

[19] A. Issa, N. Kandil, N. Hakem, and A. Hamou-Lhadj, “TeleGAN-Core: A BiLSTM dual-autoencoder GAN for 5G core anomaly detection,” IEEE Access, 2026, doi: 10.1109/ACCESS.2026.3699648. DOI: https://doi.org/10.1109/ACCESS.2026.3699648

[20] L. Zeng, Y. An, H. Zhou, Q. Luo, Y. Lin, and Z. Zhang, “A hybrid machine learning-based data-centric cybersecurity detection in the 5G-enabled IoT,” Security and Privacy, vol. 8, no. 2, p. e472, 2025. DOI: https://doi.org/10.1002/spy2.472

[21] L. Lei, L. Kou, X. Zhan, J. Zhang, and Y. Ren, “An anomaly detection algorithm based on ensemble learning for 5G environment,” Sensors, vol. 22, no. 19, p. 7436, 2022, doi: 10.3390/s22197436. DOI: https://doi.org/10.3390/s22197436

[22] F. Banu, S. Singh, S. Z. Beevi, K. Pavithra, J. J. Yasmin, and K. I. A. James, “A hybrid deep learning framework for real-time anomaly detection in IoT-enabled smart grid networks,” SN Computer Science, vol. 7, no. 5, p. 394, 2026, doi: 10.1007/s42979-026-05005-5.

[23] V. Abella, J. K. Lastre, I. W. A. J. Pawana, D. Lee, B. Kim, and I. You, “Benchmarking deep learning architectures for real-time intrusion detection in Kubernetes-orchestrated 5G core networks,” Research Briefs on Information and Communication Technology Evolution, vol. 12, pp. 57–66, 2026, doi: 10.64799/rebicte.V12.3. DOI: https://doi.org/10.64799/rebicte.V12.3

[24] M. A. Bouke and A. Abdullah, “An empirical assessment of ML models for 5G network intrusion detection: A data leakage-free approach,” e-Prime – Advances in Electrical Engineering, Electronics and Energy, vol. 8, p. 100590, 2024, doi: 10.1016/j.prime.2024.100590. DOI: https://doi.org/10.1016/j.prime.2024.100590

[25] “5G-NIDD Dataset,” Kaggle. [Online]. Available: https://www.kaggle.com/datasets/humera11/5g-nidd-dataset. [Accessed: Sep. 28, 2026].

Downloads

Published

2026-09-29

How to Cite

Ramachandra, L. H., Khairnar, P. N., Sigamani, S., Boyapati, R., Mayavan, H., & Dongre, S. P. (2026). GHO-Net: An Optimized and Explainable LightGBM Framework for 5G Core Network Anomaly Detection. VFAST Transactions on Software Engineering, 14(3), 569–590. https://doi.org/10.21015/vtse.v14i3.2576