EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Transformer–DDQN-Based Explainable and Active Intrusion Detection Architecture for Network Traffic Analysis

Ayşe Okutan Kara, Aytuğ Boyacı

Applied Sciences · 11.06.2026 · 16 (12) · 5912

DOI: 10.3390/app16125912 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 11.06.2026. Verfasst von Ayşe Okutan Kara und 1 weiteren Autor:innen. Die Arbeit nennt 48 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This study proposes a novel intrusion detection and response architecture that formulates network traffic analysis as a sequential decision-making problem rather than a static classification task. The architecture integrates a Transformer Encoder for temporal feature extraction with a Dueling Double Deep Q-Network (DDQN) to enable autonomous and risk-aware security decisions. Network flows are modeled within a Markov Decision Process, where the agent learns an optimal policy over a hierarchical action space consisting of IGNORE, LOG, ESCALATE, and BLOCK actions. To evaluate generalization capability, a transfer learning-based cross-domain adaptation strategy was employed. The CICIDS2018 and CICIoT2023 datasets were re-partitioned using a stratified 70/15/15 train/validation/test split. The proposed model achieved high detection performance on these datasets with F1-scores of 99.48% and 99.13%, respectively. After transfer learning to the AWID3 dataset, the model preserved strong generalization capability with F1-scores of 96.76% and 96.61%, demonstrating its robustness across wired, IoT, and wireless network environments. A risk-aware reward function is designed to balance detection accuracy and operational cost, while Integrated Gradients-based explainability is incorporated to analyze decision behavior. Experimental results further show that the proposed Transformer–DDQN framework achieves more stable learning, lower optimization loss, and more consistent action policies compared to alternative reinforcement learning-based approaches. The model operates with high computational efficiency while maintaining real-time processing capability in high-throughput network environments.

Zitieren

APA

Kara, A. O., & Boyacı, A. (2026). Transformer–DDQN-Based Explainable and Active Intrusion Detection Architecture for Network Traffic Analysis. Applied Sciences, 16(12), 5912. https://doi.org/10.3390/app16125912

Vancouver

Kara AO, Boyacı A. Transformer–DDQN-Based Explainable and Active Intrusion Detection Architecture for Network Traffic Analysis. Applied Sciences. 2026;16(12):5912. doi:10.3390/app16125912

BibTeX
@article{Kara2026,
  author = {Kara, Ayşe Okutan and Boyacı, Aytuğ},
  title = {Transformer–DDQN-Based Explainable and Active Intrusion Detection Architecture for Network Traffic Analysis},
  journal = {Applied Sciences},
  year = {2026},
  volume = {16},
  number = {12},
  pages = {5912},
  doi = {10.3390/app16125912}
}
Kostenlos starten →