Cognitive Detection at Big-Data Scale: A CNN-LSTM-DQN Framework with Prioritized Experience Replay for Cross-Attack-Family Generalization and Multi-Seed Initialization Sensitivity Analysis
Open Access
- 16 July 2026
- journal article
- research article
- Published by MDPI AG in Big Data and Cognitive Computing
- Vol. 10 (7) , 239
Abstract
Real-world IoT network security generates traffic at big-data scale with extreme class imbalance, temporal non-stationarity, and continuously evolving attack strategies that overwhelm static supervised classifiers. This paper presents a cognitive computing framework for network intrusion detection: a CNN–LSTM–DQN architecture with Prioritized Experience Replay (PER) evaluated on a 5,000,000-flow naturalistic sample of the TON_IoT Processed_Network dataset (4,000,000 training/1,000,000 temporally held-out test flows; 94.5% attack ratio) under a strict temporal split. The cognitive agent optimizes detection decisions using an Alerts per Million Flows (ARMF)-aware reward function that encodes both alert-fatigue cost and missed-attack penalty. We conduct a cross-attack-family generalization study: the methodology—architecture template, reward design, and hyperparameter calibration—is inherited from a framework previously validated on CSE-CIC-IDS2018, re-instantiated and retrained on the structurally different TON_IoT environment, and compared against the previously published benchmark. Initialization sensitivity is characterized across five independent random seeds using paired Wilcoxon signed-rank and t-tests. Across the five seeds, the proposed X2 model attains recall 0.833 ± 0.306 and F1 0.874 ± 0.241 (mean ± sample SD), versus the supervised X1 baseline at 0.858 ± 0.178 and 0.912 ± 0.116; the best-performing seed (42) achieves 97.52% accuracy, 98.02% attack recall, 99.46% precision, and 98.73% F1-score on 1,000,000 held-out XSS flows—an attack family entirely absent from training—with temporal stability variances of 4.63 × 10−7 (recall) and 1.38 × 10−7 (F1). The X2 advantage observed among the four stable seeds is not statistically demonstrated at n = 5 (statistical power ≈ 5.1%); the initialization-sensitivity finding itself, including one degenerate alert-suppression seed, is reported as a primary contribution. A formal, exactly additive ARMF decomposition distinguishes the detected-attack (structural) component (99.46%) from the model-induced false-positive component (0.54%), and we report a multi-seed, ARMF-aware cognitive IDS evaluation on naturalistic TON_IoT traffic under an unseen-attack-family test condition that, to the best of our knowledge, has not been reported in the surveyed RL-based NIDS literature.Keywords
Funding Information
- Universitas Indonesia (PKS-291/UN2.RST/HKP.05.00/2025)
This publication has 35 references indexed in Scilit:
- Deep Q-learning intrusion detection system (DQ-IDS): A novel reinforcement learning approach for adaptive and self-learning cybersecurityICT Express, 2025
- A hybrid CNN-LSTM approach for intelligent cyber intrusion detection systemComputers & Security, 2024
- AI for AI-based intrusion detection as a service: Reinforcement learning to configure models, tasks, and capacitiesJournal of Network and Computer Applications, 2024
- An active learning framework using deep Q-network for zero-day attack detectionComputers & Security, 2024
- A hybrid CNN+LSTM-based intrusion detection system for industrial IoT networksEngineering Science and Technology, an International Journal, 2023
- Big data analytics and machine learning: A retrospective overview and bibliometric analysisExpert Systems with Applications, 2021
- Towards a Standard Feature Set for Network Intrusion Detection System DatasetsMobile Networks and Applications, 2021
- A new distributed architecture for evaluating AI-based security systems at the edge: Network TON_IoT datasetsSustainable Cities and Society, 2021
- Network intrusion detection system: A systematic study of machine learning and deep learning approachesTransactions on Emerging Telecommunications Technologies, 2020
- Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative studyJournal of Information Security and Applications, 2020