An adaptive contextual memory controller based long short-term memory (ACMC-LSTM) for intrusion detection in network traffic
Mudatheer M. Al-Slivani, Ibrahim O. Alrubaye, Mayameen S. Kadhim, Ahmed Dheyaa Radhi, Hussein A. A. Al-Khamees, Nor Samsiah Sani, Mohd Aliff Afira Sani, Mohammed Amin Almaiah
Key points
From the paper's conclusion- The results of the proposed model outperform those of many machine learning models, including standard LSTM, multilayer perceptron (MLP), logistic regression with SGD (SGD Logistic), recurrent neural network (RNN), gated recurrent unit (GRU), Autoencoder models, and many previously proposed models.
Abstract
Intrusion detection systems (IDSs) are essential for protecting contemporary networks from ever-more-sophisticated cyberattacks. It is difficult for traditional detection techniques to identify long-term dependencies in sequential network traffic data. Long-Short-Term Memory (LSTM) is an important type of recurrent neural network (RNN) used to model long-duration dependencies. This paper presents an intelligent conceptual framework that simulates how humans manage memory. More specifically, it proposes an adaptive contextual memory controller (ACMC) with an LSTM model by integrating (1) the feature-wise attention and (2) the temporal attention mechanism for detecting the attacks in the network. The first assigns context-dependent weights to each feature of each input sample during model training through a lightweight sub-network with two dense layers to learn attention weights. Whereas, the second enhances the capacity to identify subtle attack patterns in network traffic by preferentially focusing on the most pertinent time steps in a sequence. In the feature selection step, a median-based relevance threshold on the normalized hybrid feature importance scores derived from the mutual information (MI) and random forest (RF) method is applied. The ACMC-LSTM model is rigorously tested on the CICIDS2017 and IoTID20 datasets, while its results are evaluated in terms of accuracy, precision, recall, F1_score, ROC-AUC, and FPR. Experimental results show that this model improves detection accuracy, reduces FPR, and outperforms standard LSTM and many neural network methods, achieving accuracies of 0.9804 and 0.9358 on these datasets, respectively. The results of the proposed model outperform those of many machine learning models, including standard LSTM, multilayer perceptron (MLP), logistic regression with SGD (SGD Logistic), recurrent neural network (RNN), gated recurrent unit (GRU), Autoencoder models, and many previously proposed models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Hybrid CNN-BiLSTM Attention-Based Framework for Intelligent Intrusion DetectionInternational Journal of Innovative Science and Research Technology (IJISRT) · 2026
- Optimizing Long Short-Term Memory-based Intrusion Detection: A Systematic Learning Rate Calibration and Hybrid Feature Selection MethodInternational Journal of Computational Intelligence Systems · 2026
- A hybrid BiLSTM-CNN approach for intrusion detection for IoT applicationsScientific Reports · 2025
- AI-Driven Security: Detecting Cyber Attacks in IoT Networks.Sensors (Basel, Switzerland) · 2026
- Attention-Enhanced CNN–BiLSTM Intrusion Detection for Cross-Layer Patient-State Dissociation Attacks in Smart Hospital IoMT SystemsElectronics · 2026
- Multi-scale attention fusion for enhanced transformer models in intrusion detection systemsComputer Networks · 2026