Research Article

Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization

Volume: 9 Number: 5 October 30, 2026

Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization

Abstract

Ensuring network security and preventing malicious attacks are crucial aspects of modern network management. In this context, various algorithms are employed to differentiate unauthorized access from authorized access, enabling monitoring of network traffic and detecting different types of attacks. However, traditional techniques have faced difficulty maintaining accuracy when predicting malicious activities. This study proposes an effective Intrusion Detection System mechanism designed to detect and classify attacks using the NSL-KDD and UNSW-NB15 datasets to address these challenges. The architecture of the proposed Convolutional Neural Network is optimized through hyperparameter tuning via Genetic Algorithm and Particle Swarm Optimization. As a result, the proposed approach achieves high-performance outcomes, attaining an accuracy of 99.80% with the NSL-KDD dataset and 99.02% with the UNSW-NB15 dataset. This innovative approach demonstrates significant improvement in identifying network intrusions compared to traditional methods. Consequently, it offers a reliable and efficient solution for enhancing network security, providing accurate detection of various attack types while minimizing false positives. The proposed model’s robust performance suggests that it can serve as an effective solution for real-time intrusion detection in modern network settings.

Keywords

Ethical Statement

It is declared that during the preparation process of this study, scientific and ethical principles were followed, and all the studies benefited from are stated in the bibliography.

References

  1. Y. Yang and P. Zhao, “Research on dung beetle optimization based stacked sparse autoencoder for network situation element extraction,” IEEE Access, vol. 12, pp. 24014–24026, 2024, doi: 10.1109/ACCESS.2024.3365495.
  2. K. Zhao, Z. Zhang, K.-K. R. Choo, Z. Zhang, and T. Zhang, “A combinatorial optimization analysis method for detecting malicious industrial Internet attack behaviors,” ACM Trans. Cyber-Phys. Syst., vol. 8, no. 1, Art. no. 8, pp. 1–20, 2024, doi: 10.1145/3637554.
  3. S. Muneer, U. Farooq, A. Athar, M. A. Raza, T. M. Ghazal, and S. Sakib, “A critical review of artificial intelligence based approaches in intrusion detection: A comprehensive analysis,” Journal of Engineering, vol. 2024, no. 1, Art. no. 3909173, 2024, doi: 10.1155/2024/3909173.
  4. M. Gopinath and S. C. Sethuraman, “A comprehensive survey on deep learning based malware detection techniques,” Computer Science Review, vol. 47, Art. no. 100529, 2023, doi: 10.1016/j.cosrev.2022.100529.
  5. G. S. C. Kumar, R. K. Kumar, K. P. V. Kumar, N. R. Sai, and M. Brahmaiah, “Deep residual convolutional neural network: An efficient technique for intrusion detection system,” Expert Systems with Applications, vol. 238, Art. no. 121912, 2024, doi: 10.1016/j.eswa.2023.121912.
  6. X. Li, W. Chen, Q. Zhang, and L. Wu, “Building auto-encoder intrusion detection system based on random forest feature selection,” Computers & Security, vol. 95, Art. no. 101851, 2020, doi: 10.1016/j.cose.2020.101851.
  7. M. A. Talukder, S. Sharmin, M. A. Uddin, M. M. Islam, and S. Aryal, “MLSTL-WSN: Machine learning-based intrusion detection using SMOTETomek in WSNs,” International Journal of Information Security, vol. 23, no. 3, pp. 2139–2158, 2024, doi: 10.1007/s10207-024-00833-z.
  8. E. Altulaihan, M. A. Almaiah, and A. Aljughaiman, “Anomaly detection IDS for detecting DoS attacks in IoT networks based on machine learning algorithms,” Sensors, vol. 24, no. 2, Art. no. 713, 2024, doi: 10.3390/s24020713.

Details

Primary Language

English

Subjects

System and Network Security, Software and Application Security

Journal Section

Research Article

Early Pub Date

October 27, 2026

Publication Date

October 30, 2026

Submission Date

May 6, 2026

Acceptance Date

August 21, 2026

Published in Issue

Year 2026 Volume: 9 Number: 5

APA
Keleş, A., Kus, İ., & Koçak, C. (2026). Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization. Sakarya University Journal of Computer and Information Sciences, 9(5), 1512-1522. https://doi.org/10.35377/saucis...1945980
AMA
1.Keleş A, Kus İ, Koçak C. Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization. SAUCIS. 2026;9(5):1512-1522. doi:10.35377/saucis.1945980
Chicago
Keleş, Ayşe, İlya Kus, and Cemal Koçak. 2026. “Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization”. Sakarya University Journal of Computer and Information Sciences 9 (5): 1512-22. https://doi.org/10.35377/saucis. 1945980.
EndNote
Keleş A, Kus İ, Koçak C (October 1, 2026) Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization. Sakarya University Journal of Computer and Information Sciences 9 5 1512–1522.
IEEE
[1]A. Keleş, İ. Kus, and C. Koçak, “Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization”, SAUCIS, vol. 9, no. 5, pp. 1512–1522, Oct. 2026, doi: 10.35377/saucis...1945980.
ISNAD
Keleş, Ayşe - Kus, İlya - Koçak, Cemal. “Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization”. Sakarya University Journal of Computer and Information Sciences 9/5 (October 1, 2026): 1512-1522. https://doi.org/10.35377/saucis. 1945980.
JAMA
1.Keleş A, Kus İ, Koçak C. Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization. SAUCIS. 2026;9:1512–1522.
MLA
Keleş, Ayşe, et al. “Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization”. Sakarya University Journal of Computer and Information Sciences, vol. 9, no. 5, Oct. 2026, pp. 1512-2, doi:10.35377/saucis. 1945980.
Vancouver
1.Ayşe Keleş, İlya Kus, Cemal Koçak. Optimized CNN-Based Intrusion Detection System Using Genetic Algorithm and Particle Swarm Optimization. SAUCIS. 2026 Oct. 1;9(5):1512-2. doi:10.35377/saucis. 1945980

 

INDEXING & ABSTRACTING & ARCHIVING

 

31045 31044   Anadolu Türk Eğitim Dergisi  31047 

31043 28939 28938 34240
 

 

29070    The papers in this journal are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License