journal article·2025-02-24Open access

CGFL: A Robust Federated Learning Approach for Intrusion Detection Systems Based on Data Generation

Shu Feng, Luhan Gao, Leyi Shi

Applied Sciences· Volume 15· Issue 5

Abstract

The implementation of comprehensive security measures is a critical factor in the rapid growth of industrial control networks. Federated Learning has emerged as a viable solution for safeguarding privacy in machine learning. The effectiveness of pattern detection in models is diminished as a result of the difficulty in extracting attack information from extremely large datasets and obtaining an adequate number of examples for specific types of attacks. A robust Federated Learning method, CGFL, is introduced in this study to resolve the challenges presented by data distribution discrepancies and client class imbalance. By employing a data generation strategy to generate balanced datasets for each client, CGFL enhances the global model. It employs a data generator that integrates artificially generated data with the existing data from local clients by employing label correction and data generation techniques. The geometric median aggregation technique was implemented to enhance the security of the aggregation process. The model was simulated and evaluated using the CIC-IDS2017 dataset, NSL-KDD dataset, and CSE-CIC-IDS2018 dataset. The experimental results indicate that CGFL does an effective job of enhancing the accuracy of ICS attack detection in Federated Learning under imbalanced sample conditions.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Internet Traffic Analysis and Secure E-voting · Network Packet Processing and Optimization

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Qingdao Institute of Software, College of Computer Science and Technology, China University of Petroleum (East China), Qingdao 266580, China

References (49)

