Trending: TeCh ZoNe

Sunday, September 13, 2026

Detecting Zero-Day Cyberattacks with Deep Reinforcement Learning: An Open-Set Intrusion Detection Approach | Research Work

 Hi everyone, I am posting something on this blog after a decade. Good to see that my 11-year-old posts are still getting some views and is still somehow relevant even in the age of AI.... 

Sharing my research work here, as it is linked to cybersecurity and zero-day attacks. Thanks!


Abstract: 

Open-Set Intrusion Detection and Semantic Analysis of Zero-Day Network Attacks Using Deep Reinforcement Learning and Large Language Models

by Shreyash Tiwari

The increasing prevalence of zero-day cyberattacks presents a significant challenge for modern Intrusion Detection Systems (IDS), as previously unseen network traffic often falls outside the distribution of supervised training data. Traditional deep learning-based IDS solutions operate under a closed-set assumption, requiring all attack categories to be known during training.

Consequently, novel attacks may be misclassified as benign traffic or incorrectly assigned to known attack classes, reducing the effectiveness of network defense mechanisms. Although recent open-set recognition approaches improve the detection of unknown traffic, they typically provide limited insight into the behavioral characteristics of detected anomalies, requiring additional manual investigation by security analysts.

This thesis presents a unified framework for open-set intrusion detection and semantic analysis of unknown network traffic by combining deep learning, reinforcement learning, and large language models. The proposed framework employs a Convolutional Neural Network (CNN) to learn feature representations from known network traffic classes and a Deep Q-Network (DQN) that uses SoftMax-derived uncertainty metrics, including maximum probability, probability gap, and Shannon entropy, to dynamically distinguish known from unknown traffic without manually defined confidence thresholds. To improve interpretability, a selective Large Language Model (LLM) reasoning module is applied only to traffic identified as unknown by the CNN-DQN pipeline. Unlike existing approaches that focus solely on detection or apply computationally expensive LLM reasoning across all traffic, the proposed framework combines efficient open-set detection with targeted semantic interpretation of suspicious network behavior.

Experimental evaluation was conducted using the CICIDS-2017 and UNSW-NB15 intrusion detection datasets. The CNN-DQN framework achieved a binary F1-score of 97.83% for known-versus-unknown traffic separation while maintaining strong performance on known attack classes and effectively identifying previously unseen attacks. Cross-dataset experiments demonstrated the framework’s ability to generalize to traffic distributions not observed during training. The LLM-assisted reasoning stage generated behaviorally aligned explanations for 77.5% of DQN-flagged unknown traffic samples and provided meaningful behavioral insights for an additional 22.1% of samples, demonstrating its effectiveness in supporting contextual interpretation of suspicious network activity.

The proposed framework contributes to the development of adaptive, explainable, and deployable intrusion detection systems capable of addressing evolving cyber threats. By combining uncertainty-aware open-set detection with semantic reasoning, the system enables security analysts, network administrators, and cybersecurity researchers to not only identify previously unseen attacks but also understand their underlying behavioral characteristics. This capability can support faster incident response, improved threat intelligence generation, and enhanced protection of enterprise, cloud, Internet of Things (IoT), and critical infrastructure environments against emerging cyber threats.


DOI: https://doi.org/10.62791/20638 


Research Gate: https://www.researchgate.net/profile/Shreyash-Tiwari-6

All Rights Reserved TeCh ZoNe | Blogger Template by Bloggermint
back to top