Login | Register

A Novel Framework for Detecting Anomalies in Network Security using LLM and Deep Learning

Title:

A Novel Framework for Detecting Anomalies in Network Security using LLM and Deep Learning

Entezami, Mahmoudreza, Rahimi Harsini, Shahabeddin, Houshangi, David and Entezami, Zahra (2025) A Novel Framework for Detecting Anomalies in Network Security using LLM and Deep Learning. Journal of Electrical Systems, 21 (1s). pp. 294-302. ISSN 1112-5209

[thumbnail of JES_04_25_AS28401.pdf]
Preview
Text (application/pdf)
JES_04_25_AS28401.pdf - Published Version
Available under License Creative Commons Attribution No Derivatives.
321kB

Official URL: https://doi.org/10.52783/jes.8791

Abstract

In the rapidly evolving landscape of network security, the need for robust anomaly detection methods has become paramount. This study presents a novel framework that leverages Large Language Models (LLMs) in conjunction with deep learning methodologies to enhance the identification of anomalies in network security systems. The proposed framework integrates LLMs' advanced capabilities to process and analyze textual data associated with network traffic and events, enabling a nuanced understanding of typical versus atypical behaviors in real-time. The research employs a multi-faceted approach, combining quantitative and qualitative techniques to assess the efficacy of the proposed framework. We begin by collecting network traffic data from diverse sources, including intrusion detection systems (IDS), firewall logs, and other pertinent security feeds. The dataset was preprocessed to extract relevant features for analysis. For the model, we developed an ensemble of deep learning algorithms, including Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks, to capture spatial and temporal patterns in the data. The integration of LLMs involves employing techniques such as tokenization and embedding to convert network event logs into a format suitable for deep learning analysis. We also conducted experiments using labeled datasets containing both normal and anomalous behavior. Metrics such as accuracy, precision, recall, and F1-score were utilized to evaluate the model's performance. The results indicate that the proposed framework significantly improves the detection of network anomalies compared to traditional methods. The integration of LLMs enhanced the contextual understanding of network events, leading to better classification and a reduction in false positives. The ensemble of deep learning models achieved an accuracy rate of over 95%, with a notable increase in recall, highlighting the system's ability to identify anomalies that may have gone undetected by conventional methods. Moreover, the use of LLMs allowed for real-time analysis, which is crucial for effective network security management. The study demonstrates that leveraging advanced language models in conjunction with deep learning not only improves detection rates but also facilitates a deeper understanding of the underlying patterns associated with network anomalies.In conclusion, this research contributes a significant advancement in the field of network security, offering a viable solution that harnesses the power of modern AI techniques to combat increasingly sophisticated security threats.

Divisions:Concordia University > Gina Cody School of Engineering and Computer Science > Computer Science and Software Engineering
Concordia University > Gina Cody School of Engineering and Computer Science > Concordia Institute for Information Systems Engineering
Concordia University > Gina Cody School of Engineering and Computer Science > Electrical and Computer Engineering
Item Type:Article
Refereed:Yes
Authors:Entezami, Mahmoudreza and Rahimi Harsini, Shahabeddin and Houshangi, David and Entezami, Zahra
Journal or Publication:Journal of Electrical Systems
Date:2025
Digital Object Identifier (DOI):10.52783/jes.8791
Keywords:Detecting, Anomalies, Network Security, LLM , Deep Learning
ID Code:995569
Deposited By: Mahmoudreza Entezami
Deposited On:27 May 2025 14:21
Last Modified:10 Jun 2025 20:16
All items in Spectrum are protected by copyright, with all rights reserved. The use of items is governed by Spectrum's terms of access.

Repository Staff Only: item control page

Downloads per month over past year

Research related to the current document (at the CORE website)
- Research related to the current document (at the CORE website)
Back to top Back to top