DQLearnCapable: A Comprehensive Intrusion Detection and Prevention System for Network Traffic Analysis using Deep Q-Learning

Authors

  • Norjihan Abdul Ghani Department of Information Systems, Universiti Malaya, Malaysia https://orcid.org/0000-0002-0804-3916
  • Swee Nien Kuck Department of Information Systems, Universiti Malaya, Malaysia https://orcid.org/0009-0000-7870-097X
  • Fahmid Al Farid Center for Image and Vision Computing, Multimedia University, Malaysia
  • Rimuljo Hendradi Information Systems Department, Universitas Airlangga, Indonesia https://orcid.org/0000-0002-8679-0220
  • Mohd Shahrul Nizam Mohd Danuri Department of Information Systems, Universiti Malaya, Malaysia https://orcid.org/0000-0002-3734-4152
  • Muneer Ahmad Department of Computer Science, University of Roehampton London, UK
  • Jia Uddin AI and Big Data Department, Woosong University, Republic of Korea https://orcid.org/0000-0002-3403-4095
  • Hezerul Bin Abdul Karim Center for Image and Vision Computing, Multimedia University, Malaysia

DOI:

https://doi.org/10.47852/bonviewJCCE62027179

Keywords:

reinforcement learning, network security, intrusion detection, deep Q networks, heterogeneous dataset

Abstract

As technology advances, the variety of cyber threats becomes more apparent in the networking world, presenting new and dynamic attack challenges to network users. Therefore, there is a need for artificial intelligence-assisted or self-governing threat detection systems capable of adaptive learning. In recent years, reinforcement learning methods and traditional machine learning (ML) techniques have been proposed for automated threat detection systems. A new generation of threat detection methods with adaptive learning abilities, combining Q-learning from reinforcement learning with deep neural networks is introduced. This study proposes a Deep Q-learning (DQL) model that learns through a subset of the environment iteratively using a trial-and-error approach to optimize its decision-making. The proposed DQL model is benchmarked against conventional ML and ensemble methods, including logistic regression, stochastic gradient descent, and random forest (RF), using standard performance metrics and execution time analysis. Based on extensive comparisons using the VHS-22 dataset, RF and extra tree classifier achieve noticeably higher detection performance than DQL in terms of classification metrics, while DQL demonstrates substantially lower inference latency and competitive overall effectiveness, although DQL still outperforms other similar ML approaches. Experimental results show that while ensemble models achieve higher detection accuracy, the DQL-based approach shows a competitive performance with significantly lower inference latency, making it more suitable for fast-streaming and time-sensitive intrusion detection scenarios. These findings also highlight the complementary role of reinforcement learning–based intrusion detection systems in environments where adaptability and real-time responsiveness are critical.



Received: 12 August 2025 | Revised: 11 June 2026 | Accepted: 9 July 2026



Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.


Data Availability Statement

The data that support the findings of this study are openly available in Kaggle at https://www.kaggle.com/datasets/h2020simargl/vhs-22-network-traffic-dataset.



Author Contribution Statement

Norjihan Abdul Ghani: Conceptualization, Validation, Writing – review & editing, Supervision. Swee Nien Kuck: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Resources, Data curation, Writing – original draft, Visualization. Fahmid Al Farid: Writing – review & editing, Funding acquisition. Rimuljo Hendradi: Supervision, Project administration. Mohd Shahrul Nizam Mohd Danuri: Supervision, Project administration. Muneer Ahmad: Writing – review & editing, Funding acquisition. Jia Uddin: Writing – review & editing, Funding acquisition. Hezerul Bin Abdul Karim: Writing – review & editing, Funding acquisition.

Downloads

Published

2026-11-23

Issue

Section

Research Articles

How to Cite

Abdul Ghani, N., Kuck, S. N., Farid, F. A., Hendradi, R., Mohd Danuri, M. S. N., Ahmad, M., Uddin, J., & Abdul Karim, H. B. (2026). DQLearnCapable: A Comprehensive Intrusion Detection and Prevention System for Network Traffic Analysis using Deep Q-Learning. Journal of Computational and Cognitive Engineering. https://doi.org/10.47852/bonviewJCCE62027179

Funding data