Home / Journals / CMC / Online First / doi:10.32604/cmc.2026.081953
Special Issues
Table of Content

Open Access

ARTICLE

A Novel Adaptive Deep Learning-Based Intrusion Detection System Using Particle Swarm Optimization

Soukaina Mjahed1, Ouail Mjahed2,*
1 Department of Computer Sciences, Faculty of Sciences Semlalia, Cadi Ayyad University, Marrakech, Morocco
2 Department of Computer Sciences, Faculty of Sciences and Technology, Cadi Ayyad University, Marrakech, Morocco
* Corresponding Author: Ouail Mjahed. Email: email

Computers, Materials & Continua https://doi.org/10.32604/cmc.2026.081953

Received 11 March 2026; Accepted 08 April 2026; Published online 27 April 2026

Abstract

The rapid emergence of sophisticated, dynamic, and rare or previously unseen attack pattern exposes fundamental limitations of conventional intrusion detection systems (IDS) based on static learning architectures. While deep learning (DL) models have demonstrated strong performance by capturing complex spatial and temporal traffic patterns, existing DL-based IDS largely rely on fixed decision structures, restricting adaptability to evolving threats. Furthermore, current hybrid DL-metaheuristic approaches typically use such metaheuristics as offline or auxiliary optimizers, without interacting with the deep model’s internal latent representations. This paper introduces a novel co-evolutionary IDS that establishes a tight, bidirectional coupling between DL and Particle Swarm Optimization (PSO) through latent-space-guided structural adaptation. A CNN-LSTM (Convolutional Neural Networks-Long Short-Term Memory) encoder learns discriminative spatial–temporal representations of network traffic, which dynamically guide PSO to select and optimize Adaptive Decision Blocks during training. Unlike prior hybrid methods, the proposed framework enables continuous co-evolution of both representation learning and decision structure, allowing the IDS to adapt its internal architecture in response to uncertain, rare, and previously unseen attack patterns. Comprehensive evaluations on UNSW-NB15, CICIDS2017, and ToN-IoT demonstrate statistically significant improvements over state-of-the-art DL and hybrid IDS approaches, achieving over 99.97% accuracy, recall and F1-score, and low-latency inference suitable for near real-time deployment.

Keywords

Classification; CNN; PSO; intrusion detection system; adaptive deep learning
  • 97

    View

  • 17

    Download

  • 0

    Like

Share Link