Show source-provided references
1. Deep learning methods in network intrusion detection: A survey and an objective comparison10.1016/j.jnca.2020.102767 ↗
2. Network intrusion detection system: A systematic study of machine learning and deep learning approaches10.1002/ett.4150 ↗
3. Anomaly-based network intrusion detection: Techniques, systems and challenges10.1016/j.cose.2008.08.003 ↗
4. Konečný, J., McMahan, H.B., Yu, F.X., Richtárik, P., Suresh, A.T., and Bacon, D. (2016). Federated learning: Strategies for improving communication efficiency. arXiv.
5. Federated learning for intrusion detection system: Concepts, challenges and future directions10.1016/j.comcom.2022.09.012 ↗
6. A study on the convergence of gradient method with momentum for sigma-pi-sigma neural networks10.4236/jamp.2018.64075 ↗
7. Huang, F., and Li, J. (2021). Compositional federated learning: Applications in distributionally robust averaging and meta learning. arXiv.
8. Bottou, L. (2010, January 22–27). Large-scale machine learning with stochastic gradient descent. Proceedings of the COMPSTAT’2010: 19th International Conference on Computational Statistics, Paris, France. Keynote, Invited and Contributed Papers.10.1007/978-3-7908-2604-3_16 ↗
9. Rakhlin, A., Shamir, O., and Sridharan, K. (2011). Making gradient descent optimal for strongly convex stochastic optimization. arXiv.
10. Local adagrad-type algorithm for stochastic convex-concave optimization10.1007/s10994-022-06239-z ↗
11. Da, K. (2014). A method for stochastic optimization. arXiv.
12. Large scale distributed deep networks
13. An efficient fake news detection system using contextualized embeddings and recurrent neural network
14. Classification with class imbalance problem
15. Semi-supervised learning with deep generative models
16. Learning structured output representation using deep conditional generative models
17. McMahan, B., Moore, E., Ramage, D., Hampson, S., and Aguera y Arcas, B. (2017). Communication-efficient learning of deep networks from decentralized data. Artificial Intelligence and Statistics, Google, Inc.
18. Federated optimization in heterogeneous networks
19. Asad, M., Moustafa, A., and Ito, T. (2020). Fedopt: Towards communication efficiency and privacy preservation in federated learning. Appl. Sci., 10.10.3390/app10082864 ↗
20. Karimireddy, S.P., Kale, S., Mohri, M., Reddi, S., Stich, S., and Suresh, A.T. (2020, January 13–18). Scaffold: Stochastic controlled averaging for federated learning. Proceedings of the International Conference on Machine Learning PMLR, Virtual.
21. Turk, M.A., and Pentland, A. (1991, January 3–6). Face recognition using eigenfaces. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Maui, HI, USA.
22. Independent component analysis application for fault detection in process industries: Literature review and an application case study for fault detection in multiphase flow systems10.1016/j.measurement.2023.112504 ↗
23. Gaussian mixture models10.1007/978-0-387-73003-5_196 ↗
24. An introduction to hidden Markov models10.1109/MASSP.1986.1165342 ↗
25. Data-driven subsurface modelling using a Markov random field model
26. Rue, H., and Held, L. (2005). Gaussian Markov Random Fields: Theory and Applications, Chapman and Hall/CRC.10.1201/9780203492024 ↗
27. Learning a restricted Boltzmann machine using biased Monte Carlo sampling10.21468/SciPostPhys.14.3.032 ↗
28. Hinton, G.E. (2012). A practical guide to training restricted Boltzmann machines. Neural Networks: Tricks of the Trade: Second Edition, Springer.10.1007/978-3-642-35289-8_32 ↗
29. Kingma, D.P., and Welling, M. (2013). Auto-encoding variational bayes. arXiv.
30. Generative adversarial nets
31. An effective convolutional neural network based on SMOTE and Gaussian mixture model for intrusion detection in imbalanced dataset10.1016/j.comnet.2020.107315 ↗
32. Network intrusion detection based on supervised adversarial variational auto-encoder with regularization10.1109/ACCESS.2020.2977007 ↗
33. Delta-encoder: An effective sample synthesis method for few-shot object recognition
34. Yue, Z., Li, M., Lai, L., Suda, N., Civin, D., and Chandra, V. (2018). Federated learning with non-iid data. arXiv.
35. A state-of-the-art survey on solving non-iid data in federated learning10.1016/j.future.2022.05.003 ↗
36. MyungJae, S., Hwang, C., Kim, J., Park, J., Bennis, M., and Kim, S. (2020). Xor mixup: Privacy-preserving data augmentation for one-shot federated learning. arXiv.
37. Towards asynchronous federated learning based threat detection: A DC-Adam approach10.1016/j.cose.2021.102344 ↗
38. Liu, H., and Lang, B. (2019). Machine learning and deep learning methods for intrusion detection systems: A survey. Appl. Sci., 9.10.3390/app9204396 ↗
39. Machine Learning-Based Detection of Anomalies, Intrusions and Threats in Industrial Control Systems10.1109/ACCESS.2025.3530902 ↗
40. Anomaly Detection in ICS Datasets with Machine Learning Algorithms10.32604/csse.2021.014384 ↗
41. ACSRA ICS: Automated Cyber Security Risk Assessment Methodology for Industrial Control Systems10.12700/APH.22.2.2025.2.4 ↗
42. Sarkar, P.K., Nguyen, H., and Farid, D.M. (2024, January 9–10). FLGAN-IDS: Intrusion detection using GANs with federated learning. Proceedings of the International Conference on Intelligent Systems and Data Science, Nha Trang, Vietnam.10.1007/978-981-97-9613-7_16 ↗
43. Zeng, Q., Olatunde-Salawu, S., and Nait-Abdesselam, F. (2024, January 28–30). FGA-IDS: A Federated Learning and GAN-Augmented Intrusion Detection System for UAV Networks. Proceedings of the 2024 IEEE 10th International Conference on Collaboration and Internet Computing (CIC), Washington, DC, USA.10.1109/CIC62241.2024.00017 ↗
44. Zhao, H., Liu, L., Fan, F., Zhang, H., and Ma, Y. (2024, January 22–24). An Adaptive Federated Learning Intrusion Detection System Based on Generative Adversarial Networks under the Internet of Things. Proceedings of the 2024 3rd Asia Conference on Algorithms, Computing and Machine Learning, Shanghai China.10.1145/3654823.3654824 ↗
45. Fed-anids: Federated learning for anomaly-based network intrusion detection systems10.1016/j.eswa.2023.121000 ↗
46. Xie, S. (2024). A Generative Account of Latent Abstractions. [Ph.D. Dissertation, University of California].
47. Light-weight federated learning-based anomaly detection for time-series data in industrial control systems10.1016/j.compind.2022.103692 ↗
48. Federated learning for intrusion detection in IoT security: A hybrid ensemble approach
49. Novikova, E., Doynikova, E., and Golubev, S. (2022). Federated learning for intrusion detection in the critical infrastructures: Vertically partitioned data use case. Algorithms, 15.10.3390/a15040104 ↗