In view of continuously evolving cyber-attacks, intrusion detection systems play a crucial role in modern network infrastructures. Traditional methods conventionally rely on rule-based systems, which cannot scale well with the increasing complexity and diversity in network threats. This paper presents the application of Long Short-Term Memory and Bidirectional Long Short-Term Memory on multiclass intrusion detection using the CIC IDS 2017 dataset containing benign and malicious network traffic data. A combined preprocessing strategy of random undersampling and SMOTE was used to address the challenge of class imbalance. Both LSTM and Bi-LSTM architectures were studied for accurate classification of network behaviors. The various metrics adopted for the performance evaluation included accuracy, precision, recall, F1-score, and confusion matrix analysis. It has shown that the Bi-LSTM network is better compared with the LSTM model due to considering the contextual information in both directions, which is pretty helpful for those attack types with complicated temporal relationships. This leads to the thought that deep learning methods may boost the robustness and accuracy of an IDS significantly and, in this respect, one shall investigate the technique of Bi-LSTM.
| Primary Language | English |
|---|---|
| Subjects | Computer System Software |
| Journal Section | Research Article |
| Authors | |
| Publication Date | July 1, 2025 |
| Submission Date | March 15, 2025 |
| Acceptance Date | April 16, 2025 |
| Published in Issue | Year 2025 Volume: 9 Issue: 3 |