GHO-Net: An Optimized and Explainable LightGBM Framework for 5G Core Network Anomaly Detection
DOI:
https://doi.org/10.21015/vtse.v14i3.2576Abstract
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
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (CC-By) that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This work is licensed under a Creative Commons Attribution License CC BY