Previous Article in Journal
Testing of a Safety Leadership Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop Feedback

by
Clinton Manuel de Nascimento
and
Jin Hou
*
IPSOM Laboratory, School of Information Science and Technology, Southwest Jiaotong University, Chengdu 611756, China
*
Author to whom correspondence should be addressed.
Safety 2025, 11(4), 120; https://doi.org/10.3390/safety11040120 (registering DOI)
Submission received: 4 October 2025 / Revised: 23 November 2025 / Accepted: 3 December 2025 / Published: 5 December 2025

Abstract

Intrusion detection systems (IDSs) must operate under severe class imbalance, evolving attack behavior, and the need for calibrated decisions that integrate smoothly with security operations. We propose a human-in-the-loop IDS that combines a convolutional neural network and a long short-term memory network (CNN–LSTM) classifier with a variational autoencoder (VAE)-seeded conditional Wasserstein generative adversarial network with gradient penalty (cWGAN-GP) augmentation and entropy-based abstention. Minority classes are reinforced offline via conditional generative adversarial (GAN) sampling, whereas high-entropy predictions are escalated for analysts and are incorporated into a curated retraining set. On CIC-IDS2017, the resulting framework delivered well-calibrated binary performance (ACC = 98.0%, DR = 96.6%, precision = 92.1%, F1 = 94.3%; baseline ECE ≈ 0.04, Brier ≈ 0.11) and substantially improved minority recall (e.g., Infiltration from 0% to >80%, Web Attack–XSS +25 pp, and DoS Slowhttptest +15 pp, for an overall +11 pp macro-recall gain). The deployed model remained lightweight (~42 MB, <10 ms per batch; ≈32 k flows/s on RTX-3050 Ti), and only approximately 1% of the flows were routed for human review. Extensive evaluation, including ROC/PR sweeps, reliability diagrams, cross-domain tests on CIC-IoT2023, and FGSM/PGD adversarial stress, highlights both the strengths and remaining limitations, notably residual errors on rare web attacks and limited IoT transfer. Overall, the framework provides a practical, calibrated, and extensible machine learning (ML) tier for modern IDS deployment and motivates future research on domain alignment and adversarial defense.
Keywords: cybersecurity for critical infrastructure; IDS; safety-critical networks; deep learning models; generative data augmentation; human-in-the-loop mechanisms; rare attack detection cybersecurity for critical infrastructure; IDS; safety-critical networks; deep learning models; generative data augmentation; human-in-the-loop mechanisms; rare attack detection
Graphical Abstract

Share and Cite

MDPI and ACS Style

de Nascimento, C.M.; Hou, J. Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop Feedback. Safety 2025, 11, 120. https://doi.org/10.3390/safety11040120

AMA Style

de Nascimento CM, Hou J. Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop Feedback. Safety. 2025; 11(4):120. https://doi.org/10.3390/safety11040120

Chicago/Turabian Style

de Nascimento, Clinton Manuel, and Jin Hou. 2025. "Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop Feedback" Safety 11, no. 4: 120. https://doi.org/10.3390/safety11040120

APA Style

de Nascimento, C. M., & Hou, J. (2025). Uncertainty-Aware Adaptive Intrusion Detection Using Hybrid CNN-LSTM with cWGAN-GP Augmentation and Human-in-the-Loop Feedback. Safety, 11(4), 120. https://doi.org/10.3390/safety11040120

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop