Optimizing Long Short-Term Memory-based Intrusion Detection: A Systematic Learning Rate Calibration and Hybrid Feature Selection Method
Mohammed Amin Almaiah, Ahmed Sileh Gifal, Mayameen S. Kadhim, Ibrahim O. Alrubaye, Nor Samsiah Sani, Hussein A. A. Al-Khamees, Mohd Aliff Afira Sani
Key points
From the paper's conclusion- The findings analysis identified the best learning rate is as follows: 0.03 for binary class and 0.008 for multi-class.
Abstract
Numerous issues for individuals and organizations are being brought on by widespread and steadily growing cybersecurity threats, thus making it an effective field for researchers. In the fast-paced world, machine learning and neural networks are the efficient foundation for many systems. The long short-term memory (LSTM) is a major type of recurrent neural network (RNN) that is actually applied to different tasks, such as attack detection. LSTM still suffers from adjusting its parameters, like the learning rate, which controls the estimated error. We propose a unified optimization framework that simultaneously enhances feature relevance and learning dynamics by integrating gradient-based feature ranking with theoretically guided learning-rate calibration. More specifically, this framework suggests (1) a new domain-aware dimensionality reduction method by integrating statistical (correlation), model-based (gradients), and domain-based feature importance ratings; this method effectively reduced the feature space from 79 to 55 dimensions and (2) an LSTM model to explore the effect of the learning rate values on its performance by testing different learning rate values in three intervals $$10^{-3}$$ (0.001-0.009), $$10^{-2}$$ (0.01-0.09), and $$10^{-1}$$ (0.1-0.9). Then, the model adopts the best value to retrain the network. The proposed model is evaluated on the CICIDS2017 by classifying its data samples into binary and multiclass classification tasks. The findings analysis identified the best learning rate is as follows: 0.03 for binary class and 0.008 for multi-class. The proposed model achieves the following results through the best learning rate values: accuracy (0.9865, 0.9846); precision (0.9859, 0.9395); recall (0.9862, 0.9784); F1_score (0.9847, 0.9586); Receiver Operating Characteristic–Area Under the Curve (ROC-AUC) (0.9993, 0.9985); and Matthews Correlation Coefficient (MCC) (0.9571, 0.9484) for binary and multi-class classification, respectively. Moreover, four additional statistical metrics are used to validate the experiments, which are 95% confidence intervals (CI), paired t -test and p -value, Cohen’s d , and power analysis. Finally, these results are compared with default LSTM and different neural network methods. The proposed model outperforms these methods and other previous models. The key contribution of this model is the empirical demonstration that learning rate sensitivity is significantly higher in LSTM-based IDS compared to other classifiers, necessitating a structured calibration protocol.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- An adaptive contextual memory controller based long short-term memory (ACMC-LSTM) for intrusion detection in network trafficScientific Reports · 2026
- An Efficient DDoS Attack Detection Using Optimized Long Short-Term Optimization Based on Improved Brainstorm OptimizationIndian Journal of Science and Technology · 2026
- An enhanced spotted hyena optimizer-based LSTM framework for accurate DDoS attack detection in internet of things networksScientific Reports · 2026
- A Hybrid CNN-BiLSTM Attention-Based Framework for Intelligent Intrusion DetectionInternational Journal of Innovative Science and Research Technology (IJISRT) · 2026
- AI-Driven Security: Detecting Cyber Attacks in IoT Networks.Sensors (Basel, Switzerland) · 2026
- Self-learning model fusion for network anomaly detection: A hybrid CNN-LSTM-transformer frameworkPLoS ONE · 2025